AccountRecover class

Inheritance
Implementers

Constructors

AccountRecover.new(StellarConfiguration stellar, Map<RecoveryServerKey, RecoveryServer> servers, {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
servers Map<RecoveryServerKey, RecoveryServer>
getter/setter pair
stellar StellarConfiguration
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replaceDeviceKey(AccountKeyPair account, AccountKeyPair newKey, Map<RecoveryServerKey, RecoveryServerSigning> serverAuth, {AccountKeyPair? lostKey, AccountKeyPair? sponsorAddress}) Future<Transaction>
Replace lost device key with a new key @account target account @newKey a key to replace the lost key with @serverAuth list of servers to use @lostKey (optional) lost device key. If not specified, try to deduce key from account signers list @sponsorAddress (optional) sponsor address of the transaction. Please note that not all SEP-30 servers support signing sponsored transactions.
override
signWithRecoveryServers(Transaction transaction, AccountKeyPair accountAddress, Map<RecoveryServerKey, RecoveryServerSigning> serverAuth) Future<Transaction>
Sign transaction with recovery servers. It is used to recover an account using SEP-30. @transaction Transaction with new signer to be signed by recovery servers @accountAddress address of the account that is recovered @serverAuth List of recovery servers to use
override
toString() String
A string representation of this object.
inherited

Operators

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