Skip to Content
APIContractGet All Contract Callers

Get All Contract Callers

1. Overview & Typical Use

Returns a paginated list of all addresses that have called a contract, along with their call counts, sorted by call count in descending order.

  • Typical use: analyze the user composition of a contract, identify heavy callers, monitor abnormal calling behavior.
  • When not to use: for a Top-caller and method overview use “Get Contract Call Statistics”; for daily call count trends use “Get Contract Daily Call Count List”.

2. Endpoint & Authentication

GET /api/onecontractcallers

For Base URL and authentication, see Common Network & Authentication.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYes—Contract address (Base58, starts with T)
startintegerNo0Starting offset
limitintegerNo10Page size
dayintegerNoYesterdayQuery date, millisecond timestamp

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal number of callers—
totalCallerAmountintegerRequiredTotal call count—
dataarrayRequiredList of callers—
contractMapobjectRequiredAddress → whether it is a contract—
contractInfoobjectRequiredContract address → label info—

data[] element

FieldTypeRequiredDescriptionUnit/Precision
caller_addressstringRequiredCaller address—
callerAddressTagstringOptionalCaller address label—
amountintegerRequiredCall count—

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • Invalid contract address: returns 200 + data: [], total: 0.
  • Empty result is not an error: when there are no call records, an empty array is returned as a normal response.
Last updated on: