Skip to content
Documentation/canton-network-docs/dApp APIAsync dApp APIView on canton-network-docs
canton-network-docs/dApp APIAsync dApp API

signMessage

Wallet GatewayAsync dApp APIsignMessage

Async dApp API

signMessage

JSON-RPCSince 0.24.0
POSTJSON-RPC signMessage

Protocol Details

Inputs

params

messagestringrequired

Outputs

result

signaturestringrequired

SignMessageRequest

messagestringrequired

SignMessageResult

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