Skip to main content

/walletsolidity/scanshieldedtrc20notesbyovk REST API Endpoint

Scan outgoing notes(spent) (Confirmed state).

Updated on
Oct 4, 2023

/walletsolidity/scanshieldedtrc20notesbyovk REST API Endpoint

Body Parameters

start_block_index
integer
REQUIRED
An integer representing the starting block index for the shielded TRC20 contract events
end_block_index
integer
REQUIRED
An integer representing the ending block index for the shielded TRC20 contract events
shielded_TRC20_contract_address
string
REQUIRED
The address of the shielded TRC20 contract
ovk
string
REQUIRED
A string representing the optional viewing key (ovk) for the shielded TRC20 contract
visible
boolean
REQUIRED
A boolean value indicating whether the events should be visible or not

Returns

is_spent
It indicates whether the specified shielded TRC20 contract note has been spent or not
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/scanshieldedtrc20notesbyovk \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json'
4
--data '{
5
"start_block_index": 434,
6
"end_block_index": 567,
7
"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",
8
"ovk": "OPTICAL_VIEWING_KEY",
9
"visible": true
10
}
11
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free