Usage
Parameters
encryptKey(string): PIN used to decrypt the private keywallet(WalletData): Object with publicKey and encryptedPrivateKeyamount(string | number): Transfer amounttoken(ChainToken): Token identifier. UseChainToken.USDCrecipient(string): Destination wallet addressdecimals(number, optional): Token decimals (default: 18)
Return Value
Returns a Promise that resolves to a transaction hash string.Example Implementation
Always verify recipient addresses. Transfers on StarkNet are irreversible.
Related Methods
- getWallet - Get wallet information before transfers
- callAnyContract - For custom contract interactions
