Class NativeChangeBidPublicKeyBuilder

Builder for creating Native Change Bid Public Key transactions. Allows validators to change their public key while maintaining their bid.

Example

const transaction = new NativeChangeBidPublicKeyBuilder()
.from(validatorPublicKey)
.previousPublicKey(oldPublicKey)
.newPublicKey(newPublicKey)
.chainName('casper')
.payment(2_500_000_000)
.build();

Hierarchy

Constructors

Properties

_chainName: string
_contractHash: string
_initiatorAddr: InitiatorAddr
_invocationTarget: TransactionTarget
_new_public_key: CLValue
_pricingMode: PricingMode
_public_key: CLValue
_runtimeArgs: Args
_scheduling: TransactionScheduling = ...
_timestamp: Timestamp = ...
_ttl: Duration = ...

Methods

  • Protected

    Creates a default deploy header with the configured transaction settings.

    Returns

    A deploy header with account, chain name, timestamp, TTL, and gas price

    Returns DeployHeader

Generated using TypeDoc