AppleSauce
    Preparing search index...

    Interface IAccountConstructor<Signer, SignerData, Metadata>

    A constructor for an account

    interface IAccountConstructor<
        Signer extends Nip07Interface,
        SignerData,
        Metadata extends unknown,
    > {
        new IAccountConstructor(
            pubkey: string,
            signer: Signer,
        ): IAccount<Signer, SignerData, Metadata>;
        type: string;
        fromJSON(
            json: SerializedAccount<SignerData, Metadata>,
        ): IAccount<Signer, SignerData, Metadata>;
    }

    Type Parameters

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: string

    Methods