Inspect which confidential outputs an Elements wallet can unblind

A treasury reviewing a transaction can know some outputs' blinding keys without knowing every participant's keys. Generate a local analysis view and inspect its known and committed outputs separately.

Decode the wallet's transformed copy

Set RAW to the original serialized transaction. unblindrawtransaction attempts to recover outputs and issuance data using keys known to this wallet and strips associated witness data. Decode the returned copy for inspection.

view=$(elements-cli unblindrawtransaction "$RAW" | jq -r .hex)
elements-cli decoderawtransaction "$view" | jq '.vout[] | {n,asset,value,assetcommitment,valuecommitment}'

Retain the original chain artifact

An explicit value and asset on one output do not imply the wallet recovered every output. Preserve commitments where data remains hidden. Keep the original transaction bytes for transaction identity and chain verification; the transformed copy is for local analysis and should not replace the broadcast payload.

elementsproject.org unblindrawtransaction · elementsproject.org decoderawtransaction