opreturn_burn - Komodo RPC

opreturn_burn burn_amount hexstring ( txfee )

Burn the specified amount of coins via OP_RETURN. Returns unsigned transaction raw hex that must then be signed via signrawtransaction and broadcast via sendrawtransaction rpc

Arguments:
1. "burn_amount"       (numeric, required) Amount of coins to burn.
2. "hexstring"         (string, required) Hex string to include in OP_RETURN data.
3. "txfee"             (numeric, optional, default=0.0001) Transaction fee.

Result:
  {
    "hex" : "hexstring",     (string) raw hex of transaction 
  }

Examples:

Burn 10 coins with OP_RETURN data "deadbeef"
> komodo-cli opreturn_burn "10" "deadbeef"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "opreturn_burn", "params": ["10", "deadbeef"] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/

Burn 10 coins with OP_RETURN data "deadbeef" with 0.00005 txfee
> komodo-cli opreturn_burn "10" "deadbeef" "0.00005"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "opreturn_burn", "params": ["10", "deadbeef", 0.00005] }' -H 'content-type: text/plain;' http://127.0.0.1:7771/


Docs generated by komodo v0.6.1. You can find this github repo at github.com/komodo-rpc/komodo-rpc.github.io.




Auction











Lotto