@wharfkit/session - v4.0.1
    Preparing search index...

    Interface ABICacheInterface

    Interface that should be implemented by abi providers.

    interface ABICacheInterface {
        cache: Map<string, ABI>;
        pending: Map<string, Promise<GetRawAbiResponse>>;
        getAbi(account: NameType): Promise<ABI>;
        setAbi(account: NameType, abi: ABIDef, merge?: boolean): void;
    }

    Hierarchy (View Summary)

    Implemented by

    Index
    cache: Map<string, ABI>
    pending: Map<string, Promise<GetRawAbiResponse>>
    • Return a promise that resolves to an abi object for the given account name, e.g. the result of a rpc call to chain/get_abi.

      Parameters

      Returns Promise<ABI>

    • Parameters

      Returns void