interface AuthExtension {
    auth: {
        account: ((address) => Promise<null | Any>);
    };
}

Properties

Properties

auth: {
    account: ((address) => Promise<null | Any>);
}

Type declaration

  • Readonly account: ((address) => Promise<null | Any>)

    Returns an account if it exists and null otherwise.

    The account is a protobuf Any in order to be able to support many different account types in one API. The caller needs to switch over the expected and supported typeUrl and decode the value using its own type decoder.

      • (address): Promise<null | Any>
      • Returns an account if it exists and null otherwise.

        The account is a protobuf Any in order to be able to support many different account types in one API. The caller needs to switch over the expected and supported typeUrl and decode the value using its own type decoder.

        Parameters

        • address: string

        Returns Promise<null | Any>

Generated using TypeDoc