Skip to content
docs

checkAcrossQuote

checkAcrossQuote(request, quote, tx?): VerifiedAcrossDeposit

Defined in: protocol-swap2-across/src/verify.ts:460

A quote of this provider against the request it answers: its transaction passes verifyAcrossDeposit, its id names that very calldata, and the amounts it shows are the deposit’s (outputAmount is what the recipient gets — a relayer pays exactly that), its fees too (acrossQuoteFeesOf: the engine’s fee caps read them), and it claims to live no longer than the SpokePool takes its quote time. Throws AcrossRefusal. Used on the client of a remote provider and again before a build and a signature.

AcrossRequest

Quote

AcrossDepositTx & object

VerifiedAcrossDeposit