@chromia/ft4 - v2.1.0
    Preparing search index...

    Interface Strategy

    Represents information about what strategy was used to create an account

    interface Strategy {
        requiresSignature: boolean;
        getRegistrationDetails(
            connection: Connection,
            keyStore: KeyStore,
        ): Promise<RegistrationDetails>;
    }
    Index

    Properties

    requiresSignature: boolean

    Whether the strategy requires a signature on the endchain

    Methods

    • 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>