public class CredentialDeploymentTransaction extends BlockItem
CredentialDeploymentTransaction
used to deploy new account credentials on chain.
This type of transaction is not paid by the sender and bakers are compensated by the protocol.Modifier and Type | Class and Description |
---|---|
static class |
CredentialDeploymentTransaction.CredentialDeploymentTransactionBuilder |
DEFAULT_NETWORK_ID, VERSION, VERSION_SIZE
Modifier and Type | Method and Description |
---|---|
static CredentialDeploymentTransaction.CredentialDeploymentTransactionBuilder |
builderBlockItem() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static CredentialDeploymentTransaction |
from(Expiry expiry,
byte[] payloadBytes)
Creates an instance of
CredentialDeploymentTransaction . |
static CredentialDeploymentTransaction |
from(UInt64 expiry,
byte[] payloadBytes)
Creates an instance of
CredentialDeploymentTransaction . |
Expiry |
getExpiry()
Indicates when the transaction should expire.
|
byte[] |
getPayloadBytes()
Serialized payload byte array of this transaction.
|
int |
hashCode() |
String |
toString() |
fromVersionedBytes, getBlockItemType, getBytes
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getHash, getNetworkId, getVersionedBytes
public static CredentialDeploymentTransaction from(UInt64 expiry, byte[] payloadBytes)
CredentialDeploymentTransaction
.expiry
- Indicates when this transaction should expire.payloadBytes
- Payload serialized as byte array.CredentialDeploymentTransaction
.public static CredentialDeploymentTransaction from(Expiry expiry, byte[] payloadBytes)
CredentialDeploymentTransaction
.expiry
- Indicates when this transaction should expire.payloadBytes
- Payload serialized as byte array.CredentialDeploymentTransaction
.public static CredentialDeploymentTransaction.CredentialDeploymentTransactionBuilder builderBlockItem()
public Expiry getExpiry()
public byte[] getPayloadBytes()
Copyright © 2025. All rights reserved.