Skip to main content
GET

Scan API

Returns the update associated with the given hash of the prepared transaction

OpenAPISince 0.6.0
Returns the update associated with the given hash of the prepared transaction. This endpoint is not always BFT safe. For transactions committed before a scan instance started indexing hashes, the instance will return a 404 error. For transactions committed around the time different scans started indexing hashes, some scan instances might return a 404 error while others return the matching update.

Protocol Details

Operation IDgetUpdateByHash
Published0.7.4
SpecificationDownload OpenAPI

Inputs

Path parameters

string
required

Query parameters

object
OpenAPI type: DamlValueEncoding.

Outputs

200

application/json
UpdateHistoryItemV2WithHash
required
An individual item in the update history. May be a transaction or a contract reassignment.

400

application/json
string
required

404

application/json
string
required

500

application/json
string
required

History

Introduced0.6.0