# sampleRawTokenType

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight/ledger v8.1.3**](https://docs.midnight.network/api-reference/ledger.md)

***

[@midnight/ledger](https://docs.midnight.network/api-reference/ledger/globals.md) / sampleRawTokenType

# Function: sampleRawTokenType()

```
function sampleRawTokenType(): string;
```

Samples a uniform raw token type, for use in testing to construct both the shielded and unshielded token types.

## Returns[​](#returns "Direct link to Returns")

`string`
