decode_xpop
Decodes a Xahau Proof of Payment (XPOP) from Import or Burn2Mint transactions, revealing the source ledger, inner BURN transaction details, and UNL validator set. Works offline.
Instructions
Decode an XPOP (Xahau Proof of Payment) — the proof blob inside an Import/Burn2Mint tx. Accepts the Import Blob hex (hex of the XPOP JSON) or the XPOP JSON itself. Returns the source ledger header, the decoded inner BURN transaction (type, burned drops = its Fee, target network), and the UNL validator set. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xpop | Yes | Import Blob hex, XPOP JSON string, or XPOP object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| ledger | No | ||
| summary | No | ||
| warnings | No | ||
| validators | No | ||
| burnedDrops | No | ||
| ledgerIndex | No | ||
| metaPresent | No | ||
| proofPresent | No | ||
| targetNetworkId | No | ||
| innerTransaction | No | ||
| innerTransactionType | No |