Skip to main content

Get logs by contract address and log topic

GET 

/logs/contracts/:contractAddress/topics/:topic

For usage instructions, see Get all logs of a contract

Request

Path Parameters

    contractAddress stringrequired

    ContractAddress address. Example: 0x32950db2a7164ae833121501c797d79e7b79d74c

    topic stringrequired

    Log topic. Example: 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

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...