Private _amountProtected _chainProtected _contractProtected _entryProtected _initiatorProtected _invocationProtected _pricingProtected _runtimeProtected _schedulingProtected _timestampProtected _ttlPrivate _validatorProtected _getProtected
Creates a default deploy header with the configured transaction settings.
A deploy header with account, chain name, timestamp, TTL, and gas price
Protected _getProtected
Creates a standard payment executable deploy item.
An executable deploy item configured for standard payment
If payment amount is not specified
Sets the amount to undelegate in motes.
The builder instance for method chaining
The undelegation amount
Builds and returns the Undelegate transaction for Casper 2.0+.
A complete Transaction object ready to be signed and submitted
If initiator address is not specified
Builds and returns the Undelegate transaction for Casper 1.5. Uses the auction manager contract for backward compatibility.
A Transaction object compatible with Casper 1.5
If initiator address or contract hash is not specified
Sets the chain name for the transaction.
The builder instance for method chaining
The name of the Casper network chain (e.g., 'casper-test', 'casper')
Sets the contract hash for the transaction.
The builder instance for method chaining
The contract hash in hexadecimal format
Sets the initiator address using a public key.
The builder instance for method chaining
The public key of the transaction initiator
Sets the initiator address using an account hash.
The builder instance for method chaining
The account hash of the transaction initiator
Sets the payment amount for the transaction using a limited payment mode.
The builder instance for method chaining
The payment amount in motes
Gas price tolerance multiplier (default: 1)
Sets the timestamp for the transaction.
The builder instance for method chaining
The transaction timestamp
Sets the time-to-live for the transaction.
The builder instance for method chaining
Time-to-live in milliseconds (default: 1800000ms = 30 minutes)
Sets the validator's public key to undelegate from.
The builder instance for method chaining
The validator's public key
Generated using TypeDoc
Builder for creating Native Undelegate transactions. Allows accounts to undelegate their staked CSPR tokens from a validator.
Example