ContractEventsApi - object-oriented interface

Export

ContractEventsApi

Hierarchy (view full)

Implements

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Retrieve events for a specific contract

    Parameters

    • networkId: string

      Unique identifier for the blockchain network

    • protocolName: string

      Case-sensitive name of the blockchain protocol

    • contractAddress: string

      EVM address of the smart contract (42 characters, including '0x', in lowercase)

    • contractName: string

      Case-sensitive name of the specific contract within the project

    • eventName: string

      Case-sensitive name of the event to filter for in the contract's logs

    • fromBlockHeight: number

      Lower bound of the block range to query (inclusive)

    • toBlockHeight: number

      Upper bound of the block range to query (inclusive)

    • Optional nextPage: string

      Pagination token for retrieving the next set of results

    • Optional options: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContractEventList, any>>

    Summary

    List contract events

    Throws

    Memberof

    ContractEventsApi