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

ledgerApi

Wallet GatewayAsync dApp APIledgerApi

Async dApp API

ledgerApi

JSON-RPCSince 0.24.0
POSTJSON-RPC ledgerApi

Protocol Details

Inputs

params

requestMethodstringrequired
resourcestringrequired

Outputs

result

LedgerApiRequest

requestMethodstringrequired
resourcestringrequired

LedgerApiResult

cURL
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
Resultapplication/json
Result
{}