TransactionClient
Transaction client
Author
Marcus Cvjeticanin
Since
0.3.0
Parameters
walletApi
The wallet API to connect to.
Functions
Link copied to clipboard
suspend fun sendTransaction(sendTransactionRequest: SendTransactionRequest): SendTransactionResponse?
Send transaction.
Link copied to clipboard
suspend fun sendTransactionAdvanced(sendTransactionAdvancedRequest: SendTransactionAdvancedRequest): SendTransactionResponse?
Send advanced transaction.
Link copied to clipboard
suspend fun sendTransactionFusion(sendTransactionFusionRequest: SendTransactionFusionRequest): SendTransactionResponse?
Send fusion transaction.
Link copied to clipboard
suspend fun sendTransactionFusionAdvanced(sendTransactionFusionAdvancedRequest: SendTransactionFusionAdvancedRequest): SendTransactionResponse?
Send advanced fusion transaction.
Link copied to clipboard
Get transaction detail with a given hash.
Link copied to clipboard
Get all transactions.
Link copied to clipboard
suspend fun transactionsAddressStartingEndingBlock(address: String, startBlock: Long, endBlock: Long): TransactionsUnconfirmedWithAddressResponse?
Get all transactions starting at the given block and ending at the given block belonging to the given address.
Link copied to clipboard
Get all unconfirmed transactions.
Link copied to clipboard
suspend fun transactionsUnconfirmedWithAddress(address: String): TransactionsUnconfirmedWithAddressResponse?
Get all unconfirmed transactions with a given address.