Private _amountPrivate _amountProtected _chainProtected _contractProtected _entryPrivate Optional _idProtected _initiatorProtected _invocationProtected _pricingPrivate _publicProtected _runtimeProtected _schedulingPrivate _targetProtected _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
Sets the amount to transfer in motes.
The builder instance for method chaining
The transfer amount (1 CSPR = 1,000,000,000 motes)
Builds and returns the Native Transfer transaction for Casper 2.0+.
A complete Transaction object ready to be signed and submitted
Builds and returns the Native Transfer transaction for Casper 1.5. Uses the legacy deploy format for backward compatibility.
A Transaction object compatible with Casper 1.5
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 transfer ID for tracking purposes.
The builder instance for method chaining
A unique identifier for this transfer
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 target public key for the transfer.
The builder instance for method chaining
The recipient's public key
Sets the target account hash for the transfer.
The builder instance for method chaining
The recipient's account hash
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 Transfer transactions. Enables transferring CSPR tokens from one account to another on the Casper network.
Example