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

    Class ABICache

    Given an APIClient instance, this class provides an AbiProvider interface for retrieving and caching ABIs.

    Implements

    Index
    cache: Map<string, ABI>
    client: APIClient
    partial: Set<string>
    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>