v1

latestOpenAPI 3.1.02026-07-2411205.0 MB

Get Slippage

get/api/dtao/slippage/v1

Query parameters

netuidinteger required

Subnet Id

input_tokensstring required

as Rao or nanoAlpha (billionths of tao/alpha)

direction'tao_to_alpha' | 'alpha_to_tao' required

tao to alpha or alpha to tao

Response

200

Example response

{
  "pagination": {
    "current_page": 1,
    "per_page": 1,
    "total_items": 1,
    "total_pages": 1
  },
  "data": [
    {
      "netuid": 19,
      "block_number": 5012782,
      "timestamp": "2025-02-26T17:50:00Z",
      "alpha_price": "0.0512855519",
      "output_tokens": "19492475077",
      "expected_output_tokens": "19498668995",
      "diff": "6193918",
      "slippage": "0.0317658298"
    }
  ]
}