curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/isshieldedtrc20contractnotespent \
--header 'Content-Type: application/json' \
--data '{
"nullifiers": [
"0x1446f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7"
],
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp",
"block_num": 10001000
}'
{
"spent_status": [
{
"nullifier": "0x1446f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7",
"spent": false
}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/isshieldedtrc20contractnotespent \
--header 'Content-Type: application/json' \
--data '{
"nullifiers": [
"0x1446f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7"
],
"shielded_TRC20_contract_address": "TGzz8gjYiYRqpfmDwnLxfgPuLVNmpCswVp",
"block_num": 10001000
}'
{
"spent_status": [
{
"nullifier": "0x1446f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7",
"spent": false
}
]
}
nullifiers
— array of nullifiers to check for spending statusshielded_TRC20_contract_address
— the shielded TRC20 contract addressblock_num
— optional block number to check status at specific heightspent_status
— array indicating which nullifiers have been spentnullifier
— the nullifier that was checkedspent
— boolean indicating if the nullifier has been used (true = spent, false = unspent)wallet/isshieldedtrc20contractnotespent
method is used for:
Successfully checked nullifier spending status
The response is of type object
.