Skip to content
docs

Usdt0ProviderConfig

Defined in: protocol-swap2-usdt0/src/provider.ts:72

optional enabled?: boolean

Defined in: protocol-swap2-usdt0/src/provider.ts:73


optional fetchImpl?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: protocol-swap2-usdt0/src/provider.ts:85

Injectable for tests (also used by the RPC transport).

(input, init?): Promise<Response>

MDN Reference

RequestInfo | URL

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | Request | URL

RequestInit

Promise<Response>


optional quoteTtlMs?: number

Defined in: protocol-swap2-usdt0/src/provider.ts:83

Local lifetime of a quote (default 60 s; the sealed fee is re-checked at preflight).


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

Defined in: protocol-swap2-usdt0/src/provider.ts:79

JSON-RPC URL(s) per CAIP-2 chain. REQUIRED for every chain the provider should quote from: the fee and the received amount come from the OFT itself. The destination RPC is optional (used for the stored-payload retry).


optional scanUrl?: string

Defined in: protocol-swap2-usdt0/src/provider.ts:81

LayerZero Scan base (default https://scan.layerzero-api.com).