cardano-graphql
cardano-graphql copied to clipboard
StakePool metadata info
Hi, I try to find metadata information by a query, but I can't find Ticker or _Description information. In the Wallet API it's available: https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Stake-Pools
The postgresql table pool_meta_data don't have this fields. It's planned to do?
That information you'll need to grab from the meta file found in the 'url' field:
{
stakePools(where:{hash: {_eq: "5b9a5633289c52003d359bce18f77f571a701fd3942a52bde3262558"}}) {
hash
url
}
}
Results:
{
"data": {
"stakePools": [
{
"hash": "5b9a5633289c52003d359bce18f77f571a701fd3942a52bde3262558",
"url": "https://cybercyclone.github.io/aoaus.github.io/"
}
]
}
}
I'm not a developer for this repo, but it feels out of scope considering the meta file content is never stored in the blockchain. Only the hash of the file is stored for integrity.
Thanks @CyberCyclone for your answer. I think it's a inprovement for read stakepool data.