Skip to content
docs

RelayRefusalCode

RelayRefusalCode = "request-invalid" | "chain-unsupported" | "protocol-data-missing" | "hub-type" | "order-malformed" | "order-version" | "order-inputs" | "order-payments" | "order-calls" | "order-fees" | "solver-not-pinned" | "input-chain" | "input-currency" | "input-amount" | "input-weight" | "output-chain" | "output-recipient" | "output-currency" | "output-minimum" | "output-expected" | "output-deadline" | "refund-missing" | "refund-chain" | "refund-recipient" | "refund-currency" | "refund-deadline" | "order-id-mismatch" | "signature-invalid" | "payment-details" | "tx-chain" | "tx-target" | "tx-selector" | "tx-calldata" | "tx-depositor" | "tx-token" | "tx-amount" | "tx-id" | "tx-value" | "order-reused" | "app-fee" | "gas-topup" | "quote-gas" | "quote-expiry" | "quote-steps" | "quote-amounts" | "quote-approval" | "quote-shape"

Defined in: protocol-swap2-relay/src/order.ts:18

Why an order, a quote or a deposit was refused. One code per check; the message says what was found.