SEP30AccountResponse class
Response containing account recovery information.
Returned when registering, updating, querying, or deleting an account. Contains the account's recovery configuration including identities and the signing addresses that can authorize recovery transactions.
The signers correspond to the registered identities and represent the Stellar addresses that the recovery service controls for signing recovery transactions on behalf of authenticated identities.
Example:
SEP30AccountResponse response = await recovery.accountDetails(
accountId,
jwtToken
);
print('Account: ${response.address}');
print('Identities: ${response.identities.length}');
print('Signers: ${response.signers.length}');
Constructors
-
SEP30AccountResponse(String address, List<
SEP30ResponseIdentity> identities, List<SEP30ResponseSigner> signers) - Creates a SEP30AccountResponse from account recovery configuration.
-
SEP30AccountResponse.fromJson(Map<
String, dynamic> json) -
Creates a SEP30AccountResponse from JSON response data.
factory
Properties
- address ↔ String
-
Stellar account address.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
identities
↔ List<
SEP30ResponseIdentity> -
Registered recovery identities with authentication status.
getter/setter pair
- 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
-
signers
↔ List<
SEP30ResponseSigner> -
Signing addresses controlled by the recovery service for this account.
getter/setter pair
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