Skip to main content
GET
/
{chain_id}
/
api
/
v2
/
addresses
/
{address_hash_param}
/
counters
Get activity count stats for a specific address
curl --request GET \
  --url https://api.blockscout.com/{chain_id}/api/v2/addresses/{address_hash_param}/counters \
  --header 'Authorization: Bearer <token>'
{
  "gas_usage_count": "<string>",
  "token_transfers_count": "<string>",
  "transactions_count": "<string>",
  "validations_count": "<string>"
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Path Parameters

address_hash_param
string
required

Address hash in the path

Pattern: ^0x([A-Fa-f0-9]{40})$
chain_id
string
required

The ID of the blockchain

Response

Count statistics for the specified address.

Address counters

gas_usage_count
string
required
Pattern: ^-?([1-9][0-9]*|0)$
token_transfers_count
string
required
Pattern: ^-?([1-9][0-9]*|0)$
transactions_count
string
required
Pattern: ^-?([1-9][0-9]*|0)$
validations_count
string
required
Pattern: ^-?([1-9][0-9]*|0)$