distributions

Get distribution for a specific quote.

Request Parameters:

NameTypeDescriptionExample

quoteId (required)

String

The ID of the quote associated with the distribution

227b64c2-c002-4696-9d84-8fb965f7f915

Request URL Example:

https://api.magpiefi.xyz/aggregator/distributions?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"
              }
            }
          }
        }
      ]
    }
  ]
}

No links

Last updated