public final class TransferToPublic extends Payload
| Modifier and Type | Class and Description |
|---|---|
static class |
TransferToPublic.TransferToPublicBuilder |
| Constructor and Description |
|---|
TransferToPublic(@NonNull EncryptedAmount remainingAmount,
@NonNull CCDAmount transferAmount,
@NonNull UInt64 index,
@NonNull SecToPubAmountTransferProof proof) |
| Modifier and Type | Method and Description |
|---|---|
static TransferToPublic.TransferToPublicBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static TransferToPublic |
from(@NonNull CryptographicParameters cryptographicParameters,
@NonNull AccountEncryptedAmount accountEncryptedAmount,
@NonNull ElgamalSecretKey accountSecretKey,
@NonNull CCDAmount amountToMakePublic) |
UInt64 |
getIndex()
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.
|
protected byte[] |
getPayloadBytes()
This must return the payload only.
|
SecToPubAmountTransferProof |
getProof()
A collection of all the proofs.
|
EncryptedAmount |
getRemainingAmount()
Encryption of the remaining amount.
|
CCDAmount |
getTransferAmount()
Amount that will be sent.
|
int |
hashCode() |
String |
toString() |
public TransferToPublic(@NonNull
@NonNull EncryptedAmount remainingAmount,
@NonNull
@NonNull CCDAmount transferAmount,
@NonNull
@NonNull UInt64 index,
@NonNull
@NonNull SecToPubAmountTransferProof proof)
protected byte[] getPayloadBytes()
PayloadPayload.getBytes()getPayloadBytes in class Payloadpublic static TransferToPublic from(@NonNull @NonNull CryptographicParameters cryptographicParameters, @NonNull @NonNull AccountEncryptedAmount accountEncryptedAmount, @NonNull @NonNull ElgamalSecretKey accountSecretKey, @NonNull @NonNull CCDAmount amountToMakePublic)
public static TransferToPublic.TransferToPublicBuilder builder()
public EncryptedAmount getRemainingAmount()
public CCDAmount getTransferAmount()
public UInt64 getIndex()
public SecToPubAmountTransferProof getProof()
Copyright © 2026. All rights reserved.