Liquidity pools
Returns a list of the existing liquidity pools and its corresponding tokens at a given block height. If no block is specified, it returns the latest list available.
Query parameters
atstring · unsignedInteger or $hexOptional
Block identifier, as the block height or block hash.
Responses
200
successful operation
application/json
400
invalid blockId supplied for at query param
application/json
get
GET /pallets/asset-conversion/liquidity-pools HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
"at": {
"hash": "text",
"height": "text"
},
"pools": "[{\"reserves\":[{\"parents\":\"1\",\"interior\":{\"here\": null}},{\"parents\":\"0\",\"interior\":{\"x2\":[{\"palletInstance\": \"50\"},{\"generalIndex\":\"2\"}]}}],\"lpToken\":{\"lpToken\":\"1\"} },{\"lpToken\":{\"lpToken\":\"0\"}}]"
}