Returns information associated with a nomination pool which includes the nomination pools' bondedPool, rewardPool and metadata.
bondedPool
rewardPool
metadata
The unsignedInteger Id of a nomination pool.
successful operation
const response = await fetch('https://dot-playbook.nownodes.io/pallets/nomination-pools/{poolId}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "bondedPool": { "points": 0, "state": "text", "memberCounter": 0, "roles": { "depositor": "text", "root": "text", "nominator": "text", "stateToggler": "text" } }, "rewardPool": { "lastRecordedRewardCounter": 0, "lastRecordedTotalPayouts": 0, "totalRewardsClaimed": 0 } }