ExtendFootprintTTLOperation

public class ExtendFootprintTTLOperation : Operation, @unchecked Sendable

Extends the time-to-live of contract state entries in Soroban by the specified number of ledgers.

  • The number of ledgers past the LCL by which to extend the validity of the ledger keys in this transaction.

    Declaration

    Swift

    public let extendTo: UInt32
  • Creates a new extend footprint TTL operation to extend contract state entry validity.

    Declaration

    Swift

    public init(ledgersToExpire: UInt32, sourceAccountId: String? = nil)
  • Creates an extend footprint TTL operation from XDR representation.

    Declaration

    Swift

    public init(fromXDR: ExtendFootprintTTLOpXDR, sourceAccountId: String?)