addressActivate - TRON energy

Example code for the addressActivate JSON RPC method. Сomplete guide on how to use addressActivate JSON RPC in GetBlock Web3 documentation.

This activates a TRON address on the blockchain. Required before delegating Energy or Bandwidth to a new (never-used) address.

Fixed cost: 1.87 TRX, charged in USD at the current TRX/USD rate.

Body Parameter

Parameter

Type

Required

Description

target_address

string

Yes

TRON wallet to activate (starts with T, 34 characters)

Request Sample

curl -X POST https://api.getblock.io/tron-energy/addressActivate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "target_address": "TUo8pycbvje9w2XYsNnnzw67bpPs4GLFyD"
  }'

Response Sample

{
  "order_id": 12345,
  "status": "success",
  "target_address": "TUo8pycbvje9w2XYsNnnzw67bpPs4GLFyD",
  "trx_spent": 1.87,
  "price_usd": "0.52",
  "txid": "abc123def..."
}

Last updated

Was this helpful?