WaitlistWaitlist
Execution layer
Verify and Preflight tell your agent whether something is true and safe. The execution layer goes the rest of the way: your agent states the outcome, and Metera checks, builds, signs in your enclave, lands it and tells you how it ended.
/v1/preflight will be published with general availability.One call replaces the wallet, policy, builder, signer and landing code you would otherwise maintain.
The six steps
Every execution runs the same pipeline. A step that fails stops the pipeline and the reason is recorded.
- Policy. The intent is checked against your rules before anything is built.
- Build. Metera constructs the transaction for the outcome you asked for (e.g. via Raydium or Meteora).
- Verify. The on-chain state it will act on is checked: pool reserves, price impact, slippage guard, account owners. This is Preflight running on the bytes Metera just built.
- Sign. Your delegated signer signs inside your Turnkey enclave. Metera never sees the key.
- Land. The transaction is routed through Jito, Astrolane or Temporal Nozomi, with confirmation handled.
- Reconcile. The execution ends in exactly one final state, with a reason.
Intent
Your agent sends what it wants, not how to do it. It never touches RPCs, instructions or signers.
const intent = intentFrom("swap 250 USDC to SOL");Policy
Set once, enforced on every call, before a single signature.
{
"name": "treasury-default",
"programs": ["raydium", "meteora"],
"mints": ["USDC", "SOL"],
"max_notional": "500 USDC",
"price_impact": "<= 100 bps",
"daily_cap": "2000 USDC"
}| Rule | What it bounds |
|---|---|
| Allowed programs | Only the protocols you approve |
| Allowed mints | Only the assets you approve |
| Max notional | Maximum size per transaction |
| Price impact | Maximum impact, in basis points |
| Daily cap | A hard ceiling per day, no matter what the agent asks for |
If the agent asks for 2,400 USDC against a 2,000 USDC daily cap, the execution is blocked by policy and nothing is signed.
The four final states
| State | Meaning | What your agent should do |
|---|---|---|
LANDED | Confirmed on-chain. | Move on. |
FAILED | Did not land. You get the reason, not a retry loop. | Read the reason. Decide whether to try a new execution. |
EXPIRED | The window passed before it landed. Nothing is resent blindly. | Re-quote and submit a new execution if still wanted. |
NEEDS_ACTION | Something needs a human. Metera stops and tells you. | Escalate to a person. |
There is no fifth state and no “sent”. “Sent” only means an RPC accepted the transaction; it is not an outcome. Failed transactions are never resent automatically, so a failure cannot turn into a double spend.
The trail
Every execution keeps a full trail: what was requested, signed, sent and landed. Your agent reads a status, not raw logs.
$ curl -X POST https://api.metera.xyz/v1/preflight -d @intent.json
Metera execution · exec_8f2c
│ Step 1/6: Checking policy (5 rules) ........ pass
│ Step 2/6: Building transaction via Meteora ..
│ Step 3/6: Verifying on-chain state ..........
│ Step 4/6: Signing with delegated signer ..... signed
│ Step 5/6: Submitting via Jito ............... sent
│ Step 6/6: Confirming ........................ done
■ Landed. Trail saved to exec_8f2c.Execution rebates
When execution earns a rebate, it is returned to you. Rebates are paid in SOL. They depend on execution and are not guaranteed, so treat them as a possible discount, never as expected income.
Coming next
Perpetuals executed by your agent, with the same pipeline and the same four states, are planned for 2027.