Gets service limits (information about available unspent service units). This command must be requested from the VPN node. ## Request Structure `JSON object:` ```JSON { "method": "net_srv", "subcommand": ["get_limits"], "arguments": { "net": "network_name", "srv_uid": "service_uid", "provider_pkey_hash": "Service_provider_public_key_hash", "client_pkey_hash": "Client_public_key_hash" }, "id": "1" } ``` `Parameters:` **`net`** - 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]] **`srv_uid`** - UID of the service in the HEX format **`provider_pkey_hash`** - hash of the service providers public key **`client_pkey_hash`** - hash of the clients public key ### Curl Example `Request:` ```powershell curl --unix-socket /opt/cellframe-node/var/run/node_cli -X POST http://localhost/connect -d '{ "method": "net_srv", "subcommand": ["get_limits"], "arguments": { "net": "riemann", "srv_uid": "0x0000000000000001", "provider_pkey_hash": "0xE23EF5A0EA0604EADD74EB2F365809AE222EB88B7EA72C9ADA7AF8B78EA4E21E", "client_pkey_hash": "0xF5B9D0C675D671E05198812F40B8C0AF4CBE5C477BAA2940AE751F6B37E1F335" }, "id": "1" }' ``` `Response:` ```json { "type": 2, "result": ["Provider 0xE23EF5A0EA0604EADD74EB2F365809AE222EB88B7EA72C9ADA7AF8B78EA4E21E. Client 0xF5B9D0C675D671E05198812F40B8C0AF4CBE5C477BAA2940AE751F6B37E1F335 remain service values:\nSEC: 0\nBYTES: 0\n"] } "id": 1 } ```