Skip to main content

/walletsolidity/scanshieldedtrc20notesbyivk REST API Endpoint

Scan outgoing notes (Confirmed state).

Updated on
Oct 4, 2023

/walletsolidity/scanshieldedtrc20notesbyivk 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
ivk
string
REQUIRED
A string representing the incoming viewing key (ivk) associated with the shielded TRC20 contract
ak
string
REQUIRED
A string representing the address key (ak)
nk
string
REQUIRED
A string representing the note key (nk)
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/scanshieldedtrc20notesbyivk \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json'
4
--data '{
5
"ivk": "INCOMING_VIEWING_KEY",
6
"shielded_TRC20_contract_address": "CONTRACT_ADDRESS",
7
"end_block_index": 567,
8
"start_block_index": 345,
9
"ak": "ADDRESS_KEY",
10
"visible": true,
11
"nk": "NOTE_KEY"
12
}
13
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free