ClawbackClaimableBalanceOperationResponse class

Represents a clawback claimable balance operation response from Horizon.

This operation claws back a claimable balance, removing it from the ledger and burning the contained funds. Only the asset issuer can perform this operation.

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

Fields:

  • balanceId: The unique ID of the claimable balance being clawed back

Example:

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

for (var op in operations.records) {
  if (op is ClawbackClaimableBalanceOperationResponse) {
    print('Clawed back balance: ${op.balanceId}');
  }
}

See also:

Inheritance

Constructors

ClawbackClaimableBalanceOperationResponse(String balanceId, 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 ClawbackClaimableBalanceOperationResponse from Horizon API operation data.
ClawbackClaimableBalanceOperationResponse.fromJson(Map<String, dynamic> json)
Deserializes a clawback claimable balance operation response from JSON.
factory

Properties

balanceId ↔ String
The unique ID of the claimable balance being clawed back
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