Burning Assets
Last updated
Last updated
You can use endpoints available in our Token Pay product to create PSBTs that can burn inscriptions and runes. It's also possible to add metadata while burning inscriptions and runes.
Here's a test transaction on signet that burns in the same tx:
1- 1000 tokens of rune: OB•CZTGOXTKHHHEE
2- Inscription id: 5b09700e89333d4a986281a6e8a1261c72039f3daedbc0399f6cd5aa9da88e5di0
3- Adds some metadata that does certain things as per the destination protocol.
Resulting inscription will look like this:
You can also use the Utils endpoints to finalize a psbt and broadcast with a higher than zero maxburnamount
, this is required for any protocol based on burning bitcoin digital assets.
By default, you can not use a standard node to broadcast an OP_RETURN output that has bitcoin in it. Our nodes have maxburnamount=0.01 (1 million satoshis) pre-configured.
Developers should save signed psbt, finalize and submit via tokenpay endpoints.