Contract
List of smart contract interfaces.
Get list of contracts
📝 Note : The value sum of start and limit must be less than or equal to 10000.
Returns a list of contracts.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
search | Search by contract name, contract address |
sort | Sort fields. -trxCount, -balance, -timestamp. Default: -trxCount |
start | Start number. Default 0 |
limit | Number of items per page. Default 20 |
open-source-only | Whether to show only open source contracts. |
verified-only | Whether to show only verified contracts |
Get contract detail information
📝 Note : The maximum value for limit is 200.
Returns contract detail information.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contract | Contract address |
Get event information of the contract
📝 Note : This is a post request, please use the post method to get the data.
Returns a list of event information for the contract.
Query Parameters
Parameter | Description |
---|---|
contractAddress | Contract address |
hashList | A list of transaction hashes |
term | Query content, which supports the block number and event name |
limit | Number of items per page. Default 20 |
Get contract energy statistics
Returns Energy statistic data of a contract.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | Contract address |
Get contract call statistics
Returns contract call statistics.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contract_address | Contract address |
Get the number of unique addresses called per day for a contract over a certain period of time
Returns the number of unique addresses called per day for a contract over a certain period of time.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | Contract address |
start_timestamp | Start time, accurate to seconds |
end_timestamp | End time, accurate to seconds |
Get the list of the number of calls per day of the contract
Returns a list of the number of calls per day of the contract.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | Contract address |
start_timestamp | Start time, accurate to seconds |
end_timestamp | End time, accurate to seconds |
Get the list of daily analysis data for the contract over a period of time
Returns a list of daily analysis data for the contract over a period of time.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | Contract address |
type | Query data type: 0: balance (TRX balance, the price of TRX on that day, calculated using USDT) 1: token transfers (number of token [trc20] transfers and number of token transfers) 2: Energy consumption ([trigger current contract] consumes Energy from frozen TRX, consumes Energy from burning TRX, consumes Energy provided by contract deployers) 3: Bandwidth consumption ([trigger current contract] consumes free Bandwidth or Bandwidth from frozen TRX, consumes Bandwidth from burning TRX) 4: Contract calling (number of calls and number of calling accounts) 5: fees (Bandwidth and Energy consumed from burning TRX) |
start_timestamp | Start time, accurate to seconds |
end_timestamp | End time, accurate to seconds |
Get the list of all callers of the contract and the statistics of the number of calls
Returns a list of all callers of the contract and the statistics of the number of calls.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | Contract address |
day | Query the number of days, from the current time in a backforward way. Default: yesterday |
start | Start number. Default 0 |
limit | Number of items per page. Default 10 |
Get the list of trigger transactions for a certain time period
📝 Note : The maximum value for limit is 200.
Returns a list of trigger transactions for a certain time period.
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
start | Start number. Default 0 |
limit | Number of items per page. Default 10 |
start_timestamp | Start time, accurate to milliseconds |
end_timestamp | End time, accurate to milliseconds |
Last updated