Skip to main content
POST
TypeScript

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json

Which vault account and blockchain to read, and the Canton filter to apply.

vaultAccountId
string
required

The vault account whose Canton wallet is read.

Pattern: ^[0-9]+$
Example:

"12"

blockchainId
enum<string>
required

The blockchain the vault account's Canton party is connected to.

Available options:
CANTON,
CANTON_TEST
Example:

"CANTON"

payload
object
required

The Canton read request. Only eventFormat is supported.

Response

The active contracts at the current ledger end.

The active contracts at the current ledger end. Not paged, and no ledger offset is returned.

activeContracts
object[]
required

The active contracts that match the filter, at most 1000 and about 3 MiB in total. Empty when nothing matched. When more match, the request is a 400 instead: narrow the filter.

Example: