Creates order of `validator` which allows machine owner who doesn't have [[Token Delegated (m-token)|m-tokens]] to establish a **master node**. For more details see article - [[Certificate Delegation#Option 1|validator order.]] ## Request Structure `JSON object:` ```JSON { "method": "srv_stake", "subcommand": ["order","create","validator"], "arguments": { "net": "network_name", "value_min": "minimum_stake_value", "value_max": "maximum_stake_value", "tax": "percent", "cert": "cert_name", "node_addr": "for_validator_node", "H": "base58" }, "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]] **`value_min`** - minimum stake value required from staker **`value_max`** - maximum stake value required from staker **`tax`** - percentage of the master node rewards that `staker` will collect for providing the m-tokens for the master node **`cert`** - name of the private certificate which is used to sign blocks **`node_addr`** - validator node address `optional` **`H`** - the format of the hash value for the command parameter. It can be either in HEX format `0x4E9B6B890D5D78BB46AA5442BDEFF2FPDA8929BA9689F86235353BF784B5` or in Base58 `Betcryb4arefsamtjars9dxydzasszdfkkh6`, `optional` ### Curl Example `Request:` ```actionscript curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{ "method": "srv_stake", "subcommand": ["order","create","validator"], "arguments": { "net": "foobar", "value_min": "5.0e+18", "value_max": "0.05e15.0e+18", "tax": "50.0", "cert": "mastercert", "node_addr": "ABCD::0000::0000::0000" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": [ { "status": "success", "order_hash": "0x49311FEF0D008E13D51083CF04ACBE874C309CCBC3416583E8A7923D9F415904" } ], "id": 1 } ```