When an AI agent purchases a service on one chain and receives delivery evidence on another, two independent state machines must agree. A payment transaction may be visible before it is sufficiently final, while the service’s completion receipt may reference a different network. Design settlement around explicit evidence rather than the assumption that any block confirmation equals irrevocable payment.
Model four distinct facts about a transaction
A cross-chain AI marketplace must distinguish authorization, source-chain inclusion, source-chain finality and destination-side acceptance. None of those facts alone proves that the buyer received the promised work. Create stable identifiers for the service order, accepted job specification, payment attempt and delivery receipt. A destination process must not treat a payment pending on the source chain as fully settled unless the commercial risk policy explicitly allows early service delivery. For an expensive inference task, that policy might demand stronger confirmation than for a negligible preview. Name who bears the risk of reorganization, bridge outage and failed delivery. A settlement interface should show each state separately instead of printing ‘paid’ as soon as a wallet broadcasts a transaction.
Finality is chain-specific, not a universal timer
A proof-of-stake chain can expose proposed blocks, justified checkpoints and finality concepts that differ from simple confirmation counts. Ethereum’s documentation explains its consensus and finality mechanisms, but another network, rollup or bridge can have different assumptions. Never encode ‘wait five minutes’ as a universal proof of settlement. Instead, tie the release rule to a clearly identified chain and verifiable commitment state, then specify what happens when information becomes unavailable. A bridge may rely on its own validators, light clients or challenge periods; a destination application’s confidence inherits those assumptions. Record the exact source chain, block identifier and proof or message identifier used when the settlement decision was made. If that evidence cannot be reconstructed later, the accounting system is not audit ready.
Bind receipts to a complete service order
An AI service completion receipt should reference the immutable order specification: model class or capabilities, expected output format, success criteria, deadline and buyer-approved price. A statement that says ‘job complete’ without identifying the job is too weak for settlement. Hash or otherwise bind the agreed manifest to the receipt, and provide a dispute-safe way to inspect the relevant outputs without putting private customer prompts on a public chain. The receipt should identify which party produced it and the exact service version used. For outputs that are too large or sensitive for blockchain storage, place only a verifiable commitment on-chain and retain access-controlled supporting evidence off-chain. A cryptographic hash proves consistency with the referenced bytes, not the quality or legality of those bytes.
Prevent duplicate redemption across networks
Messages can be retried, bridges can deliver notifications more than once and agents may resubmit after an ambiguous response. To prevent double payment or duplicate release, every order should carry a one-time nonce or receipt identifier with replay protection scoped to the contract and chain. EIP-712 gives a standard format for typed signed data and domain separation, but applications must still enforce nonce use and expiration. Test the same signed order against a second deployment, an alternate chain, a revised contract and a duplicate delivery. Explicitly reject a redemption whose receipt was already consumed. Persist idempotency decisions even if a worker crashes after completing the underlying transfer, otherwise infrastructure retries can become financially significant security events.
Design dispute windows around observable evidence
A buyer and provider may disagree about whether the output satisfies the promised format or deadline. The contract should define objective acceptance checks before execution starts, and reserve human arbitration for genuinely subjective work. Record when the supplier submitted the deliverable, when the buyer could access it and which validation checks passed. A dispute window should begin from an agreed observable event, not a server timestamp that either party can unilaterally rewrite. Escrow release may be automatic for clearly measurable tasks, but a failed or incomplete result needs a bounded remediation path. Specify whether partial work is payable and which party pays transaction or bridge fees after a refund. The policy must account for actual network costs and consumer protections where they apply.
Stress test the entire cross-chain state machine
Run a scenario matrix covering source-chain reorganization, finality delay, missing cross-chain message, duplicate receipt, chain halt, expired order and incorrect destination. For each, the ledger should reach a recoverable state and never count the same payment twice. Monitor orders stuck between states, time to finality, unmatched receipts and dispute frequency separately. Security reviews should include both the bridging protocol and the application settlement contract; a secure signature scheme cannot rescue a buggy escrow transition. NIST’s approach to governing and measuring AI risks also applies to AI agent actions where inaccurate service claims may trigger irreversible transfers. The objective is an auditable route from buyer authorization to demonstrated delivery, not a faster dashboard animation.