v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
stats

Retrieve hot smart-contracts

Retrieves paginated list of hot smart-contracts

get/{chain_id}/api/v2/stats/hot-smart-contracts

Path parameters

chain_idstring required

The ID of the blockchain

Query parameters

sort'transactions_count' | 'total_gas_used'

Sort results by:

  • transactions_count - Sort by number of transactions
  • total_gas_used - Sort by total gas used Should be used together with order parameter.
order'asc' | 'desc'

Sort order:

  • asc - Ascending order
  • desc - Descending order Should be used together with sort parameter.
scale'5m' | '1h' | '3h' | '1d' | '7d' | '30d' required

Time scale for hot contracts aggregation (5m=5 minutes, 1h=1 hour, 3h=3 hours, 1d=1 day, 7d=7 days, 30d=30 days)

items_countinteger

Number of items per page

transactions_countinteger

Transactions count for paging

total_gas_usedinteger

Total gas used for paging

contract_address_hashstring

Contract address hash for paging

Response

Paginated list of hot smart-contracts.

next_page_paramsobject nullable required

Example response

{
  "next_page_params": {
    "contract_address_hash": "0x01a2A10583675E0e5dF52DE1b62734109201477a",
    "total_gas_used": "100",
    "transactions_count": 100
  }
}