@ApiAudience.Public @ApiStability.Unstable public interface TransactionOperation
Modifier and Type | Method and Description |
---|---|
TxHash |
commit(Transaction transaction)
Commit transaction.
|
Transaction |
getTransaction(TxHash txHash)
Get transaction.
|
TxHash |
send(AccountAddress sender,
AccountAddress recipient,
Aer amount)
Send transaction.
|
Transaction getTransaction(TxHash txHash)
txHash
- transaction's hashTxHash commit(Transaction transaction)
transaction
- transaction to commitTxHash send(AccountAddress sender, AccountAddress recipient, Aer amount)
sender
is unlocked.sender
- aergo senderrecipient
- aergo recipientamount
- aergo amount