> ## 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.

# quote 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/quote.ts). See the [reference index](https://trust-link-tsn.mintlify.site/sdk/api-reference.md) for package import boundaries and verification scope.

## quoteTransferFeeUiAmount

Import from `@trustlink/tsn-sdk` or `@trustlink/tsn-sdk/quote`. [Implementation, line 21](https://github.com/bigdreamsweb3/trustlink-pay/blob/main/tsn-protocol/sdks/tsn-sdk/src/quote.ts#L21).

```ts theme={null}
quoteTransferFeeUiAmount(input: TsnTransferFeeQuoteInput): number
```

## TsnTransferFeeQuoteInput

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

```ts theme={null}
export type TsnTransferFeeQuoteInput = {
  estimatedNetworkFeeLamports: number;
  solUsd: number | null;
  tokenUsd: number | null;
  tokenDecimals: number;
  coverageTxCount: number;
  feeBps: number;
  maxMarginUsd: number;
  maxUiAmount: number;
};
```


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