YAD
SiteDocs
SiteDocs
  1. Schemas
  • Introduction
  • Blockchains
    GET
  • List tokens
    POST
  • Liquidity sources
    GET
  • Gas prices
    GET
  • Get price for pair
    GET
  • Transaction allowance
    GET
  • Transaction approve
    GET
  • Get quote for pair
    GET
  • Get Bridge Price
    GET
  • Get Bridge Quote
    GET
  • Get Bridge Tokens
    POST
  • Schemas
    • Schemas
      • types.Protocols
      • sources.Source
      • api.BridgedToken
      • BridgeRoutes
      • api.TokensResponse
      • api.TokenFilter
      • api.Token
      • api.SourcesAPIWrapped
      • api.SourceFilter
      • api.PlatformsAPIWrapped
      • api.PlatformsAPI
      • api.OnChainQuoteResponseAPI
      • api.OnChainPriceResponseAPI
      • api.ListTokenRequest
      • api.GasPriceInfoAPIWrapped
      • api.GasPriceAPIWrapped
      • api.FeeResp
      • api.ApproveResponse
      • api.AllowanceResponse
      • BridgePrice
      • BridgeQuote
      • QuoteDto
SiteDocs
SiteDocs
  1. Schemas

types.Protocols

Liquidity pools.

{
    "type": "dex",
    "protocol_name": "Uniswap_V3",
    "amount_in": "1500000000",
    "amount_out": "1497761574710071333259",
    "percent": 100,
    "pools": {
        "protocol_name": "string",
        "pool_address": "string",
        "amount_in": "string",
        "amount_out": "string",
        "zero_for_one": true,
        "token0": "string",
        "token1": "string"
    }
}