Protected _chainProtected _contractProtected _entryProtected _initiatorProtected _invocationPrivate _new_Protected _pricingPrivate _public_Protected _runtimeProtected _schedulingProtected _timestampProtected _ttlProtected _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
Builds and returns the Change Bid Public Key transaction for Casper 2.0+.
A complete Transaction object ready to be signed and submitted
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 public key for the validator.
The builder instance for method chaining
The validator's new 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 previous (current) public key of the validator.
The builder instance for method chaining
The validator's current public key
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)
Generated using TypeDoc
Builder for creating Native Change Bid Public Key transactions. Allows validators to change their public key while maintaining their bid.
Example