Package money.zumo.zumokit
Class Wallet.CppProxy
- java.lang.Object
-
- money.zumo.zumokit.Wallet.CppProxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface money.zumo.zumokit.Wallet
Wallet.CppProxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
void
composeEthTransaction(java.lang.String fromAccountId, java.math.BigDecimal gasPrice, int gasLimit, java.lang.String destination, java.math.BigDecimal amount, java.lang.String data, java.lang.Integer nonce, boolean sendMax, ComposeTransactionCallback callback)
Compose Ethereum transaction.void
composeTransaction(java.lang.String fromAccountId, java.lang.String changeAccountId, java.lang.String destination, java.math.BigDecimal amount, java.math.BigDecimal feeRate, boolean sendMax, ComposeTransactionCallback callback)
Compose BTC or BSV transaction.
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
composeTransaction
public void composeTransaction(java.lang.String fromAccountId, java.lang.String changeAccountId, java.lang.String destination, java.math.BigDecimal amount, java.math.BigDecimal feeRate, boolean sendMax, ComposeTransactionCallback callback)
Description copied from interface:Wallet
Compose BTC or BSV transaction. Refer to Send Transactions guide for usage details.On success
ComposedTransaction
is returned via callback.- Specified by:
composeTransaction
in interfaceWallet
- Parameters:
fromAccountId
-Account
identifierchangeAccountId
- changeAccount
identifier, which can be the same as fromAccountIddestination
- destination wallet addressamount
- amount in BTC or BSVfeeRate
- fee rate in satoshis/bytesendMax
- send maximum possible funds to destinationcallback
- an interface to receive the result or error
-
composeEthTransaction
public void composeEthTransaction(java.lang.String fromAccountId, java.math.BigDecimal gasPrice, int gasLimit, java.lang.String destination, java.math.BigDecimal amount, java.lang.String data, java.lang.Integer nonce, boolean sendMax, ComposeTransactionCallback callback)
Description copied from interface:Wallet
Compose Ethereum transaction. Refer to Send Transactions guide for usage details.On success
ComposedTransaction
is returned via callback.- Specified by:
composeEthTransaction
in interfaceWallet
- Parameters:
fromAccountId
-Account
identifiergasPrice
- gas price in gweigasLimit
- gas limitdestination
- destination wallet addressamount
- amount in ETHdata
- data in string format or nullnonce
- next transaction nonce or nullsendMax
- send maximum possible funds to destinationcallback
- an interface to receive the result or error
-
-