Skip to content
Paxeer X

Offline verification

Check a receiptwithout asking anyone

Verify a signed Paxeer receipt on your own machine, against keys and roots you pinned. No node to run, no server to trust.

Refused: key not pinned

Sample receipt. Field names are labels; no values are shown as real.

Check 01

Who signed this receipt

A receipt counts only if it was signed by a key you chose to trust, at a height that key was allowed to sign.

Canonical form
The receipt must decode in its single canonical form, with a supported protocol version, a nonzero activity ID and a present signature.
Strict signature
The verifier checks a strict Ed25519 signature over the receipt digest. The digest is domain-separated, so a signature made for another purpose cannot be replayed as a receipt.
Pinned keys
Each key has a key ID, a public key and an inclusive first and last height in which it signs.

The key delivered next to a receipt is never its own trust anchor. Verifying with no pins only checks consistency.

Inclusive height window

First heightReceipt heightLast height
Sample. Labels only; no values are shown as real.

Pass

Key is in your list and the height is inside its window.

Fail

Key not in your list, or height outside the window. Refused.

Check 02

Is this receipt about this payment

The signature says who signed. The verifier then ties the receipt to the raw signed transaction and to the result it claims.

Receipt

Raw transaction

  • Activity IDKeccak-256Raw signed transaction
  • SenderSender
  • NonceNonce
  • ChainChain
  • Sequence positionSequence position
Sample. The Activity ID equals the Keccak-256 of the raw signed transaction.
Linework illustration of a paper receipt with one blue mark.

Result must match

Returned data, logs and their order, and the gas and fee fields in the RPC view must match what the receipt authenticated. A mismatch is a refusal, not a warning.

A revert is not a payment

A committed transaction can still hold a failed execution. The verifier treats a committed revert as authenticated failure, so a merchant never reads it as money received.

Sender, nonce, chain and sequence position must all agree.

Check 03

Did the block actually commit

Receipted and committed are different claims. The verifier reports the stronger one only when the consensus evidence is there.

  1. 01Prove the sequence batch and the wrapped transaction against the execution block’s data hash.
  2. 02Prove the execution result against the next header’s results hash.
  3. 03Verify both CometBFT commits and their continuity.
Sample. Each link is labelled with what it proves.
  • > 2/3More than 2/3 of validator voting power signed: pass
  • ≤ 2/3At or below 2/3: refused

Check 04

Is this balance really in state

A witness proves one account or module value sits inside committed state, without downloading that state.

Merkle path
A key and value are proven through a module’s subtree and then the composite root, using SHA-256 with fixed domain prefixes for leaves and nodes.
Strict encoding
Lengths, indices, depths, odd-width levels and trailing bytes are all checked.
Account binding
Account entries add a second path through the account registry. The verifier binds the account identity and, if you supply it, the asset.
Header-verified balance
The Go custody-proof library checks chain identity, block time, header chaining and commit quorum, then the membership proof against the application hash. It requires a positive balance in the expected denomination.

Network identity comes from the caller, EVM chain ID 125 among it. The custody module is retired; this path serves archived custody records only.

Sample. The proven path is blue; unrelated nodes stay grey.

Test vectors

Break a receipt, get a named reason

One set of recorded evidence is shared across languages. Each deliberate mutation must be refused with a specific reason, never a generic error.

  • 1Receipted transaction
  • 1Receipted revert
  • 6Six mutations
  • 1Committed payment with BFT evidence
01Unpinned keyRefused
02Height outside the windowRefused
03Activity ID that is not the raw hashRefused
04Wrong sequence hashRefused
05Tampered logRefused
06Noncanonical bytesRefused
PassCommitted paymentPasses

Fixture validator sets are test material, not production trust.

A wooden gavel on a desk in front of shelves of bound law books.

Your turn

Verify one yourself

Take a portable bundle, pin your own keys, and run the check in the language you already use.

What a bundle carries

The signed receipt, its digest, the signing key and an inclusion height, with the raw transaction optional. Unknown fields are refused and signed receipts must be between 1 byte and 1 MiB. Committed bundles add block header, inclusion proofs, commit and validator set. All are verified against your keys, not the key they carry.

Sample bundle layout. Field names are labels only.

Languages

Go · Rust · TypeScript · Python · Java and Kotlin · .NET · Swift

  • Merchants confirm a payment before releasing goods, with the rung stated plainly.

  • Auditors keep signed outcomes and proofs that stay verifiable years later, without calling the network.

  • Wallet and SDK developers reuse maintained verifiers and shared vectors.

  • Agent builders let software act on evidence it has checked, not on an RPC answer alone.