Query

Get the pool's current batch.

Changed on

Returns the current batch of the pool that corresponds to the pool_id.

get/cosmos/liquidity/v1beta1/pools/{pool_id}/batch

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

pool_idstring uint64 required

id of the target pool for query

Response

A successful response.

Example response

{
  "batch": {
    "pool_id": "1",
    "index": "1",
    "begin_height": "1000",
    "deposit_msg_index": "1",
    "withdraw_msg_index": "1",
    "swap_msg_index": "1",
    "executed": true
  }
}

Changes