Tron Solidity API

The Solidity node exposes a query-only subset of the native TRON HTTP API that returns only confirmed, irreversible data. It is the correct interface for balance and payment verification: reading from the Fullnode can surface transactions that are later rolled back, while the Solidity node returns only finalized state. Every endpoint is an HTTP POST to /walletsolidity/{method}.

Request and response shapes match the Fullnode endpoint of the same name; the difference is data freshness. The Solidity node serves reads only — transaction creation, broadcasting, and staking are Fullnode operations.

Base URL

bashhttps://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/walletsolidity/{method}
bashhttps://shared.us-east-1.getblock.io/<ACCESS_TOKEN/walletsolidity/{method}
bashhttps://shared.ap-southeast-1.getblock.io/<ACCESS_TOKEN/walletsolidity/{method}

Replace <ACCESS-TOKEN> with the access token from the GetBlock dashboard. Addresses may be supplied in base58 (T...) form by setting visible to true, or in hex (41...) form otherwise. TRX amounts are in SUN.

The most common "missing transaction" error comes from reading the Fullnode (/wallet) when the Solidity node (/walletsolidity) should be used. For anything that must be final — confirmed balances, settled payments, irreversible receipts — read from the Solidity node.

Account

MethodDescription
getaccountConfirmed account data, balance, permissions, assets

Block

MethodDescription
getnowblockThe latest confirmed block
getblockbynumA confirmed block by height
getblockbyidA confirmed block by hash
getblockbylatestnumThe most recent confirmed blocks
getblockbylimitnextA range of confirmed blocks

Transaction

MethodDescription
gettransactionbyidA confirmed transaction by id
gettransactioninfobyidConfirmed execution result, energy, and logs
gettransactioninfobyblocknumAll transaction results in a confirmed block
gettransactioncountbyblocknumTransaction count in a confirmed block

Smart Contract

MethodDescription
triggerconstantcontractRead-only contract call against confirmed state
estimateenergyEstimate Energy against confirmed state

Resources & Rewards

MethodDescription
getdelegatedresourcev2Confirmed Stake 2.0 delegations between accounts
getrewardConfirmed unclaimed voting and staking rewards

Support

For technical support and questions:

See Also