canton-network-docs/dApp APIAsync dApp API
ledgerApi
Async dApp API
ledgerApi
JSON-RPCSince 0.24.0
POSTJSON-RPC ledgerApi
Protocol Details
requestMethodstringrequired
Outputs
requestMethodstringrequired
cURL
curl \
<JSON_RPC_URL> \
-H 'content-type: application/json' \
--data @- <<'EOF'
{
"jsonrpc": "2.0",
"id": 1,
"method": "ledgerApi",
"params": {
"params": {
"requestMethod": "<string>",
"resource": "<string>"
}
}
}
EOF