Closed victor-tucci closed 1 year ago
coin_burn [index=[,,...]] [] <burn=amount | txid>
_curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coin_burn","params":{"txid" : "9166a47710872ad6cd89f7030ecc882ada2c9920c1d0b587f978ec2e92645fee"}}' -H 'Content-Type: application/json'
_curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coinburn","params":{"amount":1000000000}}' -H 'Content-Type: application/json'
For the CLI : The burn usage is
coin_burn [index=[,,...]] [] <burn=amount | txid>
For the wallet-rpc: The burn usage is
_curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coin_burn","params":{"txid" : "9166a47710872ad6cd89f7030ecc882ada2c9920c1d0b587f978ec2e92645fee"}}' -H 'Content-Type: application/json'
_curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"coinburn","params":{"amount":1000000000}}' -H 'Content-Type: application/json'