> ## Documentation Index
> Fetch the complete documentation index at: https://trust-link-tsn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# token-registry API

> Source-derived exports, parameter and result types, public methods and source links.

This reference is generated from the checked-out TypeScript exports. Types and signatures describe the package contract; source presence does not establish deployment or service availability. Error expressions below are direct throws, not an exhaustive list of failures from dependencies.

[Source module](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/token-registry.ts). See the [reference index](https://trust-link-tsn.mintlify.site/sdk/api-reference.md) for package import boundaries and verification scope.

## TsnAllowedToken

Import from `@trustlink/tsn-sdk`. [Implementation, line 1](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/token-registry.ts#L1).

```ts theme={null}
export type TsnAllowedToken = {
  mintAddress: string;
  symbol: string;
  name: string;
  decimals?: number;
};
```

## tsnGetAllowedSplTokens

Import from `@trustlink/tsn-sdk`. [Implementation, line 39](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/token-registry.ts#L39).

```ts theme={null}
tsnGetAllowedSplTokens(env: Record<string, string | undefined>): TsnAllowedToken[]
```

## tsnResolveSplTokenInput

Import from `@trustlink/tsn-sdk`. [Implementation, line 56](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/token-registry.ts#L56).

```ts theme={null}
tsnResolveSplTokenInput(tokenInput: string, env: Record<string, string | undefined>): TsnAllowedToken
```


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