# sampleTokenType

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

[**@midnight-ntwrk/compact-runtime v0.9.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / sampleTokenType

# Function: sampleTokenType()

```
function sampleTokenType(): string;
```

Samples a uniform token type, for use in testing

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

`string`
