Beldex-Coin / beldex

Beldex: the secure, private, untraceable cryptocurrency
https://beldex.io
Other
27 stars 21 forks source link

burn process by amount/transaction_id #127

Closed victor-tucci closed 1 year ago

victor-tucci commented 1 year ago

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'