curl --request GET \
--url 'https://api.blockscout.com/{chain_id}/api/v2/addresses/{address_hash_param}/logs?apikey='{
"items": [
{
"address": {
"ens_domain_name": "<string>",
"hash": "<string>",
"implementations": [
{
"address_hash": "<string>",
"name": "<string>"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {
"tags": [
{
"meta": {},
"name": "<string>",
"ordinal": 123,
"slug": "<string>",
"tagType": "<string>"
}
]
},
"name": "<string>",
"proxy_type": "eip1167",
"reputation": "ok",
"private_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"public_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"watchlist_names": [
{
"display_name": "<string>",
"label": "<string>"
}
]
},
"block_hash": "<string>",
"block_number": 123,
"block_timestamp": "2023-11-07T05:31:56Z",
"data": "<string>",
"decoded": {
"method_call": "<string>",
"method_id": "<string>",
"parameters": [
{
"indexed": true,
"name": "<string>",
"type": "<string>",
"value": {}
}
]
},
"index": 123,
"smart_contract": {
"ens_domain_name": "<string>",
"hash": "<string>",
"implementations": [
{
"address_hash": "<string>",
"name": "<string>"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {
"tags": [
{
"meta": {},
"name": "<string>",
"ordinal": 123,
"slug": "<string>",
"tagType": "<string>"
}
]
},
"name": "<string>",
"proxy_type": "eip1167",
"reputation": "ok",
"private_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"public_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"watchlist_names": [
{
"display_name": "<string>",
"label": "<string>"
}
]
},
"topics": [
"<string>"
],
"transaction_hash": "<string>"
}
],
"next_page_params": {
"block_number": 22546398,
"index": 268,
"items_count": 50
}
}Retrieves event logs emitted by or involving a specific address.
curl --request GET \
--url 'https://api.blockscout.com/{chain_id}/api/v2/addresses/{address_hash_param}/logs?apikey='{
"items": [
{
"address": {
"ens_domain_name": "<string>",
"hash": "<string>",
"implementations": [
{
"address_hash": "<string>",
"name": "<string>"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {
"tags": [
{
"meta": {},
"name": "<string>",
"ordinal": 123,
"slug": "<string>",
"tagType": "<string>"
}
]
},
"name": "<string>",
"proxy_type": "eip1167",
"reputation": "ok",
"private_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"public_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"watchlist_names": [
{
"display_name": "<string>",
"label": "<string>"
}
]
},
"block_hash": "<string>",
"block_number": 123,
"block_timestamp": "2023-11-07T05:31:56Z",
"data": "<string>",
"decoded": {
"method_call": "<string>",
"method_id": "<string>",
"parameters": [
{
"indexed": true,
"name": "<string>",
"type": "<string>",
"value": {}
}
]
},
"index": 123,
"smart_contract": {
"ens_domain_name": "<string>",
"hash": "<string>",
"implementations": [
{
"address_hash": "<string>",
"name": "<string>"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {
"tags": [
{
"meta": {},
"name": "<string>",
"ordinal": 123,
"slug": "<string>",
"tagType": "<string>"
}
]
},
"name": "<string>",
"proxy_type": "eip1167",
"reputation": "ok",
"private_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"public_tags": [
{
"address_hash": "<string>",
"display_name": "<string>",
"label": "<string>"
}
],
"watchlist_names": [
{
"display_name": "<string>",
"label": "<string>"
}
]
},
"topics": [
"<string>"
],
"transaction_hash": "<string>"
}
],
"next_page_params": {
"block_number": 22546398,
"index": 268,
"items_count": 50
}
}API key for authentication. Required for all Pro API endpoints. Obtain your API key at https://dev.blockscout.com/
Address hash in the path
^0x([A-Fa-f0-9]{40})$API key for rate limiting or for sensitive endpoints
Secret key for getting access to restricted resources
Log topic param in the query
^0x([A-Fa-f0-9]*)$Block number for paging
x >= 0Item index for paging
Number of items returned per page
1 <= x <= 50Was this page helpful?