View Source Ethers.CcipRead (Ethers v0.6.3)

CCIP Read (EIP-3668) implementation

NOTE: Currently supports URLs with "https" scheme only

Summary

Functions

Same as Ethers.call/2 but will handle Ethers.Contacts.CcipRead.Errors.OffchainLookup errors and performs an offchain lookup as per EIP-3668 specs.

Functions

call(tx_data, opts)

@spec call(Ethers.TxData.t(), Keyword.t()) ::
  {:ok, [term()] | term()} | {:error, term()}

Same as Ethers.call/2 but will handle Ethers.Contacts.CcipRead.Errors.OffchainLookup errors and performs an offchain lookup as per EIP-3668 specs.

Options and Overrides

Accepts same options as Ethers.call/2