public class TransferWithMemoTransaction extends AccountTransaction
Modifier and Type | Class and Description |
---|---|
static class |
TransferWithMemoTransaction.TransferWithMemoBlockItemBuilder |
static class |
TransferWithMemoTransaction.TransferWithMemoTransactionBuilder |
AccountTransaction.AccountTransactionBlockItemBuilder
DEFAULT_NETWORK_ID, VERSION, VERSION_SIZE
Modifier and Type | Method and Description |
---|---|
static TransferWithMemoTransaction.TransferWithMemoTransactionBuilder |
builder() |
static TransferWithMemoTransaction.TransferWithMemoBlockItemBuilder |
builderBlockItem() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static TransferWithMemoTransaction |
from(AccountAddress sender,
AccountAddress receiver,
CCDAmount amount,
Memo memo,
Nonce nonce,
Expiry expiry,
TransactionSigner signer) |
static TransferWithMemoTransaction |
from(TransactionHeader header,
TransactionSignature signature,
TransferWithMemoPayload payload)
Creates a new instance of
TransferWithMemoTransaction . |
int |
hashCode() |
String |
toString() |
builderAccountTransactionBlockItem, fromBytes, getExpiry, getHeader, getNonce, getPayload, getSender, getSignature
fromVersionedBytes, getBlockItemType, getBytes
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHash, getNetworkId, getVersionedBytes
public static TransferWithMemoTransaction from(AccountAddress sender, AccountAddress receiver, CCDAmount amount, Memo memo, Nonce nonce, Expiry expiry, TransactionSigner signer)
amount
- CCDAmount
being transferred.receiver
- Receiver AccountAddress
of the Encrypted Amountmemo
- Memo
.sender
- Sender (AccountAddress
) of this Transaction.nonce
- Account Nonce
Of the Sender Account.expiry
- Expiry
of this transaction.signer
- Signer
of this transaction.TransactionCreationException
- On failure to create the Transaction from input params.
Ex when any of the input param is NULL.public static TransferWithMemoTransaction from(TransactionHeader header, TransactionSignature signature, TransferWithMemoPayload payload)
TransferWithMemoTransaction
.
Using TransactionHeader
, TransactionSignature
and Payload TransferWithMemoPayload
.header
- TransactionHeader
.signature
- TransactionSignature
.payload
- TransferWithMemoPayload
Payload for this transaction.TransactionCreationException
- On failure to create the Transaction from input params.
Ex when any of the input param is NULL.public static TransferWithMemoTransaction.TransferWithMemoTransactionBuilder builder()
public static TransferWithMemoTransaction.TransferWithMemoBlockItemBuilder builderBlockItem()
public boolean equals(Object o)
equals
in class AccountTransaction
protected boolean canEqual(Object other)
canEqual
in class AccountTransaction
public int hashCode()
hashCode
in class AccountTransaction
public String toString()
toString
in class AccountTransaction
Copyright © 2025. All rights reserved.