curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/scanshieldedtrc20notesbyovk \
--header 'Content-Type: application/json' \
--data '
{
"start_block_index": 10000000,
"end_block_index": 10000001,
"ovk": "0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889",
"shielded_TRC20_contract_address": "41274fc7464fadac5c00c893c58bce6c39bf59e4c7"
}
'{
"noteTxs": [
{
"txid": "<string>",
"index": 123,
"note": {
"value": 123,
"payment_address": "<string>",
"rcm": "<string>",
"memo": "<string>"
},
"position": 123,
"is_spent": true
}
]
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/scanshieldedtrc20notesbyovk \
--header 'Content-Type: application/json' \
--data '
{
"start_block_index": 10000000,
"end_block_index": 10000001,
"ovk": "0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889",
"shielded_TRC20_contract_address": "41274fc7464fadac5c00c893c58bce6c39bf59e4c7"
}
'{
"noteTxs": [
{
"txid": "<string>",
"index": 123,
"note": {
"value": 123,
"payment_address": "<string>",
"rcm": "<string>",
"memo": "<string>"
},
"position": 123,
"is_spent": true
}
]
}ovk must be provided without the 0x prefix and must be exactly 64 hexadecimal characters (32 bytes). The shielded_TRC20_contract_address must be in hex format (starting with 41), not base58 format. There is a block range limit: (end_block_index - start_block_index) <= 1000.start_block_index — the starting block number for scanning (inclusive)end_block_index — the ending block number for scanning (exclusive, max 1000 blocks from start)ovk — the outgoing viewing key for decrypting sent notes (64 hex characters, no 0x prefix)shielded_TRC20_contract_address — the shielded TRC20 contract address to scan (hex format starting with 41, no 0x prefix)noteTxs — array of found outgoing shielded note transactions
txid — transaction ID containing the noteindex — index of the note within the transactionnote — the decrypted note details
value — note valuepayment_address — recipient shielded payment addressrcm — randomness commitmentmemo — optional memo fieldposition — position in the merkle treeis_spent — whether the note has been spentwallet/scanshieldedtrc20notesbyovk method is used for:
Starting block number for scanning
10000000
Ending block number for scanning
10000001
Outgoing viewing key for decrypting sent notes (64 hex characters, no 0x prefix)
"0ff58efd75e083fe4fd759c8701e1c8cb6961c4297a12b2c800bdb7b2bcab889"
Shielded TRC20 contract address to scan (hex format, no 0x prefix)
"41274fc7464fadac5c00c893c58bce6c39bf59e4c7"
Successfully scanned for outgoing shielded notes
Array of found outgoing shielded note transactions
Show child attributes
Transaction ID containing the note
Index of note within transaction
Position in the merkle tree
Whether the note has been spent
Was this page helpful?