Pool

Pool queries the pool info.

GEThttps://coreum.nownodes.io/cosmos/staking/v1beta1/pool
Response

A successful response.

Body
poolcosmos.staking.v1beta1.Pool (object)

Pool is used for tracking bonded and not-bonded token supply of the bond denomination.

Request
const response = await fetch('https://coreum.nownodes.io/cosmos/staking/v1beta1/pool', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "pool": {
    "not_bonded_tokens": "text",
    "bonded_tokens": "text"
  }
}