Skip to main content
POST
/
v0
/
backfilling
/
updates-before
/v0/backfilling/updates-before
curl --request POST \
  --url https://example.com/api/scan/v0/backfilling/updates-before \
  --header 'Content-Type: application/json' \
  --data '
{
  "migration_id": 123,
  "synchronizer_id": "<string>",
  "before": "2023-11-07T05:31:56Z",
  "count": 123,
  "at_or_after": "2023-11-07T05:31:56Z"
}
'
{
  "transactions": [
    {
      "update_id": "<string>",
      "migration_id": 123,
      "workflow_id": "<string>",
      "record_time": "<string>",
      "synchronizer_id": "<string>",
      "effective_at": "<string>",
      "offset": "<string>",
      "root_event_ids": [
        "<string>"
      ],
      "events_by_id": {},
      "external_transaction_hash": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.canton.network/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
migration_id
integer<int64>
required
synchronizer_id
string
required
before
string<date-time>
required

Only return updates with a record time strictly smaller than this time.

count
integer<int32>
required

Return at most this many updates. The actual number of updates returned may be smaller.

at_or_after
string<date-time>

Only return updates with a record time equal to or greater than this time.

Response

ok

transactions
object[]
required

An individual item in the update history. May be a transaction or a contract reassignment.