This PR exposes endpoints for querying previous states of the delegated, bonded, and unbonding mappings in credits.aleo.
If the history feature is enabled, the node will log data (via a feature-enabled snarkVM) and expose the // GET /{network}/block/{blockHeight}/history/{mapping} endpoint for users to query.
Note. The entirety of this PR is gated under the history feature.
This PR exposes endpoints for querying previous states of the
delegated
,bonded
, andunbonding
mappings in credits.aleo.If the history feature is enabled, the node will log data (via a feature-enabled snarkVM) and expose the
// GET /{network}/block/{blockHeight}/history/{mapping}
endpoint for users to query.Note. The entirety of this PR is gated under the history feature.
CI ran succesfully here