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()voidcomposeEthTransaction(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.voidcomposeTransaction(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:WalletCompose BTC or BSV transaction. Refer to Send Transactions guide for usage details.On success
ComposedTransactionis returned via callback.- Specified by:
composeTransactionin interfaceWallet- Parameters:
fromAccountId-AccountidentifierchangeAccountId- changeAccountidentifier, 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:WalletCompose Ethereum transaction. Refer to Send Transactions guide for usage details.On success
ComposedTransactionis returned via callback.- Specified by:
composeEthTransactionin interfaceWallet- Parameters:
fromAccountId-AccountidentifiergasPrice- 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
-
-