Interface that should be implemented by abi providers.

Hierarchy

Properties

Properties

getAbi: ((account: Name) => Promise<ABIDef>)

Type declaration

    • (account: Name): Promise<ABIDef>
    • 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<ABIDef>