Skip to content
docs

lifiVerifyQuote

lifiVerifyQuote(params, quote): string | null

Defined in: protocol-swap2-lifi/src/provider.ts:666

A remote LI.FI quote’s Diamond call, decoded on the device against the app’s own request (scan 2026-10-30, F3) — the same diamondCallMismatch the provider runs on LI.FI’s answer, with the expectation it builds: the input token and amount, the requested output token, the recipient, the quoted minimum (at least the caller’s floor), the destination chain. A native input is paid in value (any excess is the declared bridge fee); a token input attaches only that declared fee and approves the Diamond. A Solana source carries a serialized transaction instead, which the account proves before signing: not judged here. The reason it fails, or null.

QuoteParams

Quote

string | null