Tron Wallet API (HTTP): 12 read methods

TRON's native wallet HTTP API on Triport: accounts, chain parameters, energy prices, contract calls without sending. Which calls map to JSON-RPC.

Send wallet requests to POST /rpc/tron/wallet/<name>. All operations require x-token: $TRIPORT_API_KEY and the tron:rpc scope. Block values are decimal JSON integers. Addresses default to hex-41; Base58 requires visible: true. This is a read-only API: no broadcasttransaction and no /walletsolidity. getaccountresource and estimateenergy are not served. The keyless https://triport.io/public/tron URL exposes JSON-RPC reads, not wallet methods.

Wallet method or JSON-RPC?

Choose the native response when you need TRON-specific fields. An EVM call can answer a narrower question without returning the entire native object.

Read taskWallet HTTP methodJSON-RPC counterpartConfigured category
Native account details or only its TRX balancegetaccounteth_getBalance for balance onlytron_read_rpc
Current block in native or EVM formgetnowblocketh_getBlockByNumber with latesttron_read_rpc
Block at a selected heightgetblockbynumeth_getBlockByNumberWallet: tron_read_rpc_heavy; JSON-RPC: tron_read_rpc
Contract result, with energy information on the native surfacetriggerconstantcontracteth_call for return bytes onlyWallet: tron_read_rpc_heavy; JSON-RPC: tron_read_rpc
Energy burn price among the current network parametersgetchainparameterseth_gasPrice for one pricetron_read_rpc
Historical energy-price changes or only the current pricegetenergypriceseth_gasPrice has no price historytron_read_rpc

The surfaces differ in encoding and response fields; these pairs are task alternatives, not interchangeable wire formats. Limits are configured and unmeasured; see TRON limits. For connection values and plans, see the Tron RPC node endpoint.

Blocks

MethodCategorySummaryTier / rate limit
getnowblocktron_read_rpcReturn the latest block, without a solidified-state guarantee.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getblockbylatestnumtron_read_rpcReturn a count of recent included blocks.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getblockbynumtron_read_rpc_heavyReturn a native block by decimal height.free+; 2 / 5 / 20 / 80 RPS sustained · short burst 4 / 10 / 40 / 160 (default, unmeasured)

Chain and account state

MethodCategorySummaryTier / rate limit
getaccounttron_read_rpcReturn current native account state.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getchainparameterstron_read_rpcReturn current native chain parameters.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getcontractinfotron_read_rpcReturn native contract metadata.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getenergypricestron_read_rpcReturn native energy price changes.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getnextmaintenancetimetron_read_rpcReturn the next maintenance boundary.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
getnodeinfotron_read_rpcReturn public status for the selected node.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
listwitnessestron_read_rpcReturn the native witness inventory.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)
triggerconstantcontracttron_read_rpc_heavyExecute a read-only native contract call.free+; 2 / 5 / 20 / 80 RPS sustained · short burst 4 / 10 / 40 / 160 (default, unmeasured)

Confirmed execution

MethodCategorySummaryTier / rate limit
gettransactioninfobyidtron_read_rpcReturn confirmed transaction execution information.free+; 15 / 20 / 100 / 250 RPS sustained · short burst 30 / 40 / 200 / 500 (default, unmeasured)

Network constraints

  • No public wallet mempool, pending queue, or WebSocket surface is published.
  • Historical block depth varies; an old block does not establish historical state coverage.
  • The OpenAPI response schema is extensible. Dated observations on method pages describe observed fields rather than a closed response schema.
  • Remaining energy and bandwidth require getaccountresource, which is not served. Account state from getaccount is not a substitute for that budget.
  • Included transaction information is not a solidified-state confirmation; /walletsolidity is not served.

For simulation, burn prices and resource caveats, follow estimate a USDT transfer fee and TRON energy vs bandwidth.

See Tron errors, Tron limits, and the EVM JSON-RPC methods.