ClaimClaimableBalanceOperationResponse class

Represents a claim claimable balance operation response from Horizon.

A claim claimable balance operation claims a previously created claimable balance, transferring the funds to the claimant's account if the conditions (predicates) are met.

Returned by: Horizon API operations endpoint when querying claim claimable balance operations

Fields:

Example:

final operations = await sdk.operations
    .forAccount('account_id')
    .execute();

for (var op in operations.records) {
  if (op is ClaimClaimableBalanceOperationResponse) {
    print('Claimed balance ID: ${op.balanceId}');
    print('Claimant: ${op.claimantAccountId}');
  }
}

See also:

Inheritance

Constructors

ClaimClaimableBalanceOperationResponse(String balanceId, String claimantAccountId, String? claimantMuxed, String? claimantMuxedId, 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 a ClaimClaimableBalanceOperationResponse from Horizon API operation data.
ClaimClaimableBalanceOperationResponse.fromJson(Map<String, dynamic> json)
Deserializes a claim claimable balance operation response from JSON.
factory

Properties

balanceId ↔ String
The unique ID of the claimable balance being claimed
getter/setter pair
claimantAccountId ↔ String
The account claiming the balance
getter/setter pair
claimantMuxed ↔ String?
Muxed account representation of the claimant (if applicable)
getter/setter pair
claimantMuxedId ↔ String?
Muxed account ID of the claimant (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
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
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