BumpSequenceOperation

public class BumpSequenceOperation : Operation, @unchecked Sendable

Represents a Stellar bump sequence operation which increases an account’s sequence number.

  • The new sequence number to bump to.

    Declaration

    Swift

    public let bumpTo: Int64
  • Creates a new BumpSequenceOperation object.

    Declaration

    Swift

    public init(bumpTo: Int64, sourceAccountId: String?)

    Parameters

    bumpTo

    Value to bump sequence.

    sourceAccountId

    (optional) source account Id. must start with “M” or “G” and must be valid, otherwise it will be ignored.

  • Creates a new BumpSequenceOperation object from the given SetOptionsOperationXDR object.

    Declaration

    Swift

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

    Parameters

    fromXDR

    the SetOptionsOperationXDR object to be used to create a new SetOptionsOperation object.

    sourceAccountId

    (optional) source account Id, must be valid, otherwise it will be ignored.