Unlocks locked tokens on the specified wallet

CLI Example

Command syntax:

stake_lock take 
-net <net_name> 
-w <wallet_name> 
-tx <transaction_hash> 
-fee <value>
[-chain <chain_name>]

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 - name of the wallet
-tx - hash of the transaction
-fee - fee value
-chain - name of the chain (optional)

Example:

Command:

cellframe-node-cli stake_lock take 
-net raiden 
-chain main 
-w raidenwallet 
-tx 0x4ABF10EF333C3348B88614FD492270D3EC327B450DFF03CCE520376E85CC91D7 
-fee 0.1e+18

Response:

 
---> TAKE <---
 
TAKE_TX_DATUM_HASH = 0x94FC86AE73D614FC2D03F0B3389AB9E8293BABDA419304CE9CFC50AA88F11BE6
 
Contribution successfully made

JSON-RPC Example

Command:

curl -X POST http://rpc.cellframe.net/connect -d '{"method":"stake_lock", "params":["stake_lock;take;-net;raiden;-chain;main;-w;raidenwallet;-tx;0x9E219F249F54AC306745BDA7115181F834B79103EEDB999EAE5D379714ED6214;-fee;0.1e+18 "], "id":"1"}'

Response:

{ 
"type": 0,
"result": "---> TAKE <---\nTAKE_TX_DATUM_HASH = 0x97B28F2D5A930C40315584B7610DA0553B1F74EC66E9AFCA90ECA022474CCDDD\nContribution successfully made",
"errors": null,
"id": 1
}