getLogEventsByTopicHash
GET https://api.covalenthq.com/v1/:chainName/events/topics/:topicHash/?starting-block=&ending-block=&secondary-topics=&page-size=&page-number=
Returns: LogEventsByTopicHashResponse
{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"block_signed_at" : "{{DATETIME}}",
"block_height" : "{{INTEGER}}",
"tx_offset" : "{{INTEGER}}",
"log_offset" : "{{INTEGER}}",
"tx_hash" : "{{STRING}}",
"raw_log_topics" : [ "{{STRING}}" ],
"sender_contract_decimals" : "{{INTEGER}}",
"sender_name" : "{{STRING}}",
"sender_contract_ticker_symbol" : "{{STRING}}",
"sender_address" : "{{STRING}}",
"sender_address_label" : "{{STRING}}",
"sender_logo_url" : "{{STRING}}",
"raw_log_data" : "{{STRING}}",
"decoded" : {
"name" : "{{STRING}}",
"signature" : "{{STRING}}",
"params" : [ {
"name" : "{{STRING}}",
"type" : "{{STRING}}",
"indexed" : "{{BOOLEAN}}",
"decoded" : "{{BOOLEAN}}",
"value" : "{{STRING}}"
} ]
}
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Request Params
Key | Datatype | Required | Description |
---|
starting-block | null | | |
ending-block | null | | |
secondary-topics | null | | |
page-size | null | | |
page-number | null | | |
Key | Datatype | Required | Description |
---|
Content-Type | string | | |