Skip to main content
Matching, margin, liquidation, and funding run inside block execution. So every result on Intention is a record in a committed block, and any full node can compute it again. You can check at three levels: look up the record, recompute it from public data, or re-execute the block on your own node.
1 · Look up, any node
2 · Recompute, public data
3 · Re-execute, your own node
Your orders and fills
Rule changes
Margin and liquidation price
ADL queue and funding
Every block, byte for byte
Each level asks you to trust less than the one before.

What you can check

On a centralized exchange, you trust the operator’s database. On Intention, you can check each of these:

1 · Look up the record

What you need: a transaction hash, or your account address. Any node.
Each transaction returns its block, its result, and its events: What it proves: the record is the result. No separate database holds a different version. What it does not prove: that the rules that made the result are correct. Levels 2 and 3 check that.

2 · Recompute a result

What you need: the inputs below, from the API reference. Each result links to its formula. Compare your result with the record from level 1. The first two need only arithmetic, so you can do them before you trust any node.
Rounding is part of the specification. If your integer differs from the chain’s by one unit, one of the two is wrong. See the rounding rules on Clearinghouse.

3 · Re-execute every block

What you need: your own full node. See Run a node. Set the node to execute every transaction itself:
Without this setting, a full node can apply the results that its peers send instead of computing them. With this setting, your node executes each block and compares its result with the state root that the validators signed. If the two are different, your node rejects the block and stops syncing. The comparison is exact because execution is deterministic. It uses integer arithmetic with fixed rounding, and it reads no clock and no random number. See Kernel. Two inputs are fixed by consensus, so you replay what the network agreed:
  • The order of transactions. A quorum signed it. Your node does not infer it.
  • The prices. The validators certify the index and external perpetual prices in the block. Your node computes the mark price from them.
What it proves: the state you see came from the published rules, applied to inputs that the network committed. What it does not prove: that the rules have no defects. A node that copies a bug exactly still has the bug. Audits and the bug bounty address defects.

4 · Watch rule changes

What you need: any node. A five-member committee approves parameter changes, such as fees, leverage tiers, and funding caps. Each change is a transaction in a block: A scheduled change emits AdminActionScheduledEvent, and its execution emits AdminActionExecutedEvent. Watch for these events to see a change before it takes effect. You can also read any parameter at any past block.

What you still trust

Verification makes trust smaller. It does not remove it. You still trust the validator set, the price quorum, the committee’s power over parameters, and the bridge. Risk disclosures explains each one.