> For the complete documentation index, see [llms.txt](https://docs.validationcloud.io/v1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.validationcloud.io/v1/tron/tron-solidity-api/tronz-shielded-smart-contract/isshieldedtrc20contractnotespent.md).

# IsShieldedTrc20ContractNoteSpent

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

This method will use `30` [Compute Units](/v1/about/billing.md).

***

## **Parameters**

* `ak` - String - <mark style="color:red;">Required</mark> - A string representing the address key (ak)
* `nk` - String - <mark style="color:red;">Required</mark> - A string representing the note key (nk)
* `position` - String - <mark style="color:red;">Required</mark> - The position of the shielded TRC20 contract note
* `shielded_TRC20_contract_address` - String - <mark style="color:red;">Required</mark> - The address of the shielded TRC20 contract

## **Returns**

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

{% tabs %}
{% tab title="mainnet" %}

```bash
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"
}
''
```

{% endtab %}
{% endtabs %}
