EndSponsoringFutureReservesOperation

public class EndSponsoringFutureReservesOperation : Operation, @unchecked Sendable

Terminates the current is-sponsoring-future-reserves-for relationship in which the source account is sponsored. See Stellar developer docs.

  • Creates a new EndSponsoringFutureReservesOperation object.

    Declaration

    Swift

    public init(sponsoredAccountId: String? = nil)

    Parameters

    sponsoredAccountId

    Account that will have it’s reserves sponsored.

  • Creates a new EndSponsoringFutureReservesOperation object from the given EndSponsoringFutureReservesOpXDR object.

    Declaration

    Swift

    public init(fromXDR: BeginSponsoringFutureReservesOpXDR, sponsoredAccountId: String? = nil) throws

    Parameters

    fromXDR

    the EndSponsoringFutureReservesOpXDR object to be used to create a new EndSponsoringFutureReservesOperation object.

    sponsoredAccountId

    the account id of the sponsored account (source account of the operation)