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

addNetwork

Wallet GatewayUser APIaddNetwork

User API

addNetwork

JSON-RPCSince 0.24.0
POSTJSON-RPC addNetwork

Protocol Details

Inputs

params

networkobjectrequired

Outputs

result

params

networkobjectrequired

Null

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