Sets the maximum validator related weight (in percent).
> [!HINT] Note
> You must be a **root node**.
## Request Structure
`JSON object:`
```JSON
{
"method": "srv_stake",
"subcommand": ["max_weight"],
"arguments": {
"net": "network_name",
"chain": "chain_name",
"poa_cert": "poa_cert_name",
"percent": "value"
},
"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]]
**`chain`** - the name of the chain `optional`
**`poa_cert`** - name of the PoA certificate
**`percent`** - maximum weight percent
### Curl Example
`Request:`
```actionscript
curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{
"method": "srv_stake",
"subcommand": ["max_weight"],
"arguments": {
"net": "riemann",
"poa_cert": "riemann.root.pvt.0",
"percent": "10.0"
},
"id": "1"
}'
```
`Response:`
```json
{
"type": 2,
"result": [
{
"status": "success",
"decree_hash": "0x2218C6AB0F14FE6C915B5DE4C3D48E4A3FFC61B5E08F1CFD0E9FE3742990DA08"
}
],
"id": 1
}
```