GET /v2/state/active
cURL
cURL
Authorizations
Ledger API standard JWT token
Body
Format of the contract_entries in the result. In case of CreatedEvent the presentation will be of TRANSACTION_SHAPE_ACS_DELTA.
Required
Show child attributes
Show child attributes
The offset at which the snapshot of the active contracts will be computed. Must be no greater than the current ledger end offset. Must be greater than or equal to the last pruning offset. Optional, if defined, it must be a valid absolute offset (positive integer) or ledger begin offset (zero). If zero, the empty set will be returned. If not defined, the current ledger end will be used and it will be populated in the response.
Optional
The result page will contain at most max_page_size entries of the respective active contract snapshot. The server might reject max_page_size breaching the server-specified limit. Optional, if not defined, the default will be determined by the server.
Optional
To get the next page of the active contracts snapshot, the page_token should be set to the
next_page_token of the last GetActiveContractsPageResponse.
The page token only works if subsequent requests:
- are executed on the same participant,
- use the same active_at_offset and event_format,
- and the participant's store was not pruned to after the active_at_offset.
If not specified, the first page of the active contracts snapshot will be returned.
Optional: can be empty
Response
The collection of active contracts for this page response.
Required: must be non-empty
Show child attributes
Show child attributes
The active_at_offset which was specified in the request, or the calculated active_at_offset from the actual ledger end from at the evaluation of the request.
Required
If not present this is the last page. If present, this token must be used to get the next page.
Optional: can be empty