IntersectMBO / cardano-cli

This repository contains sources for the command-line interface (CLI) tool for interacting with the Cardano blockchain.
Apache License 2.0
33 stars 13 forks source link

add a query to get the current amount in the Treasury #781

Open CarlosLopezDeLara opened 1 month ago

CarlosLopezDeLara commented 1 month ago

Conway era brings the ability to make treasury donations. The process requires passing the current Treasury value as an argument, therefore it would be nice to have a dedicated query for getting that value, the only alternatives are querying the ledger state or getting it via another tool like dbsync.

i.e.

cardano-cli conway query treasury

This might need a new query in Consensus.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.