Closed victor-tucci closed 11 months ago
_usage: bns_buy_mapping [index=[,,...]] [] [years=1y|2y|5y|10y] [owner=] [backup_owner=] [bchat_id=] [belnetid=] [address=]
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_buy_mapping","params":{"years":"5y","name":"toretto.bdx","value_bchat":"bdb37ba20b46b5576012eec7547f70eb532276085bb04b6152354de5b187b29807"}}' -H 'Content-Type: application/json'
_usage: bns_update_mapping [index=[,,...]] [] [owner=] [backup_owner=] [bchat_id=] [belnet_id=] [address=] [signature=] _
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_update_mapping","params":{"name":"toretto.bdx","value_bchat" : "bdff403a579c24edd0b973f9f00211ab3574ec083b2fd97b8b87de0e413e969942","value_belnet":"i85hpmcge4huukrxp8xnobkh7eodhsuy7dy8yphq9zafhcqeeago.bdx"}}' -H 'Content-Type: application/json'
_usage: bns_renewmapping [index=[,,...]] [] [years=1y|2y|5y|10y]
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_renew_mapping","params":{"years":"10y","name":"toretto.bdx"}}' -H 'Content-Type: application/json'
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'
BNS:
COIN-BURN:
PREPARE-REGISTRATION:
DECOMMISSION-CREDIT:
CONTRIBUTOR-UNLOCK:
OTHERS:
bns_buy_mapping:
_usage: bns_buy_mapping [index=[,,...]] [] [years=1y|2y|5y|10y] [owner=] [backup_owner=] [bchat_id=] [belnetid=] [address=]
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_buy_mapping","params":{"years":"5y","name":"toretto.bdx","value_bchat":"bdb37ba20b46b5576012eec7547f70eb532276085bb04b6152354de5b187b29807"}}' -H 'Content-Type: application/json'
bns_update_mapping:
_usage: bns_update_mapping [index=[,,...]] [] [owner=] [backup_owner=] [bchat_id=] [belnet_id=] [address=] [signature=] _
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_update_mapping","params":{"name":"toretto.bdx","value_bchat" : "bdff403a579c24edd0b973f9f00211ab3574ec083b2fd97b8b87de0e413e969942","value_belnet":"i85hpmcge4huukrxp8xnobkh7eodhsuy7dy8yphq9zafhcqeeago.bdx"}}' -H 'Content-Type: application/json'
bns_renew_mapping:
_usage: bns_renewmapping [index=[,,...]] [] [years=1y|2y|5y|10y]
curl -X POST http://127.0.0.1:19999/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"bns_renew_mapping","params":{"years":"10y","name":"toretto.bdx"}}' -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'