Function inspect_reason_value

Source
pub fn inspect_reason_value<T: Config<I>, I: 'static>(
    reason: CommitReason<T, I>,
)
Expand description

Queries the total committed asset value for the specified CommitReason.

This value is read directly from ReasonValue and represents the aggregated committed amount across all digests and variants associated with the given reason.

The returned value:

  • Includes assets that are accounted for in commitments (including those pending issuance)
  • Excludes assets pending reaping, as they are not considered part of active committed value

If no value exists for the given reason, the storage returns Zero, which is emitted as-is in the event.

§Emits

Event::ReasonValuation: Contains the queried committed value for the reason.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in [Pallet::inspect_reason_value].