curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/scanshieldedtrc20notesbyivk \
--header 'Content-Type: application/json' \
--data '{
"start_block_index": 10000000,
"end_block_index": 10001000,
"ivk": "0x05d4e5f6789012345678901234567890123456789012345678901234567890abcdef",
"ak": "0x03b2c3d4e5f6789012345678901234567890123456789012345678901234567890ab",
"nk": "0x04c3d4e5f6789012345678901234567890123456789012345678901234567890abcd",
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp"
}'
{
"note_txs": [
{
"block_num": 123,
"tx_id": "<string>",
"index": 123,
"note": {}
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/scanshieldedtrc20notesbyivk \
--header 'Content-Type: application/json' \
--data '{
"start_block_index": 10000000,
"end_block_index": 10001000,
"ivk": "0x05d4e5f6789012345678901234567890123456789012345678901234567890abcdef",
"ak": "0x03b2c3d4e5f6789012345678901234567890123456789012345678901234567890ab",
"nk": "0x04c3d4e5f6789012345678901234567890123456789012345678901234567890abcd",
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp"
}'
{
"note_txs": [
{
"block_num": 123,
"tx_id": "<string>",
"index": 123,
"note": {}
}
]
}
start_block_index
— the starting block number for scanningend_block_index
— the ending block number for scanningivk
— the incoming viewing key for decrypting notesak
— the authentication key for verificationnk
— the nullifier key for note identificationshielded_TRC20_contract_address
— the shielded TRC20 contract address to scannote_txs
— array of found shielded note transactionsblock_num
— block number where notes were foundtx_id
— transaction ID containing the notesindex
— index of the note within the transactionnote
— the decrypted note details including value and payment addresswallet/scanshieldedtrc20notesbyivk
method is used for:
Successfully scanned for shielded notes
The response is of type object
.