Skip to main content
POST
POST /v2/events/events-by-contract-id

Authorizations

Authorization
string
header
required

Ledger API standard JWT token

Body

application/json
contractId
string
required

The contract id being queried.

Required

eventFormat
EventFormat · object
required

Format of the events in the result, the presentation will be of TRANSACTION_SHAPE_ACS_DELTA.

Required

Response

created
JsCreated · object

The create event for the contract with the contract_id given in the request provided it exists and has not yet been pruned.

Optional

archived
JsArchived · object

The archive event for the contract with the contract_id given in the request provided such an archive event exists and it has not yet been pruned.

Optional