curl --request POST \
--url https://api.dfns.io/wallets/{walletId}/canton/ledger-api \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": "<string>",
"body": "<unknown>"
}
'Proxies a request to the Canton Ledger API associated with this wallet, using the validator’s OAuth2 credentials. Restricted to a curated allow-list of read-style resources. Used to satisfy the Canton WalletConnect canton_ledgerApi method.
curl --request POST \
--url https://api.dfns.io/wallets/{walletId}/canton/ledger-api \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resource": "<string>",
"body": "<unknown>"
}
'Documentation Index
Fetch the complete documentation index at: https://docs.dfns.co/llms.txt
Use this file to discover all available pages before exploring further.
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
Wallet id.
1 - 64The HTTP method used against the Canton Ledger API.
GET, POST The Canton Ledger API resource path, beginning with /v2/ (e.g. /v2/state/active-contracts).
1Optional JSON body, forwarded verbatim for POST resources. Must be omitted for GET resources.
Success
Was this page helpful?