BumpSequenceOperationBuilder
in package
Builder for creating BumpSequence operations.
This builder implements the builder pattern to construct BumpSequenceOperation instances with a fluent interface. BumpSequence operations bump the sequence number of the source account to a specified value, allowing the account to invalidate any transactions with a lower sequence number.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new BumpSequence operation builder.
- build() : BumpSequenceOperation
- Builds the BumpSequence operation.
- setMuxedSourceAccount() : $this
- Sets the muxed source account for this operation.
- setSourceAccount() : $this
- Sets the source account for this operation.
Methods
__construct()
Creates a new BumpSequence operation builder.
public
__construct(BigInteger $bumpTo) : mixed
Parameters
- $bumpTo : BigInteger
-
The desired value for the source account's sequence number
build()
Builds the BumpSequence operation.
public
build() : BumpSequenceOperation
Return values
BumpSequenceOperation —The constructed operation
setMuxedSourceAccount()
Sets the muxed source account for this operation.
public
setMuxedSourceAccount(MuxedAccount $sourceAccount) : $this
Parameters
- $sourceAccount : MuxedAccount
-
The muxed account to use as source
Return values
$this —Returns the builder instance for method chaining
setSourceAccount()
Sets the source account for this operation.
public
setSourceAccount(string $accountId) : $this
Parameters
- $accountId : string
-
The Stellar account ID (G...)
Return values
$this —Returns the builder instance for method chaining