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

getMessageToSign

Wallet Gateway›User API›getMessageToSign

User API

getMessageToSign

JSON-RPCAdded 1.4.0
POSTJSON-RPC getMessageToSign

Protocol Details

ProtocolJSON-RPC
TransportHTTP POST
MethodgetMessageToSign
Parameters1
Resultobject

Inputs

params

Shapeobject
RequiredmessageId
messageIdstringrequired

Outputs

result

Shapeobject
Requiredmessage
messageobjectrequired

params

messageIdstringrequired

result

messageobjectrequired

History

Added1.4.0
cURL
cURL
curl \
  <JSON_RPC_URL> \
  -H 'content-type: application/json' \
  --data @- <<'EOF'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getMessageToSign",
  "params": {
    "params": {
      "messageId": "<string>"
    }
  }
}
EOF
Resultapplication/json
Result
{
  "message": {
    "id": "<string>",
    "status": "<string>",
    "partyId": "<string>",
    "publicKey": "<string>",
    "message": "<string>",
    "createdAt": "<string>"
  }
}