changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "amountIn": {
+ "type": "string"
+ },
+ "amountInWei": {
+ "type": "string"
+ },
+ "appData": {
+ "type": "string"
+ },
+ "appDataHash": {
+ "type": "string"
+ },
+ "approval": {
+ "description": "Present for ERC-20 input tokens",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "required_if_allowance_below": {
+ "type": "string"
+ },
+ "spender": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "tx": {
+ "properties": {
+ "chainId": {
+ "type": "integer"
+ },
+ "data": {
+ "type": "string"
+ },
+ "from": {
+ "type": "string"
+ },
+ "gas": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ },
+ "value": {
+ "description": "0x hex wei",
+ "type": "string"
+ }
+ },
+ "required": [
+ "chainId",
+ "to",
+ "data",
+ "value",
+ "from"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "required_if_allowance_below",
+ "token",
+ "spender",
+ "tx"
+ ],
+ "type": "object"
+ },
+ "chain": {
+ "type": "string"
+ },
+ "chainId": {
+ "type": "integer"
+ },
+ "expectedOut": {
+ "type": "string"
+ },
+ "expectedOutWei": {
+ "type": "string"
+ },
+ "fee": {
+ "description": "Disclosed Quietwork fee (already reflected in expectedOut)",
+ "properties": {
+ "amountWei": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "bps": {
+ "type": "number"
+ },
+ "note": {
+ "type": "string"
+ },
+ "percent": {
+ "type": "number"
+ },
+ "receiver": {
+ "type": "string"
+ },
+ "takenFrom": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "venue": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "bps",
+ "percent",
+ "takenFrom",
+ "receiver",
+ "note"
+ ],
+ "type": "object"
+ },
+ "minOut": {
+ "type": "string"
+ },
+ "minOutWei": {
+ "type": "string"
+ },
+ "networkCostInSellToken": {
+ "type": "string"
+ },
+ "next": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "order": {
+ "properties": {
+ "appData": {
+ "type": "string"
+ },
+ "buyAmount": {
+ "type": "string"
+ },
+ "buyToken": {
+ "type": "string"
+ },
+ "buyTokenBalance": {
+ "type": "string"
+ },
+ "feeAmount": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "partiallyFillable": {
+ "type": "boolean"
+ },
+ "receiver": {
+ "type": "string"
+ },
+ "sellAmount": {
+ "type": "string"
+ },
+ "sellToken": {
+ "type": "string"
+ },
+ "sellTokenBalance": {
+ "type": "string"
+ },
+ "validTo": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "sellToken",
+ "buyToken",
+ "receiver",
+ "sellAmount",
+ "buyAmount",
+ "validTo",
+ "appData",
+ "feeAmount",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "protocolFeeBps": {
+ "type": [
+ "number",
+ "string",
+ "null"
+ ]
+ },
+ "quoteId": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "receiver": {
+ "type": "string"
+ },
+ "sender": {
+ "type": "string"
+ },
+ "slippageBps": {
+ "type": "integer"
+ },
+ "tokenIn": {
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "integer"
+ },
+ "symbol": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address",
+ "decimals",
+ "symbol"
+ ],
+ "type": "object"
+ },
+ "tokenOut": {
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "integer"
+ },
+ "symbol": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "address",
+ "decimals",
+ "symbol"
+ ],
+ "type": "object"
+ },
+ "typedData": {
+ "properties": {
+ "domain": {
+ "type": "object"
+ },
+ "message": {
+ "type": "object"
+ },
+ "primaryType": {
+ "type": "string"
+ },
+ "types": {
+ "type": "object"
+ }
+ },
+ "required": [
+ "types",
+ "primaryType",
+ "domain",
+ "message"
+ ],
+ "type": "object"
+ },
+ "validTo": {
+ "type": "integer"
+ },
+ "venue": {
+ "const": "cow"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "venue",
+ "chain",
+ "chainId",
+ "tokenIn",
+ "tokenOut",
+ "amountIn",
+ "amountInWei",
+ "expectedOut",
+ "expectedOutWei",
+ "fee",
+ "minOut",
+ "minOutWei",
+ "order",
+ "typedData",
+ "approval",
+ "next"
+ ],
+ "type": "object"
+}