Skip to main content

Get logs by filter

GET 

/:network/chain/logs

Get logs by filter

Request

Path Parameters

    network stringrequired

    Blockchain network name or chain id

Query Parameters

    start_block number

    The starting block number.

    end_block number

    The ending block number. Must be greater than startBlock and not more than 2000 blocks further.

    block_hash string

    The block hash to filter logs.

    contract_address string

    The contract address to filter logs.

    topics string[]

    The topics array to filter logs.

Responses

The logs for the specified filter.

Schema

    array

Loading...