SEP30RecoveryService class

Implements SEP-0030 - Account Recovery: multi-party recovery of Stellar accounts. See Account Recovery: multi-party recovery of Stellar accounts.

Constructors

SEP30RecoveryService(String _serviceAddress, {Client? httpClient, Map<String, String>? httpRequestHeaders})

Properties

hashCode int
The hash code for this object.
no setterinherited
httpClient ↔ Client
getter/setter pair
httpRequestHeaders Map<String, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

accountDetails(String address, String jwt) Future<SEP30AccountResponse>
This endpoint returns the registered account’s details. See: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#get-accountsaddress
accounts(String jwt, {String? after}) Future<SEP30AccountsResponse>
This endpoint will return a list of accounts that the JWT allows access to. See: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#get-accounts
deleteAccount(String address, String jwt) Future<SEP30AccountResponse>
This endpoint will delete the record for an account. This should be irrecoverable. See: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#delete-accountsaddress
errorFromResponseBody(String body) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAccount(String address, SEP30Request request, String jwt) Future<SEP30AccountResponse>
This endpoint registers an account. See: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#post-accountsaddress
signTransaction(String address, String signingAddress, String transaction, String jwt) Future<SEP30SignatureResponse>
This endpoint signs a transaction. See https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#post-accountsaddresssignsigning-address
toString() String
A string representation of this object.
inherited
updateIdentitiesForAccount(String address, SEP30Request request, String jwt) Future<SEP30AccountResponse>
This endpoint updates the identities for the account. The identities should be entirely replaced with the identities provided in the request, and not merged. Either owner or other or both should be set. If one is currently set and the request does not include it, it is removed. See: https://github.com/stellar/stellar-protocol/blob/master/ecosystem/sep-0030.md#put-accountsaddress

Operators

operator ==(Object other) bool
The equality operator.
inherited