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.

https://apilist.tronscanapi.com/api/contracts?count=true&limit=20&confirm=0&start=0&verified-only=true&open-source-only=false&sort=-trxCount

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/contract?contract=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/contracts/smart-contract-triggers-batch?fields=hash,method

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/onecontractenergystatistic?&address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

Contract address

Get contract call statistics

Returns contract call statistics.

https://apilist.tronscanapi.com/api/contracts/top_call?contract_address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/onecontractcallerstatistic?address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S&start_timestamp=1621900800000&end_timestamp=1621987200000

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/onecontracttriggerstatistic?address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S&start_timestamp=1621900800000&end_timestamp=1621987200000

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/contract/analysis?address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S&type=0&start_timestamp=1680430566127&end_timestamp=1680516966127

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/onecontractcallers?address=TSSMHYeV2uE9qYH95DqyoCuNCzEL1NvU3S&day=1680429735649&limit=2&start=0

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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.

https://apilist.tronscanapi.com/api/contracts/trigger?limit=1&start=0&start_timestamp=1680430566127&end_timestamp=1680508302533

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

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