Method Signature
Parameters
string
required
The private key string (with or without
0x prefix)Returns
string
The wallet’s public address
string
The wallet’s private key
Examples
- TypeScript
- JavaScript
From Environment Variable
Error Handling
Related Methods
Create Wallet
Create new random wallet
From Mnemonic
Import from seed phrase