Locks specified token amount on the specified wallet. ## Request Structure `JSON object:` ```JSON { "method": "stake_lock", "subcommand": ["hold"], "arguments": { "net": "network_name", "w": "wallet_name", "time_staking": "YYMMDD", "token": "ticker", "value": "value", "fee": "value", "reinvest": "percentage_from_1_to_100", "chain": "chain_name" }, "id": "1" } ``` `Parameters:` **`net (network_name)`** - name of the Cellframe Network. The list of networks can be found in the `<Config_dir> \ etc \ network` folder or received using - [[Node Command - NET LIST]] **`w`** - name of the wallet **`time_staking`** - staking lifespan until specified date `YYMMDD` **`token`** - ticker of the token **`value`** - stake value **`fee`** - fee value **`reinvest`** - percent of reinvesting sum `optional` **`chain`** - name of the chain `optional` ### Curl Example `Request:` ```actionscript curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{ "method": "stake_lock", "subcommand": ["hold"], "arguments": { "net": "riemann", "w": "wallet1", "time_staking": "250514", "token": "tKEL", "value": "10.0e+18", "fee": "0.05e+18" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": [ { "status": "\n---> HOLD <---\nTX STAKE LOCK CREATED\nSuccessfully hash = 0x5288C36C8C58777BE9F60BEC09DE33048313110A5365581E8D5E205912E1505F\nSave to take!\n\nContribution successfully made" } ], "id": 1 } ```