Skip to main content

/wallet/estimateenergy REST API Endpoint

Loading...

Updated on
Oct 04, 2023

/wallet/estimateenergy REST API Endpoint

Body Parameters

owner_address
string
REQUIRED
Loading...
contract_address
string
REQUIRED
Loading...
function_selector
integer
REQUIRED
Loading...
parameter
string
REQUIRED
Loading...
visible
boolean
Loading...

Returns

result
Loading...
result
Loading...
code
Loading...
message
Loading...
energy_required
Loading...
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/estimateenergy \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "OWNER_ADDRESS",
7
"contract_address": "CONTRACT_ADDRESS",
8
"function_selector": "balanceOf(address)",
9
"parameter": "PARAMETERS",
10
"visible": true
11
}
12
'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free