StargateQuoteConfig
Defined in: protocol-swap2-stargate/src/quote.ts:72
Extends
Section titled “Extends”StargateRpcConfig
Extended by
Section titled “Extended by”Properties
Section titled “Properties”feeHeadroomBps?
Section titled “feeHeadroomBps?”
optionalfeeHeadroomBps?:number
Defined in: protocol-swap2-stargate/src/quote.ts:77
Integer 0..10000, default 2500. This is a cap, not an additional charged fee.
fetchImpl?
Section titled “fetchImpl?”
optionalfetchImpl?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: protocol-swap2-stargate/src/rpc.ts:12
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”URL | RequestInfo
RequestInit
Returns
Section titled “Returns”Promise<Response>
Call Signature
Section titled “Call Signature”(
input,init?):Promise<Response>
Parameters
Section titled “Parameters”string | URL | Request
RequestInit
Returns
Section titled “Returns”Promise<Response>
Inherited from
Section titled “Inherited from”StargateRpcConfig.fetchImpl
quoteTtlMs?
Section titled “quoteTtlMs?”
optionalquoteTtlMs?:number
Defined in: protocol-swap2-stargate/src/quote.ts:75
registry?
Section titled “registry?”
optionalregistry?:StargateRegistry
Defined in: protocol-swap2-stargate/src/quote.ts:74
Locally reviewed pins; never populate this from an untrusted discovery API.
rpcUrls
Section titled “rpcUrls”rpcUrls:
Readonly<Record<string,string| readonlystring[]>>
Defined in: protocol-swap2-stargate/src/rpc.ts:11
Both source and destination RPCs are required. URLs are never included in errors.
Inherited from
Section titled “Inherited from”StargateRpcConfig.rpcUrls