Skip to main content
POST
Records an attestation once its transaction has mined. The receipt is read from the chain and checked before anything is written. The transaction must have succeeded, targeted the lending factory, and called attestAssetData for this market or deployMarket. The factory must also have emitted AssetDataAttested for this market. The recorded version, hash and attestor come from that event, never from the request. A deployMarket receipt is accepted because the first attestation travels inside the deployment. The deployment confirm on Deploy Market already records it, so this route is for re-attestations built with Attest Asset Data. The transaction must have been signed by one of this instance’s verified wallets. The same market access check as Get Asset Data runs first.

Path Parameters

string
required
The market contract address, as 40 hex characters with a 0x prefix.

Body Parameters

string
required
Hash of the mined attestation transaction, as 0x and 64 hex characters.

Response Fields

Confirming returns 201.
object

Error Codes

The asset data routes report a validation failure with the first failing rule as message and no details list. A malformed txHash is therefore VALIDATION_ERROR here, not INVALID_TX. Every access code from Get Asset Data applies here too.