Wallet
public interface Wallet
Class containing send transaction methods.
Obtain an instance of this class by creating, unlocking or recovering user wallet.
Public Method Summary
Type | Method |
---|---|
void | sendBtcTransaction(String accountId, String changeAccountId, String to, String value, String feeRate, SendTransactionCallback callback) Create and submit Bitcoin transaction to blockchain. |
void | sendEthTransaction(String accountId, String gasPrice, String gasLimit, String to, String value, String data, Long nonce, SendTransactionCallback callback) Create and submit Ethereum transaction to blockchain. |
Public Methods
sendBtcTransaction
void sendBtcTransaction(String accountId, String changeAccountId, String to, String value, String feeRate, SendTransactionCallback callback)
Create and submit Bitcoin transaction to blockchain. For usage details see Send Transactions.
sendEthTransaction
void sendEthTransaction(String accountId, String gasPrice, String gasLimit, String to, String value, String data, Long nonce, SendTransactionCallback callback)
Create and submit Ethereum transaction to blockchain. For usage details see Send Transactions.