Sings debit transaction with valid public key  

CLI Example

Command syntax:

emit_delegate sign 
-net <net_name> 
-w <wallet_name> 
-tx <transaction_hash> 
[-chain <chain_name>] 
[-H {hex(default) | base58}]

Options:

-net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list
-w - the name of the signing wallet 
-tx - hash of the debit transaction
-chain - name of the preferred chain where transaction will be put: zerochain or mainchain (optional)
-H - hash format: HEX or base58 (optional)

Example:

Command:

cellframe-node-cli emit_delegate sign -net raiden -w third_wallet -tx 0x075051A67F29290D73192C13685D173C1017A973DC5E0AC7DFDA0AB3CF60AAE9

Response:

 
status: success
tx_hash: 0x61B12392FDD90D9A8247DFC7EDDF85DF18CC372240769EE78DC521BDF3B659AF

JSON-RPC Example

Command:

curl -s --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d  '{"method":"emit_delegate", "subcommand":["sign"], "arguments":{"net":"raiden","w":"third_wallet","tx":"0x81868733C221B9B0B78251CBA81E5CD3066DF0E51FBB62BD2B1FFAD70FBE5579"}, "id":"1"}'

Response:

{
  "type": 2,
  "result": [
    {
      "status": "success",
      "tx_hash": "0x9DEF553A0190E3448DFDEB4278C46718FEF94AD4D134695338075388EF31B00F"
    }
  ],
  "id": 1
}