@wharfkit/abicache - v4.0.2
    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

      • account: NameType

      Returns Promise<ABI>

    • Parameters

      • account: NameType
      • abiDef: ABIDef
      • merge: boolean = false

      Returns void