Skip to main content
POST
/
wallets
/
{walletId}
/
canton
/
ledger-api
Proxy a request to the Canton Ledger API
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.

Authorizations

Authorization
string
header
required

Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows

Path Parameters

walletId
string
required

Wallet id.

Required string length: 1 - 64

Body

application/json
requestMethod
enum<string>
required

The HTTP method used against the Canton Ledger API.

Available options:
GET,
POST
resource
string
required

The Canton Ledger API resource path, beginning with /v2/ (e.g. /v2/state/active-contracts).

Minimum string length: 1
body
any

Optional JSON body, forwarded verbatim for POST resources. Must be omitted for GET resources.

Response

200 - application/json

Success

Last modified on May 18, 2026