Provides an interface for smart contract interaction

Constructors

Properties

abi: ABILike

Contract ABI

address: string

Address of the smart contract

contractInterface: Interface

Contract interface for ABI encoding

rpcOptions: RPCOptions

RPC options

Methods

  • Finds smart contract events in a block range

    Parameters

    • fromBlock: string | number | bigint

      First block in the range

    • toBlock: string | number | bigint

      Last block in the range

    Returns Promise<SmartContractEvent[]>

    The array of parsed events

Generated using TypeDoc