BeginSponsoringFutureReservesOperation
public class BeginSponsoringFutureReservesOperation : Operation, @unchecked Sendable
Establishes the is-sponsoring-future-reserves-for relationship between the source account and sponsoredID. See Stellar developer docs.
-
The account that will have its reserves sponsored.
Declaration
Swift
public let sponsoredId: String -
Creates a new BeginSponsoringFutureReservesOperation object.
Declaration
Swift
public init(sponsoredAccountId: String, sponsoringAccountId: String? = nil)Parameters
sponsoredIdAccount that will have it’s reserves sponsored.
sponsoringAccountIdAccount that will sponsor.
-
Creates a new BeginSponsoringFutureReservesOperation object from the given BeginSponsoringFutureReservesOpXDR object.
Declaration
Swift
public init(fromXDR: BeginSponsoringFutureReservesOpXDR, sponsoringAccountId: String? = nil) throwsParameters
fromXDRthe BeginSponsoringFutureReservesOpXDR object to be used to create a new BeginSponsoringFutureReservesOperation object.
sponsoringAccountIdAccount that will sponsor (source account of the operation)
View on GitHub
Install in Dash