Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/dApp APIAsync dApp APIView on Canton Network Docs

getActiveNetwork

Wallet GatewayAsync dApp APIgetActiveNetwork

Async dApp API

getActiveNetwork

JSON-RPC
POSTJSON-RPC getActiveNetwork

Protocol Details

Inputs

Outputs

result

networkIdstringrequired

Network

networkIdstringrequired
cURL
cURL
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getActiveNetwork"
}
EOF
Resultapplication/json
Result
{
  "networkId": "<string>"
}