---
title: "Get pool information"
method: GET
path: "/rfq/v2/pool/{chainId}"
tags: ["Pool"]
---

# Get pool information

`GET /rfq/v2/pool/{chainId}`

This endpoint provides comprehensive information about all the pools on the selected chain, including details about its assets, the contract address of its liquidity pool, and other relevant data. This information is crucial for making off-chain calculations and predicting quotes.

## Path parameters

- `chainId` integer, required

## Query parameters

- `pool_address` string
- `time_in_seconds` integer
- `fieldset` 'offchain-data'

## Response `200`

Pool information retrieved successfully

- union
  - OnChainPoolResponse
    - `pool_type` 'onchain', required — Indicates this is on-chain pool data
    - `pools` OnChainPoolData[], required
      - `pool` OnChainPool, required
        - `chain_id` integer, required — ID of the chain
        - `address` string, required — Blade contract address of the pool, is the address used when executing a transaction
        - `num_assets` integer, required — The total of assets available in the chain
        - `pool_tokens` number, required — The total number of pool tokens
        - `value_in_usd` number, float, required — Value of the pool in USD
        - `swaps_enabled` boolean, required — Represents if the swaps are available for the chain
      - `assets` OnChainAsset[], required
        - `name` string, required — The name of the asset, this value should be used when making a quote
        - `address` string, required — The contract address of the asset
        - `balance` string, required — The balance of the asset in the pool
        - `price_in_usd` number, float, required — Current price in dollars for the asset
        - `value_in_usd` number, float, required — Value of the pool in USD
        - `target_value_in_usd` number, float, required — USD target value for this asset in the pool
  - OffChainPoolResponse
    - `pool_type` 'offchain', required — Indicates this is off-chain pool data
    - `pools` OffChainPoolData[], required
      - `pool` OffChainPool, required
        - `chain_id` integer, required — ID of the chain
        - `address` string, required — Blade contract address of the pool, is the address used when executing a transaction
        - `num_assets` integer, required — The total of assets available in the chain
        - `k` number, float, required — K factor
        - `time_in_seconds` integer, required — Number of seconds were used to calculate the fees of a swap, this number indicates the number of seconds that quotes are live
        - `default_time_in_seconds` integer, required — Default number of seconds that quotes are live, is value used to calculate fees when don't send the query param time_in_seconds
        - `swaps_enabled` boolean, required — Represents if the swaps are available for the chain
      - `assets` OffChainAsset[], required
        - `name` string, required — The name of the asset, this value should be used when making a quote
        - `address` string, required — The contract address of the asset
        - `price_in_usd` number, float, required — Current price in dollars for the asset
        - `listing_weight` integer, required — asset weight within the pool
      - `pairs` Pair[], required
        - `assets` string[], required — Pair of assets available to make a swap - e.g: ["ETH", "MATIC"]
        - `fee_in_basis_points` number, float, required — Fee for make a swap between the pair

## Other responses

- `400` — Bad Request - Invalid data in the request
- `401` — Unauthorized - Missing or invalid API key. Ensure you include a valid `x-api-key` header.
- `403` — Forbidden Error - Access denied
- `500` — Internal Server Error
- `503` — External Service Error

---

[API](https://skmtc.net/sushi/apis/blade-api.md) · [All operations](https://skmtc.net/sushi/apis/blade-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sushi/blade-api/revisions/24cab97a081a/schema)
