Data Contracts
The contract is registered on Dash Platform testnet. Every field carries an explicit position, because Dash requires it for every document property.
| Contract ID | 66UbfEca1EFPRTm6zMz8HL7Rp1WkGh9wxJ7QhZjYS2ih |
| Owner identity | 34vkjdeUTP2z798SiXqoB6EAuobh51kXYURqVa9xkujf |
| Version | 1 |
| Protocol version | 0 |
| Network | testnet |
intent
A user's request and the terms they will accept. Indices are onstatus anduserId.
| Property | Type | Max | Required |
|---|---|---|---|
| userId | string | 44 | yes |
| fromAsset | string | 10 | yes |
| toAsset | string | 10 | yes |
| inputAmount | integer | — | yes |
| minOutputAmount | integer | — | yes |
| status | string | 10 | yes |
| createdAt | integer | — | yes |
| expiresAt | integer | — | yes |
status is one ofopen,executing,settled, orexpired.additionalProperties isfalse: an unknown field is rejected outright rather than silently stored.
settlement
The record of a completed fill. Indices are onintentId andsettledAt.
| Property | Type | Max | Required |
|---|---|---|---|
| intentId | string | 44 | yes |
| offerId | string | 64 | yes |
| solverId | string | 44 | yes |
| userId | string | 44 | yes |
| inputAmount | integer | — | yes |
| outputAmount | integer | — | yes |
| protocolFee | integer | — | yes |
| settledAt | integer | — | yes |
| txHash | string | 64 | yes |
There is no on-chainoffer document
Offers are exchanged over Nostr only, and are deliberately absent from the contract. A quote is short-lived and competitive, so storing every competing quote on-chain would cost credits proportional to the number of market makers and would leave expired quotes behind permanently.
Note: the currently registered testnet contract still contains an offerdocument from an earlier revision. The next registration carriesintent andsettlement only. Index paths are immutable once registered, so the document set is finalised at publish time.
Verifying a registration
Fetch the contract from a DAPI node and compare its$id andversion. The contract ID above links directly to the testnet platform explorer.