Private _amountProtected _chainProtected _contractProtected _entryProtected _initiatorProtected _invocationPrivate _newProtected _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 redelegate in motes.
The builder instance for method chaining
The redelegation amount
Builds and returns the Redelegate 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 Redelegate 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 new validator's public key (the validator to redelegate to).
The builder instance for method chaining
The new validator's public key
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 current validator's public key (the validator to redelegate from).
The builder instance for method chaining
The current validator's public key
Generated using TypeDoc
Builder for creating Native Redelegate transactions. Allows accounts to move their delegated stake from one validator to another without waiting for the undelegation period.
Example