> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/variables/variable/variable.data.md).

# Variable.data

Returns the canonical name of the variable.

`property data: Dict`

## Query Example

```python
from glider import *


def query():
  state_variables = (
    StateVariables()
    .exec(5)
  )

  print(state_variables[0].data)

  return state_variables
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FvmvwmBHEWZRV2m7sces6%2Fimage.png?alt=media&amp;token=e945bd06-74d1-47fc-9af8-cd3d835d4485" alt=""><figcaption></figcaption></figure>

Data example

```json5
{
    '_key': '5e36c16804631f71358ec0d5ed734cb8',
    '_id': 'variables/5e36c16804631f71358ec0d5ed734cb8',
    '_rev': '_iaeY95G--_',
    'name': 'symbol',
    'canonical_name': 'REBITCOIN.symbol',
    'type': {
                'type': 'elementary',
                'name': 'string'
            },
    'visibility': 'public',
    'accessible': True,
    'is_constant': True,
    'is_immutable': False,
    'relative_filepath': 'REBITCOIN.sol',
    'first_source_line': 17,
    'last_source_line': 17,
    'start_column': 5,
    'end_column': 43
}
```
