> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ScanShieldedTrc20NotesByIvk

Scan outgoing notes (Confirmed state).

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

***

## **Parameters**

* `start_block_index` - Int32 - <span style={{color: "red"}}>Required</span> - An integer representing the starting block index for the shielded TRC20 contract events
* `end_block_index` - Int32 - <span style={{color: "red"}}>Required</span> - An integer representing the ending block index for the shielded TRC20 contract events
* `shielded_TRC20_contract_address` - String - <span style={{color: "red"}}>Required</span> - The address of the shielded TRC20 contract
* `ivk` - String - <span style={{color: "red"}}>Required</span> - A string representing the incoming viewing key (ivk) associated with the shielded TRC20 contract
* `ak` - String - <span style={{color: "red"}}>Required</span> - A string representing the address key (ak)
* `nk` - String - <span style={{color: "red"}}>Required</span> - A string representing the note key (nk)
* `visible` - boolean - <span style={{color: "red"}}>Required</span> - A boolean value indicating whether the events should be visible or not

## **Returns**

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

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/walletsolidity/scanshieldedtrc20notesbyivk \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
        "ivk": "INCOMING_VIEWING_KEY",
        "shielded_TRC20_contract_address": "CONTRACT_ADDRESS",
        "end_block_index": 567,
        "start_block_index": 345,
        "ak": "ADDRESS_KEY",
        "visible": true,
        "nk": "NOTE_KEY"
  }
  '
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.