distributionIn

Get distribution for a specific quoteIn.

Request Parameters:

Request URL Example:

https://api.magpiefi.xyz/aggregator/distributions-in?quoteId=f0359a66-0c8f-48d1-bd8f-32e96937e148

Response Example:

{
  "distributions": [
    {
      "amountIns": [
        "string"
      ],
      "amountOuts": [
        "string"
      ],
      "route": [
        {
          "id": "string",
          "token0": {
            "id": "string",
            "address": "string"
          },
          "token1": {
            "id": "string",
            "address": "string"
          },
          "pool": {
            "id": "string",
            "address": "string",
            "amm": {
              "id": 0,
              "name": "mdex",
              "protocol": {
                "id": 0,
                "name": "uniswap-v2"
              }
            }
          }
        }
      ]
    }
  ]
}

Last updated