Skip to content
CCPEDIAby Unity Nodes
Documentation/Canton Network docs/Wallet Gateway › User APIView on Canton Network docs ↗

setPrimaryWallet

Wallet Gateway›User API›setPrimaryWallet

User API

setPrimaryWallet

JSON-RPC
POSTJSON-RPC setPrimaryWallet

Protocol Details

ProtocolJSON-RPC
TransportHTTP POST
MethodsetPrimaryWallet
Parameters1
Resultnull

Inputs

params

Shapeobject
RequiredpartyId
partyIdstringrequired

Outputs

result

Shapenull
SchemaNull

params

partyIdstringrequired

Null

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