CctpProviderConfig
Defined in: protocol-swap2-cctp/src/provider.ts:52
Extended by
Section titled “Extended by”Properties
Section titled “Properties”apiUrl?
Section titled “apiUrl?”
optionalapiUrl?:string
Defined in: protocol-swap2-cctp/src/provider.ts:55
Circle attestation API base (default https://iris-api.circle.com).
enabled?
Section titled “enabled?”
optionalenabled?:boolean
Defined in: protocol-swap2-cctp/src/provider.ts:53
feeBufferPct?
Section titled “feeBufferPct?”
optionalfeeBufferPct?:number
Defined in: protocol-swap2-cctp/src/provider.ts:59
Extra headroom on the published Fast fee, in percent of the fee (default 10). The excess is never charged.
fetchImpl?
Section titled “fetchImpl?”
optionalfetchImpl?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: protocol-swap2-cctp/src/provider.ts:69
Injectable for tests.
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>
optionalmode?:CctpMode
Defined in: protocol-swap2-cctp/src/provider.ts:57
Fast when offered and within the allowance (default), or force one path.
quoteTtlMs?
Section titled “quoteTtlMs?”
optionalquoteTtlMs?:number
Defined in: protocol-swap2-cctp/src/provider.ts:67
Local lifetime of a quote (fees are stable; default 60 s).
rpcUrls?
Section titled “rpcUrls?”
optionalrpcUrls?:Readonly<Record<string,string>>
Defined in: protocol-swap2-cctp/src/provider.ts:65
JSON-RPC URLs per CAIP-2 chain. Optional, but with them the provider
verifies the contracts before the burn and detects the mint on the
destination (usedNonces) so the status reaches “completed” by itself.