ExtendFootprintTTLOperationBuilder
in package
Builder for creating ExtendFootprintTTL operations.
This builder implements the builder pattern to construct ExtendFootprintTTLOperation instances with a fluent interface. This operation extends the time-to-live (TTL) of Soroban contract storage entries, preventing them from being archived.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new ExtendFootprintTTL operation builder.
- build() : ExtendFootprintTTLOperation
- Builds the ExtendFootprintTTL 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 ExtendFootprintTTL operation builder.
public
__construct(int $extendTo) : mixed
Parameters
- $extendTo : int
-
The number of ledgers to extend the TTL
build()
Builds the ExtendFootprintTTL operation.
public
build() : ExtendFootprintTTLOperation
Return values
ExtendFootprintTTLOperation —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