{
  "x402Version": 2,
  "id": 36687,
  "slug": "36687",
  "resource": "https://relay.straelo.com/defi-execution-snapshot",
  "description": "Compare read-only Base swap quotes from 1inch and KyberSwap, returning normalized comparable output, consensus, dispersion, quote evidence, and explicit provider limitations without executing a swap.",
  "type": "http",
  "serviceName": "Straelo Relay",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x267ead21c0a5c1bf7e44cb357641556edc52d232",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "best_provider": {
            "description": "Best comparable provider only when at least two valid quotes are available.",
            "type": [
              "string",
              "null"
            ]
          },
          "confidence": {
            "description": "Deterministic quote-comparison confidence; two providers never produce HIGH in this MVP.",
            "enum": [
              "LOW",
              "MEDIUM"
            ],
            "type": "string"
          },
          "consensus": {
            "description": "Comparable-output median and comparison basis when two provider quotes are valid.",
            "type": [
              "object",
              "null"
            ]
          },
          "economic_advantage": {
            "description": "Best quote versus declared baseline or next available quote; never ROI.",
            "type": [
              "object",
              "null"
            ]
          },
          "economics": {
            "description": "Known or unknown estimated provider COGS; unknown is never represented as zero.",
            "type": "object"
          },
          "evidence_quality": {
            "description": "Per-provider reported, calculated, estimated, or unavailable field quality.",
            "type": "object"
          },
          "observed_at": {
            "format": "date-time",
            "type": "string"
          },
          "partial": {
            "description": "True when one or more providers did not yield a valid quote.",
            "type": "boolean"
          },
          "provider_failures": {
            "items": {
              "properties": {
                "category": {
                  "type": "string"
                },
                "provider": {
                  "type": "string"
                }
              },
              "required": [
                "provider",
                "category"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "quotes": {
            "description": "Normalized provider quote evidence in raw token units.",
            "items": {
              "type": "object"
            },
            "type": "array"
          },
          "status": {
            "enum": [
              "COMPARISON_AVAILABLE",
              "PARTIAL",
              "UPSTREAM_UNAVAILABLE"
            ],
            "type": "string"
          },
          "usage": {
            "description": "Per-provider call success, latency, and configured cost-estimate availability.",
            "type": "object"
          }
        },
        "required": [
          "status",
          "best_provider",
          "confidence",
          "quotes",
          "consensus",
          "economic_advantage",
          "partial",
          "provider_failures",
          "evidence_quality",
          "usage",
          "economics",
          "observed_at"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount_in": "0.1",
            "chain": "base",
            "slippage_bps": 50,
            "token_in": "WETH",
            "token_out": "USDC"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "best_provider": "kyberswap",
            "confidence": "MEDIUM",
            "consensus": {
              "basis": "gross_output_only",
              "comparable_output_raw": 0
            },
            "economic_advantage": null,
            "economics": {
              "total_estimated_cogs_usd": null
            },
            "evidence_quality": {},
            "observed_at": "2026-01-01T00:00:00Z",
            "partial": false,
            "provider_failures": [],
            "quotes": [],
            "status": "COMPARISON_AVAILABLE",
            "usage": {
              "provider_calls": []
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "amount_in": {
                    "description": "Positive decimal input amount, converted exactly to raw token units.",
                    "type": "string"
                  },
                  "baseline_provider": {
                    "description": "Optional provider used only for a direct economic comparison.",
                    "enum": [
                      "oneinch",
                      "kyberswap"
                    ],
                    "type": "string"
                  },
                  "chain": {
                    "description": "Base Mainnet only in this quote-only MVP.",
                    "enum": [
                      "base"
                    ],
                    "type": "string"
                  },
                  "slippage_bps": {
                    "description": "Slippage tolerance in basis points; it is not treated as a cost.",
                    "maximum": 10000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "token_in": {
                    "description": "Input Base asset symbol.",
                    "enum": [
                      "USDC",
                      "USDT",
                      "ETH",
                      "WETH"
                    ],
                    "type": "string"
                  },
                  "token_out": {
                    "description": "Output Base asset symbol; must differ from token_in.",
                    "enum": [
                      "USDC",
                      "USDT",
                      "ETH",
                      "WETH"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chain",
                  "token_in",
                  "token_out",
                  "amount_in",
                  "slippage_bps"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "best_provider": {
                    "description": "Best comparable provider only when at least two valid quotes are available.",
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "confidence": {
                    "description": "Deterministic quote-comparison confidence; two providers never produce HIGH in this MVP.",
                    "enum": [
                      "LOW",
                      "MEDIUM"
                    ],
                    "type": "string"
                  },
                  "consensus": {
                    "description": "Comparable-output median and comparison basis when two provider quotes are valid.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "economic_advantage": {
                    "description": "Best quote versus declared baseline or next available quote; never ROI.",
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "economics": {
                    "description": "Known or unknown estimated provider COGS; unknown is never represented as zero.",
                    "type": "object"
                  },
                  "evidence_quality": {
                    "description": "Per-provider reported, calculated, estimated, or unavailable field quality.",
                    "type": "object"
                  },
                  "observed_at": {
                    "format": "date-time",
                    "type": "string"
                  },
                  "partial": {
                    "description": "True when one or more providers did not yield a valid quote.",
                    "type": "boolean"
                  },
                  "provider_failures": {
                    "items": {
                      "properties": {
                        "category": {
                          "type": "string"
                        },
                        "provider": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "provider",
                        "category"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "quotes": {
                    "description": "Normalized provider quote evidence in raw token units.",
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "status": {
                    "enum": [
                      "COMPARISON_AVAILABLE",
                      "PARTIAL",
                      "UPSTREAM_UNAVAILABLE"
                    ],
                    "type": "string"
                  },
                  "usage": {
                    "description": "Per-provider call success, latency, and configured cost-estimate availability.",
                    "type": "object"
                  }
                },
                "required": [
                  "status",
                  "best_provider",
                  "confidence",
                  "quotes",
                  "consensus",
                  "economic_advantage",
                  "partial",
                  "provider_failures",
                  "evidence_quality",
                  "usage",
                  "economics",
                  "observed_at"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "defi",
    "swap",
    "quote",
    "base",
    "routing",
    "bazaar"
  ],
  "sourceHost": "relay.straelo.com",
  "lastUpdated": "2026-10-01T14:31:02.931Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T14:31:02.663Z"
  },
  "metadata": {
    "serviceName": "Straelo Relay",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount_in": "0.1",
              "chain": "base",
              "slippage_bps": 50,
              "token_in": "WETH",
              "token_out": "USDC"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "best_provider": "kyberswap",
              "confidence": "MEDIUM",
              "consensus": {
                "basis": "gross_output_only",
                "comparable_output_raw": 0
              },
              "economic_advantage": null,
              "economics": {
                "total_estimated_cogs_usd": null
              },
              "evidence_quality": {},
              "observed_at": "2026-01-01T00:00:00Z",
              "partial": false,
              "provider_failures": [],
              "quotes": [],
              "status": "COMPARISON_AVAILABLE",
              "usage": {
                "provider_calls": []
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "amount_in": {
                      "description": "Positive decimal input amount, converted exactly to raw token units.",
                      "type": "string"
                    },
                    "baseline_provider": {
                      "description": "Optional provider used only for a direct economic comparison.",
                      "enum": [
                        "oneinch",
                        "kyberswap"
                      ],
                      "type": "string"
                    },
                    "chain": {
                      "description": "Base Mainnet only in this quote-only MVP.",
                      "enum": [
                        "base"
                      ],
                      "type": "string"
                    },
                    "slippage_bps": {
                      "description": "Slippage tolerance in basis points; it is not treated as a cost.",
                      "maximum": 10000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "token_in": {
                      "description": "Input Base asset symbol.",
                      "enum": [
                        "USDC",
                        "USDT",
                        "ETH",
                        "WETH"
                      ],
                      "type": "string"
                    },
                    "token_out": {
                      "description": "Output Base asset symbol; must differ from token_in.",
                      "enum": [
                        "USDC",
                        "USDT",
                        "ETH",
                        "WETH"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain",
                    "token_in",
                    "token_out",
                    "amount_in",
                    "slippage_bps"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "best_provider": {
                      "description": "Best comparable provider only when at least two valid quotes are available.",
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "confidence": {
                      "description": "Deterministic quote-comparison confidence; two providers never produce HIGH in this MVP.",
                      "enum": [
                        "LOW",
                        "MEDIUM"
                      ],
                      "type": "string"
                    },
                    "consensus": {
                      "description": "Comparable-output median and comparison basis when two provider quotes are valid.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "economic_advantage": {
                      "description": "Best quote versus declared baseline or next available quote; never ROI.",
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "economics": {
                      "description": "Known or unknown estimated provider COGS; unknown is never represented as zero.",
                      "type": "object"
                    },
                    "evidence_quality": {
                      "description": "Per-provider reported, calculated, estimated, or unavailable field quality.",
                      "type": "object"
                    },
                    "observed_at": {
                      "format": "date-time",
                      "type": "string"
                    },
                    "partial": {
                      "description": "True when one or more providers did not yield a valid quote.",
                      "type": "boolean"
                    },
                    "provider_failures": {
                      "items": {
                        "properties": {
                          "category": {
                            "type": "string"
                          },
                          "provider": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "provider",
                          "category"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "quotes": {
                      "description": "Normalized provider quote evidence in raw token units.",
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "status": {
                      "enum": [
                        "COMPARISON_AVAILABLE",
                        "PARTIAL",
                        "UPSTREAM_UNAVAILABLE"
                      ],
                      "type": "string"
                    },
                    "usage": {
                      "description": "Per-provider call success, latency, and configured cost-estimate availability.",
                      "type": "object"
                    }
                  },
                  "required": [
                    "status",
                    "best_provider",
                    "confidence",
                    "quotes",
                    "consensus",
                    "economic_advantage",
                    "partial",
                    "provider_failures",
                    "evidence_quality",
                    "usage",
                    "economics",
                    "observed_at"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "relay.straelo.com",
    "manifest_name": "relay.straelo.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "best_provider": "string",
      "confidence": "LOW",
      "consensus": {},
      "economic_advantage": {},
      "economics": {},
      "evidence_quality": {},
      "observed_at": "2026-01-01T00:00:00Z",
      "partial": true,
      "provider_failures": [
        {
          "category": "string",
          "provider": "string"
        }
      ],
      "quotes": [
        {}
      ],
      "status": "COMPARISON_AVAILABLE",
      "usage": {}
    },
    "type": "string"
  }
}