verifyRelayOrder
verifyRelayOrder(
request,protocol,deposit?):VerifiedRelayOrder
Defined in: protocol-swap2-relay/src/verify.ts:256
Check an order against the user’s request and — when given — a deposit transaction against the order. Returns the parsed order, its id and the deposit this module builds for it; throws RelayRefusal otherwise.
deposit is what the API proposed (at quote time) or what is about to be signed (before signing). Without it the
order alone is checked and the caller uses the returned deposit.
Parameters
Section titled “Parameters”request
Section titled “request”protocol
Section titled “protocol”RelayProtocolData | null | undefined