Verify signer, expiry, route identity and custom policy input.
Trade with limits
Set the most you are willing to spend and the least you want to receive before your wallet signs a supported trade.
Choose your limits before signing.
Start with a quote, then set a spending cap, a minimum amount to receive and an expiry. The currently deployed Guard checks the result of a supported route.
Your wallet must approve the final transaction. Amounts in the advanced form use token base units; check the token decimals and every wallet instruction before signing.
Get a live quote, then review a local preview before signing the protected route.
The supported trade path uses the h/monhook Guard at Be7RvxKNFa35ER8DSmPoBq6AssMMoJsMU4fBso1E2ELQ. Its on-chain SBF matches SHA-256 f90a8834...5ac9c3ac6f; the project management wallet retains upgrade authority. The browser checks these values before asking for a trade signature.
If the route spends above the ceiling, receives below the floor, expires, or fails a selected hook, the entire Solana transaction returns an error and does not settle partially.
Explore trade rules and technical details
Precondition → route → postcondition → receipt.
Invoke the selected market or router through ordered CPI accounts.
Reload balances, enforce deltas and return a JRC1 receipt—or revert.
“Pre” means the route has not executed yet. The deployed Guard first checks the signer, expiry, route identity and optional policy. It then calls the selected route inside the same Solana transaction. After the route returns, “post” means the program reloads the real token accounts and measures what left and what arrived.
If the result stays inside the user’s limits, the transaction may commit and JRC1 reports the realized deltas. If it falls outside those limits, the deployed Guard returns an error. Solana’s atomic execution then discards the route’s state changes rather than leaving the user with a partially accepted trade.
What an intent actually commits to.
The on-chain h/monhook intent ID is derived when the executable route is assembled.
These fields answer who approves the trade, which supported route may execute, how much may leave, how much must arrive and when the approval expires. The local preview hash helps compare form revisions; it is not the on-chain intent ID. The signing step builds a fresh Jupiter route and its actual on-chain commitment. The browser does not pass a custom policy hook.
The wallet identity whose approval authorizes the protected route.
The selected program address prevents silent substitution of the execution venue.
Measured from the source account balance delta after route execution.
Measured from the destination account balance delta after execution.
Prevents a stale quote or route from being executed later.
Extends the base constraints through the open JHK1 interface.
Every rejection is explicit.
Failures before execution are the cheapest and easiest to understand: a wrong signer, expired intent or substituted route means the liquidity route never runs. Failures after execution are equally important. They mean the route ran inside the transaction, but the measured result did not satisfy the signed promise.
This distinction is why the table names the checking phase. It gives wallets and support teams a precise reason to show the user instead of a generic “transaction failed” message. A production adapter should map each program error to clear interface language while preserving the underlying error code for developers.
| condition | checked at | result |
|---|---|---|
| authority mismatch | PRE | route not invoked |
| expired slot | PRE | route not invoked |
| route CPI error | EXECUTE | error propagated |
| input exceeds ceiling | POST | full rollback |
| output below floor | POST | full rollback |
| custom policy rejection | PRE / POST | full rollback |
Execution questions.
Does h/monhook provide the swap quote?
Jupiter provides the quote and executable route. The browser requests a live quote, then builds a fresh Jupiter swap instruction at signing time and wraps supported bounds with the deployed Guard. Prices and routes may change between those steps; if the final result misses the signed minimum, the guarded transaction fails.
Can one intent cross multiple programs?
Yes, when those instructions are represented by the ordered route-account set passed to the wrapper and each invoked program is permitted by the selected policy.
What is the JRC1 receipt?
A compact return payload containing the intent identity and realized balance deltas, designed for wallets and interfaces to consume after successful execution.
Inspect the on-chain enforcement path.
See exactly where preconditions, CPI execution and postconditions run.