-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-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)
---> HOLD <---TX STAKE LOCK CREATEDSuccessfully hash = 0x4ABF10EF333C3348B88614FD492270D3EC327B450DFF03CCE520376E85CC91D7Save to take!Contribution successfully made
JSON-RPC Example
Command:
curl -X POST http://rpc.cellframe.net/connect -d '{"method":"stake_lock", "params":["stake_lock;hold;-net;raiden;-chain;main;-w;mywallet;-time_staking;240705;-token;tCELL;-value;1000.0e+18;-fee;0.05e+18;-reinvest;50"], "id":"1"}'
Response:
{ "type": 0,"result": "---> HOLD <---\nTX STAKE LOCK CREATED\nSuccessfully hash = 0x9E219F249F54AC306745BDA7115181F834B79103EEDB999EAE5D379714ED6214\nSave to take!\nContribution successfully made","errors": null,"id": 1}
-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 = 0x94FC86AE73D614FC2D03F0B3389AB9E8293BABDA419304CE9CFC50AA88F11BE6Contribution 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"}'