0x · Schema

0x Liquidity Source

A liquidity venue (AMM or RFQ market maker) that 0x routes against. Returned by GET /sources.

CryptocurrencyDeFiDEX AggregatorSwapGaslessCross-ChainPermit2LiquidityTrade AnalyticsWeb3SettlementSmart Contracts

Properties

Name Type Description
chainId integer
name string Source identifier (e.g. UniswapV3, Curve, Balancer, RFQ).
kind string
enabled boolean
View JSON Schema on GitHub

JSON Schema

0x-liquidity-source-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/0x/main/json-schema/0x-liquidity-source-schema.json",
  "title": "0x Liquidity Source",
  "description": "A liquidity venue (AMM or RFQ market maker) that 0x routes against. Returned by GET /sources.",
  "type": "object",
  "properties": {
    "chainId": {
      "type": "integer"
    },
    "name": {
      "type": "string",
      "description": "Source identifier (e.g. UniswapV3, Curve, Balancer, RFQ)."
    },
    "kind": {
      "type": "string",
      "enum": [
        "amm",
        "rfq",
        "private",
        "intent"
      ]
    },
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "chainId",
    "name"
  ]
}