public class TransferToPublicTransaction extends AccountTransaction
Modifier and Type | Class and Description |
---|---|
static class |
TransferToPublicTransaction.TransferToPublicTransactionBuilder |
AccountTransaction.AccountTransactionBlockItemBuilder
DEFAULT_NETWORK_ID, VERSION, VERSION_SIZE
Modifier and Type | Method and Description |
---|---|
static TransferToPublicTransaction.TransferToPublicTransactionBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static TransferToPublicTransaction |
from(EncryptedAmount remainingAmount,
CCDAmount transferAmount,
UInt64 index,
SecToPubAmountTransferProof proof,
AccountAddress sender,
Nonce nonce,
Expiry expiry,
TransactionSigner signer) |
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 TransferToPublicTransaction from(EncryptedAmount remainingAmount, CCDAmount transferAmount, UInt64 index, SecToPubAmountTransferProof proof, AccountAddress sender, Nonce nonce, Expiry expiry, TransactionSigner signer)
remainingAmount
- EncryptedAmount
which remains after input amount is made public / decrypted.transferAmount
- CCDAmount
which is being made public / decrypted,index
- The index such that the encrypted amount used in the transfer represents
the aggregate of all encrypted amounts with indices < `index` existing
on the account at the time. New encrypted amounts can only add new indices.proof
- A collection of all the proofs.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 TransferToPublicTransaction.TransferToPublicTransactionBuilder builder()
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.