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

createKey

Wallet Gateway›Signing API›createKey

Signing API

createKey

JSON-RPC
POSTJSON-RPC createKey

Protocol Details

ProtocolJSON-RPC
TransportHTTP POST
MethodcreateKey
Parameters1
ResultoneOf

Inputs

params

Shapeobject
Requiredname
namestringrequired

Outputs

result

ShapeoneOf
errorstring
error_descriptionstring

params

namestringrequired

result

errorstring
error_descriptionstring
cURL
cURL
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "createKey",
  "params": {
    "params": {
      "name": "<string>"
    }
  }
}
EOF
Resultapplication/json
Result
{
  "error": "<string>",
  "error_description": "<string>"
}