changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "additionalProperties": false,
- "properties": {
- "alternatives": {
- "description": "Every other venue that raced and produced a usable quote, best expected net output first (a quote with slippage.noMinimum counts 0.3% under its outputAmount, the shortfall such a venue typically delivers). Each has its own quoteToken to pass to ravn_execute instead. Empty when no other venue could serve this pair, or when a route was excluded via excludeVenues",
- "items": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": "array"
- },
- "estimatedTimeIsGuess": {
- "description": "True when the time is RAVN's estimate, not the venue's own figure",
- "type": "boolean"
- },
- "estimatedTimeSeconds": {
- "type": "number"
- },
- "executable": {
- "description": "False = preview-only price, priced against a placeholder destination/refund address. ravn_execute will fail with QUOTE_NOT_EXECUTABLE — request a fresh quote with destinationAddress/refundAddress supplied instead",
- "type": "boolean"
- },
- "expiresAt": {
- "type": "number"
- },
- "fee": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "gas": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "estimated": {
- "type": "boolean"
- },
- "native": {
- "type": "string"
- },
- "nativeSymbol": {
- "type": "string"
- },
- "usd": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "native",
- "nativeSymbol",
- "usd",
- "estimated"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The native gas the user must hold; null on gasless venues"
- },
- "hops": {
- "description": "2-hop / dest-call: the venues actually used. Sign hop 1; hop 2 is a unique deposit",
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "input": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "inputUsd": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "USD value of the input amount, same price source as gas.usd. Null when the token can't be priced"
- },
- "output": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "outputUsd": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "USD value of the output amount. Compare against inputUsd for price impact"
- },
- "quoteToken": {
- "description": "Opaque token — pass to ravn_execute",
- "type": "string"
- },
- "routeType": {
- "type": "string"
- },
- "slippage": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "bps": {
- "type": "number"
- },
- "guaranteedMin": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "isFirm": {
- "type": "boolean"
- },
- "noMinimum": {
- "description": "True when the venue enforces no minimum output (Rift fills at its own rate once the deposit lands); bps is then not a protection",
- "type": "boolean"
- }
- },
- "required": [
- "bps",
- "isFirm",
- "guaranteedMin",
- "noMinimum"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Null when the venue reports no slippage bound"
- },
- "venue": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "quoteToken",
- "venue",
- "routeType",
- "input",
- "output",
- "fee",
- "executable",
- "slippage",
- "gas",
- "inputUsd",
- "outputUsd",
- "estimatedTimeSeconds",
- "estimatedTimeIsGuess",
- "expiresAt",
- "alternatives"
- ],
- "type": "object"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "requestId",
- "version"
- ],
- "type": "object"
- }
- },
- "required": [
- "data",
- "meta"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "details": {},
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "meta": {
- "additionalProperties": false,
- "properties": {
- "requestId": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "requestId",
- "version"
- ],
- "type": "object"
- }
- },
- "required": [
- "error",
- "meta"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "alternatives": {
+ "description": "Every other venue that raced and produced a usable quote, best expected net output first (a quote with slippage.noMinimum counts 0.3% under its outputAmount, the shortfall such a venue typically delivers). Each has its own quoteToken to pass to ravn_execute instead. Empty when no other venue could serve this pair, or when a route was excluded via excludeVenues",
+ "items": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "estimatedTimeIsGuess": {
+ "description": "True when the time is RAVN's estimate, not the venue's own figure",
+ "type": "boolean"
+ },
+ "estimatedTimeSeconds": {
+ "type": "number"
+ },
+ "executable": {
+ "description": "False = preview-only price, priced against a placeholder destination/refund address. ravn_execute will fail with QUOTE_NOT_EXECUTABLE — request a fresh quote with destinationAddress/refundAddress supplied instead",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "type": "number"
+ },
+ "fee": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "gas": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "estimated": {
+ "type": "boolean"
+ },
+ "native": {
+ "type": "string"
+ },
+ "nativeSymbol": {
+ "type": "string"
+ },
+ "usd": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "native",
+ "nativeSymbol",
+ "usd",
+ "estimated"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The native gas the user must hold; null on gasless venues"
+ },
+ "hops": {
+ "description": "RAVN routes (venue.name \"RAVN\": two-hop, or Relay with a DEX on arrival): the venues it runs through, in order. Sign hop 1; hop 2 is a unique deposit",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "input": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "inputUsd": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "USD value of the input amount, same price source as gas.usd. Null when the token can't be priced"
+ },
+ "output": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "outputUsd": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "USD value of the output amount. Compare against inputUsd for price impact"
+ },
+ "quoteToken": {
+ "description": "Opaque token — pass to ravn_execute",
+ "type": "string"
+ },
+ "routeType": {
+ "type": "string"
+ },
+ "slippage": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bps": {
+ "type": "number"
+ },
+ "guaranteedMin": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "isFirm": {
+ "type": "boolean"
+ },
+ "noMinimum": {
+ "description": "True when the venue enforces no minimum output (Rift fills at its own rate once the deposit lands); bps is then not a protection",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "bps",
+ "isFirm",
+ "guaranteedMin",
+ "noMinimum"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null when the venue reports no slippage bound"
+ },
+ "venue": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "quoteToken",
+ "venue",
+ "routeType",
+ "input",
+ "output",
+ "fee",
+ "executable",
+ "slippage",
+ "gas",
+ "inputUsd",
+ "outputUsd",
+ "estimatedTimeSeconds",
+ "estimatedTimeIsGuess",
+ "expiresAt",
+ "alternatives"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "requestId",
+ "version"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data",
+ "meta"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "details": {},
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "requestId": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "requestId",
+ "version"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error",
+ "meta"
+ ],
+ "type": "object"
+ }
+]