Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network Docs/Wallet GatewayUser APIView on Canton Network Docs ↗

getNetwork

Wallet Gateway›User API›getNetwork

User API

getNetwork

JSON-RPCAdded 1.4.0
POSTJSON-RPC getNetwork

Protocol Details

ProtocolJSON-RPC
TransportHTTP POST
MethodgetNetwork
Parameters1
Resultobject

Inputs

params

Shapeobject
RequirednetworkId
networkIdstringrequired

Outputs

result

Shapeobject
Requirednetwork
networkobjectrequired

params

networkIdstringrequired

result

networkobjectrequired

History

Added1.4.0
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>"
  }
}