Skip to content
docs

acrossQuoteOf

acrossQuoteOf(request, quote, opts?): Quote

Defined in: protocol-swap2-across/src/build.ts:165

A swap2 Quote for a request and a quote source’s numbers: the deposit is built here (and verified), the amounts it shows are the deposit’s, and providerData seals the request and the numbers so the same deposit can be rebuilt and checked again before a build and a signature. fees and feeUsd are the verified fee’s own (acrossQuoteFeesOf) — never the quote source’s figures — and validUntilMs ends while the SpokePool still takes the quote time.

AcrossRequest

NormalizedAcrossQuote

AcrossQuoteOptions = {}

Quote