Interface
Strategy
Represents information about what strategy was used to create an account
interface Strategy {
requiresSignature: boolean;
getRegistrationDetails(
connection: Connection,
keyStore: KeyStore,
): Promise<RegistrationDetails>;
}Properties
requiresSignature
requiresSignature: booleanWhether the strategy requires a signature on the endchain
Methods
getRegistrationDetails
getRegistrationDetails( connection: Connection, keyStore: KeyStore, ): Promise<RegistrationDetails>Fetches the details with which a certain account was registered
Parameters
- connection: Connection
connection to the blockchain on which the account is registered
- keyStore: KeyStore
keystore which holds the main key of the account
Returns Promise<RegistrationDetails>
- connection: Connection