Step 1: To access Solidity Full Node Tron, use the following native access endpoints:
- Network: Tron Mainnet
- Request Type: POST
https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity
- Network: Tron Nile
- Request Type: POST
https://svc.blockdaemon.com/tron/nile/native/walletsolidity
Step 2: You should authorize your request. Learn more: Authentication Guide
Step 3: Specify a Tron method at the end of the query:
https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity/YOUR_METHOD
Step 4: Specify the available parameters of the method in the request body.
Example Request
Here is a cURL example for using gettransactioncountbyblocknum
to get transaction count in a block by block number.
curl --request POST \
--url https://svc.blockdaemon.com/tron/mainnet/native/walletsolidity/gettransactioncountbyblocknum \
--header 'authorization: Bearer YOUR_API_KEY' \
--header 'content-type: application/json' \
--data '
{
"value": "7c2d4206c03a883dd9066d620335dc1be272a8dc733cfa3f6d10308faa37facc",
"visible": true
}
The following is a typical response you will get:
{
"count": 3
}
👋 Need Help?
Contact us through email or our support page for any issues, bugs, or assistance you may need.