IsShieldedTrc20ContractNoteSpent

Checks whether a specific shielded TRC20 contract note has been spent or not.

This method will use 30 Compute Units.


Parameters

  • ak - String - Required - A string representing the address key (ak)

  • nk - String - Required - A string representing the note key (nk)

  • position - String - Required - The position of the shielded TRC20 contract note

  • shielded_TRC20_contract_address - String - Required - The address of the shielded TRC20 contract

Returns

is_spent - indicates whether the specified shielded TRC20 contract note has been spent or not

curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/walletsolidity/isshieldedtrc20contractnotespent \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
      "ak": "ADDRESS_KEY",
      "nk": "NOTE_KEY",
      "position": "POSITION",
      "shielded_TRC20_contract_address": "CONTRACT_ADDRESS"
}
''

Last updated

Was this helpful?