• ContractEventsApi - axios parameter creator

    Parameters

    Returns {
        listContractEvents: ((networkId, protocolName, contractAddress, contractName, eventName, fromBlockHeight, toBlockHeight, nextPage?, options?) => Promise<RequestArgs>);
    }

    • listContractEvents: ((networkId, protocolName, contractAddress, contractName, eventName, fromBlockHeight, toBlockHeight, nextPage?, options?) => Promise<RequestArgs>)

      Retrieve events for a specific contract

      Summary

      List contract events

      Throws

        • (networkId, protocolName, contractAddress, contractName, eventName, fromBlockHeight, toBlockHeight, nextPage?, options?): Promise<RequestArgs>
        • 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 &#39;0x&#39;, 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&#39;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<RequestArgs>

    Export