Tron REST Methods

šŸ“˜

See the Tron RPC API connection guide.

GET Methods

Method Compute Unit Value
GET /wallet/getassetissuelist 20
GET /wallet/getbandwidthprices 5
GET /wallet/getburntrx 5
GET /wallet/getchainparameters 5
GET /wallet/getdiversifier 10
GET /wallet/getenergyprices 5
GET /wallet/getnextmaintenancetime 5
GET /wallet/getpendingsize 5
GET /wallet/gettransactionlistfrompending 20
GET /wallet/listexchanges 20
GET /wallet/listproposals 20
GET /wallet/listwitnesses 20

POST Methods

Accounts

Method Compute Unit Value
POST /wallet/accountpermissionupdate 25
POST /wallet/approveproposal 25
POST /wallet/createaccount 25
POST /wallet/updateaccount 25

Transactions

Method Compute Unit Value
POST /wallet/broadcasthex 100
POST /wallet/broadcasttransaction 100
POST /wallet/createtransaction 25
POST /wallet/brokeragewithdraw

Smart Contracts

Method Compute Unit Value
POST /wallet/clearabi 25
POST /wallet/deploycontract 100
POST /wallet/estimateenergy 10
POST /wallet/triggerconstantcontract 50
POST /wallet/triggersmartcontract 100

Account Resources

Method Compute Unit Value
POST /wallet/cancelallunfreezev2 25
POST /wallet/freezebalancev2 25
POST /wallet/getaccountbalance 10
POST /wallet/getaccountnet 10
POST /wallet/getaccountresource 10
POST /wallet/delegateresource 25
POST /wallet/unfreezebalancev2 25
POST /wallet/withdrawexpireunfreeze 10

DEX Exchange

Method Compute Unit Value
POST /wallet/getexchangebyid 10
POST /wallet/exchangecreate 25
POST /wallet/exchangeinject 25
POST /wallet/exchangetransaction 25
POST /wallet/exchangewithdraw 25

TRC10 Token

Method Compute Unit Value
POST /wallet/createassetissue 25
POST /wallet/getassetissuebyaccount 10
POST /wallet/getassetissuebyid 10
POST /wallet/getassetissuebyname 10
POST /wallet/getassetissuelist 20
POST /wallet/getpaginatedassetissuelist 10
POST /wallet/participateassetissue 25
POST /wallet/transferasset 25
POST /wallet/updateasset 25
POST /wallet/unfreezeasset 25

Query the Network

Method Compute Unit Value
POST /wallet/getapprovedlist 10
POST /wallet/getblock 50
POST /wallet/getblockbalance 10
POST /wallet/getblockbyid 50
POST /wallet/getblockbylatestnum 50
POST /wallet/getblockbylimitnext 50
POST /wallet/getblockbynum 50
POST /wallet/getburntrx 5
POST /wallet/getchainparameters 5
POST /wallet/getnowblock 50
POST /wallet/gettransactionbyid 20
POST /wallet/gettransactioninfobyblocknum 10
POST /wallet/gettransactioninfobyid 10

Proposals

Method Compute Unit Value
POST /wallet/proposalapprove 25
POST /wallet/proposalcreate 25
POST /wallet/proposaldelete 25
POST /wallet/repealproposal

Voting & SRs

Method Compute Unit Value
POST /wallet/listwitnesses 20
POST /wallet/createwitness 25
POST /wallet/updatewitness 25
POST /wallet/updateBrokerage 25
POST /wallet/votewitnessaccount 25
POST /wallet/votewitnesstransaction
POST /wallet/withdrawbalance 10
POST /wallet/withdrawvote
POST /wallet/withdrawreward
POST /wallet/withdrawwitnessfee

TRONZ Shielded Smart Contract

Method Compute Unit Value
POST /wallet/getdiversifier 10
POST /wallet/getincomingviewingkey 10
POST /wallet/getnkfromnsk 10
POST /wallet/gettriggerinputforshieldedtrc20contract 10
POST /wallet/scanshieldedtrc20notesbyivk 10
POST /wallet/scanshieldedtrc20notesbyovk 10

Address Utilities

Method Compute Unit Value
POST /wallet/validateaddress 5