Skip to main content

/walletsolidity/estimateenergy REST API Endpoint

Loading...

Updated on
Oct 04, 2023

/walletsolidity/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/walletsolidity/estimateenergy \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"contract_address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
8
"function_selector": "balanceOf(address)",
9
"parameter": "000000000000000000000000a614f803b6fd780986a42c78ec9c7f77e6ded13c",
10
"visible": true
11
}
12
'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free