FyndProviderConfig
Defined in: protocol-swap2-fynd/src/provider.ts:43
Extended by
Section titled “Extended by”Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey?:string
Defined in: protocol-swap2-fynd/src/provider.ts:46
Hosted API key (raw Authorization value). Server-side only.
baseUrl?
Section titled “baseUrl?”
optionalbaseUrl?:string
Defined in: protocol-swap2-fynd/src/provider.ts:48
Hosted API base URL; requests go to {baseUrl}/v1/{chain}/quote.
defaultSlippageBps?
Section titled “defaultSlippageBps?”
optionaldefaultSlippageBps?:number
Defined in: protocol-swap2-fynd/src/provider.ts:53
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: protocol-swap2-fynd/src/provider.ts:44
excludeProtocols?
Section titled “excludeProtocols?”
optionalexcludeProtocols?: readonlystring[]
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.
quoteTtlMs?
Section titled “quoteTtlMs?”
optionalquoteTtlMs?:number
Defined in: protocol-swap2-fynd/src/provider.ts:54
rpcUrls?
Section titled “rpcUrls?”
optionalrpcUrls?:Readonly<Record<number, readonlystring[]>>
Defined in: protocol-swap2-fynd/src/provider.ts:52
JSON-RPC endpoints per chain id: pre-broadcast simulation and receipts. Optional.
selfHosted?
Section titled “selfHosted?”
optionalselfHosted?: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.
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?:number
Defined in: protocol-swap2-fynd/src/provider.ts:55