Skip to content
Documentation/canton-network-docs/Wallet GatewayUser APIView on canton-network-docs
canton-network-docs/Wallet GatewayUser API

getNetwork

Wallet GatewayUser APIgetNetwork

User API

getNetwork

JSON-RPCSince 1.4.0
POSTJSON-RPC getNetwork

Protocol Details

Inputs

params

networkIdstringrequired

Outputs

result

networkobjectrequired

params

networkIdstringrequired

result

networkobjectrequired
cURL
cURL
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getNetwork",
  "params": {
    "params": {
      "networkId": "<string>"
    }
  }
}
EOF
Resultapplication/json
Result
{
  "network": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "identityProviderId": "<string>",
    "auth": {
      "method": "<string>",
      "scope": "<string>",
      "clientId": "<string>",
      "audience": "<string>"
    },
    "ledgerApi": "<string>"
  }
}