Wallet
class Wallet
Class containing send transaction methods.
Obtain an instance of this class by creating or unlocking user wallet.
Methods
sendBtcTransaction
sendBtcTransaction(accountId: String, changeAccountId: String, to: String, value: String, feeRate: String): Promise<Transaction>
Create and submit Bitcoin transaction to blockchain. For usage details see Send Transactions.
sendEthTransaction
sendEthTransaction(accountId: String, gasPrice: String, gasLimit: String, to: String, value: String, data: String | null, nonce: String | null): Promise<Transaction>
Create and submit Ethereum transaction to blockchain. For usage details see Send Transactions.