Skip to main content
POST
Returns the unsigned attestAssetData transaction that replaces the market’s standing attestation with the bundle this instance’s token profile produces now. The attestor signs it with its own wallet, then confirms it with Confirm Asset Data Attestation. The first attestation needs no call here. It travels inside the deployment transaction. Use this endpoint after the issuer edited the token profile, which Get Asset Data reports as profile.changedSinceAttestation: true.
Re-attesting never removes an acknowledgement. If the lender of record approved an earlier version, the two hashes differ once this transaction mines. The market then reads DIVERGED until the lender of record acknowledges the new version. divergesAfter in the response says so before anything is signed.

Who can attest

The caller must pass the market access check described on Get Asset Data. One of this instance’s verified wallets must also be the attestor the factory admits right now:
  • While the market seeks a lender of record, the wallet that deployed it.
  • Once a lender of record adopts it, the issuer wallet that lender named in its adoption terms.
Any other instance is refused with NOT_ATTESTOR, and details names the wallet that can sign. A market whose deployer the factory never recorded is refused with ATTESTOR_UNRECORDED, because nobody can attest on it. The attestor is read when the transaction is built. If the market is adopted before the transaction mines, authority passes to the named issuer, and a transaction signed by the deployer reverts with NotAttestor.

What gets attested

The bundle is built from this instance’s import of the collateral token: the token facts and the published profile. It is combined with the market’s collateral mode, price source and settlement asset as read from the chain. The rules are those described on Preview Asset Data. A profile that is empty, or a token this instance has not imported, is refused with TOKEN_PROFILE_REQUIRED. The bytes are stored when the transaction is built, before anyone signs, so Get Asset Data Bundle can serve them by contentHash straight away. A bundle equal to the standing attestation is refused with ATTESTATION_CURRENT, because the transaction would change nothing. This call takes no body.

Path Parameters

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

Response Fields

object

Error Codes

The asset data routes report a validation failure with the first failing rule as message and no details list. Every access code from Get Asset Data applies here too.