Step 1: To access Full Node HTTP Tron, use the following native access endpoints:
- Network: Tron Mainnet
- Request Type: POST
https://svc.blockdaemon.com/tron/mainnet/native/wallet
- Network: Tron Nile Testnet
- Request Type: POST
https://svc.blockdaemon.com/tron/nile/native/wallet
Step 2: Authenticate your request using your API key. You can include the API key using either of the following headers:
Authorization: Bearer YOUR_API_KEY
X-API-Key: YOUR_API_KEY
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.