How to Access Full Node HTTP Tron API

Learn how to access Access Full Node HTTP API for Tron.

Step 1: To access the available Tron methods, use the following native access endpoints:

  • Network: Tron Mainnet
  • Request Type: POST
https://svc.blockdaemon.com/tron/mainnet/native/wallet
  • Network: Tron Nile
  • Request Type: POST
https://svc.blockdaemon.com/tron/nile/native/wallet

Step 2: You should authorize your request. Learn more: Authentication Guide

Step 3: Specify the method at the end of the query:

https://svc.blockdaemon.com/tron/mainnet/native/wallet/YOUR_METHOD

Step 4: Specify the available parameters of the method in the request body.

Example Request

Here is a cURL example for using validateaddress to validate the address against the Tron network.

curl --request POST \
     --url https://svc.blockdaemon.com/tron/mainnet/native/wallet/validateaddress \
     --header 'authorization: Bearer YOUR_API_KEY' \
     --header 'content-type: application/json' \
     --data '
{
  "address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
  "visible": true
}

The following is a typical response you will get:

{
    "result": true,
    "message": "Base58check format"
}

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.