Describe what the problem is?
It looks like Ogmios only support querying stake rewards for PubKey hashes, there's no ScriptHash support:
|
credentials <- decodeCredentials obj |
|
fmap (Ledger.KeyHashObj . Ledger.KeyHash) . decodeHash |
- https://github.com/input-output-hk/cardano-ledger/blob/9a25a43f3970941a2cd64029f7ce667b48832635/libs/cardano-ledger-core/src/Cardano/Ledger/Credential.hs#L73
What should be the expected behavior?
We need this kind of query to work with script hashes as well for CTL.
Describe what the problem is?
It looks like Ogmios only support querying stake rewards for PubKey hashes, there's no ScriptHash support:
ogmios/server/src/Ogmios/Data/Json/Query.hs
Line 904 in 7a03960
ogmios/server/src/Ogmios/Data/Json/Query.hs
Line 1589 in 7a03960
What should be the expected behavior?
We need this kind of query to work with script hashes as well for CTL.