Skip to main content

Get logs by contract address

API Deprecation Notice

This API endpoint will be deprecated by the end of Q1 2025 as part of Skynet sunsetting. Please migrate to using the JSON-RPC eth_getLogs method directly with your preferred RPC provider.

GET 

/logs/contracts/:contractAddress

For usage instructions, see Get all logs of a contract

Request

Path Parameters

    contractAddress stringrequired

    ContractAddress address. Example: 0x32950db2a7164ae833121501c797d79e7b79d74c

Query Parameters

    limit integer

    Paging limit

    order string

    Paging order, valid values: "asc", "desc". Default: "desc"

    cursor string

    Paging cursor

Responses

OK
Schema

    result

    object

    items

    object[]

  • Array [

  • address string
    topics string[]
    data string
    blockNumber integer
    transactionHash string
    transactionIndex integer
    blockHash string
    logIndex integer
    removed boolean
  • ]

  • paging

    object

    nextCursor string
Loading...