Skip to main content

/wallet/triggerconstantcontract REST API Endpoint

Loading...

Updated on
Mar 03, 2025

/wallet/triggerconstantcontract REST API Endpoint

Body Parameters

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

Returns

result
Loading...
result
Loading...
code
Loading...
message
Loading...
energy_used
Loading...
constant_result
Loading...
energy_penalty
Loading...
transaction
Loading...
ret
Loading...
visible
Loading...
txID
Loading...
raw_data
Loading...
contract
Loading...
parameter
Loading...
value
Loading...
owner_address
Loading...
contract_address
Loading...
data
Loading...
type_url
Loading...
type
Loading...
ref_block_bytes
Loading...
ref_block_hash
Loading...
expiration
Loading...
timestamp
Loading...
raw_data_hex
Loading...
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/triggerconstantcontract \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
7
"contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
8
"function_selector": "balanceOf(address)",
9
"parameter": "000000000000000000000000FD49EDA0F23FF7EC1D03B52C3A45991C24CD440E",
10
"visible": true
11
}
12
'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free