Skip to content
docs

FyndProviderConfig

Defined in: protocol-swap2-fynd/src/provider.ts:43

optional apiKey?: string

Defined in: protocol-swap2-fynd/src/provider.ts:46

Hosted API key (raw Authorization value). Server-side only.


optional baseUrl?: string

Defined in: protocol-swap2-fynd/src/provider.ts:48

Hosted API base URL; requests go to {baseUrl}/v1/{chain}/quote.


optional defaultSlippageBps?: number

Defined in: protocol-swap2-fynd/src/provider.ts:53


optional enabled?: boolean

Defined in: protocol-swap2-fynd/src/provider.ts:44


optional excludeProtocols?: readonly string[]

Defined in: protocol-swap2-fynd/src/provider.ts:57

Protocol names or family prefixes ending in “:” Fynd must not route through. Default FYND_DEFAULT_EXCLUDED_PROTOCOLS.


optional quoteTtlMs?: number

Defined in: protocol-swap2-fynd/src/provider.ts:54


optional rpcUrls?: Readonly<Record<number, readonly string[]>>

Defined in: protocol-swap2-fynd/src/provider.ts:52

JSON-RPC endpoints per chain id: pre-broadcast simulation and receipts. Optional.


optional selfHosted?: Readonly<Record<number, string>>

Defined in: protocol-swap2-fynd/src/provider.ts:50

Your own Fynd servers per EVM chain id; requests go to {url}/v1/quote, no key. Takes precedence over the hosted API for that chain.


optional timeoutMs?: number

Defined in: protocol-swap2-fynd/src/provider.ts:55