EndSponsoringFutureReservesOperationResponse class
Represents an end sponsoring future reserves operation response from Horizon.
This operation terminates the current sponsorship relationship that was initiated by a begin sponsoring future reserves operation.
Returned by: Horizon API operations endpoint when querying end sponsoring future reserves operations
Fields:
- beginSponsor The account that initiated the sponsorship
- beginSponsorMuxed Muxed account representation of the sponsor (if applicable)
- beginSponsorMuxedId Muxed account ID of the sponsor (if applicable)
Example:
final operations = await sdk.operations
.forAccount('account_id')
.execute();
for (var op in operations.records) {
if (op is EndSponsoringFutureReservesOperationResponse) {
print('Ended sponsorship from: ${op.beginSponsor}');
}
}
See also:
- EndSponsoringFutureReservesOperation for ending sponsorship
- Stellar developer docs
- Inheritance
-
- Object
- Response
- OperationResponse
- EndSponsoringFutureReservesOperationResponse
Constructors
- EndSponsoringFutureReservesOperationResponse(String? beginSponsor, String? beginSponsorMuxed, String? beginSponsorMuxedId, OperationResponseLinks links, String id, String pagingToken, bool transactionSuccessful, String sourceAccount, String? sourceAccountMuxed, String? sourceAccountMuxedId, String type, int type_i, String createdAt, String transactionHash, TransactionResponse? transaction, String? sponsor)
- Creates an EndSponsoringFutureReservesOperationResponse from Horizon API operation data.
-
EndSponsoringFutureReservesOperationResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- beginSponsor ↔ String?
-
The account that initiated the sponsorship
getter/setter pair
- beginSponsorMuxed ↔ String?
-
Muxed account representation of the sponsor (if applicable)
getter/setter pair
- beginSponsorMuxedId ↔ String?
-
Muxed account ID of the sponsor (if applicable)
getter/setter pair
- createdAt ↔ String
-
When operation was created (ISO 8601 timestamp)
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Unique operation identifier
getter/setter pairinherited
- links ↔ OperationResponseLinks
-
Hypermedia links to related resources
getter/setter pairinherited
- pagingToken ↔ String
-
Pagination cursor for this operation
getter/setter pairinherited
- rateLimitLimit ↔ int?
-
Maximum number of requests allowed in the current rate limit window.
getter/setter pairinherited
- rateLimitRemaining ↔ int?
-
Number of requests remaining in the current rate limit window.
getter/setter pairinherited
- rateLimitReset ↔ int?
-
Unix timestamp when the rate limit window will reset.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceAccount ↔ String
-
Operation source account ID
getter/setter pairinherited
- sourceAccountMuxed ↔ String?
-
Muxed account address if applicable
getter/setter pairinherited
- sourceAccountMuxedId ↔ String?
-
Muxed account sub-account ID if applicable
getter/setter pairinherited
- sponsor ↔ String?
-
Account sponsoring the operation's reserves if applicable
getter/setter pairinherited
- transaction ↔ TransactionResponse?
-
Full transaction that contains this operation
getter/setter pairinherited
- transactionHash ↔ String
-
Parent transaction hash
getter/setter pairinherited
- transactionSuccessful ↔ bool
-
Whether the parent transaction succeeded
getter/setter pairinherited
- type ↔ String
-
Operation type name (e.g., 'payment', 'create_account')
getter/setter pairinherited
- type_i ↔ int
-
Operation type as integer (0-26)
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setHeaders(
Map< String, String> headers) → void -
Populates rate limit fields from HTTP response headers.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited