SEP30AccountsResponse class

Response containing a list of accounts.

Returned by the accounts list endpoint. Contains all accounts that the authenticated user has permission to access.

Supports pagination via the after parameter in the request.

Example:

SEP30AccountsResponse response = await recovery.accounts(jwtToken);
for (SEP30AccountResponse account in response.accounts) {
  print('Account: ${account.address}');
}
Inheritance

Constructors

SEP30AccountsResponse(List<SEP30AccountResponse> accounts)
Creates a SEP30AccountsResponse from account list.
SEP30AccountsResponse.fromJson(Map<String, dynamic> json)
Creates a SEP30AccountsResponse from JSON response data.
factory

Properties

accounts List<SEP30AccountResponse>
List of accessible accounts with their recovery configurations.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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

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