81trust / 100
Evm Nonce Gap Check
by EVM Nonce Gap Check in Onchain & crypto
x402 APIPassing, checked 38 min ago
EVM Nonce Gap Check: calculates the gap between pending and proposed transaction nonces using only bounded caller-supplied values. Call when you need a bounded evm nonce gap check result before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for EVM Nonce Gap Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on B…
POST https://api.delx.ai/api/v1/x402/evm-nonce-gap-check
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 3 ms typical, 3 ms slowest 5%
- Last check
- 38 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.delx.ai/api/v1/x402/evm-nonce-gap-check" \
-H "content-type: application/json" \
-d '{"maximum_gap":1,"pending_nonce":12,"proposed_nonce":14}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.delx.ai%2Fapi%2Fv1%2Fx402%2Fevm-nonce-gap-check
const res = await pay("https://api.delx.ai/api/v1/x402/evm-nonce-gap-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"maximum_gap":1,"pending_nonce":12,"proposed_nonce":14}),
});
console.log(await res.json());Example input
{
"maximum_gap": 1,
"pending_nonce": 12,
"proposed_nonce": 14
}Example output
{
"evidence": {
"external_calls": 0,
"input_sha256": "b9889d09b1009c8b22542a020475a3b907ede762b24f2fafec69d286c024edfd",
"retained": false
},
"operation": "evm_preflight:evm_nonce_gap_check",
"result": {
"gap": 2,
"possible_replacement": false,
"within_budget": false
},
"schema": "delx/util-evm-nonce-gap-check/v1",
"status": "advisory"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 38 min ago | Passed | 402 | 6 ms | $0.001 |
| 6 h ago | Passed | 402 | 3 ms | $0.001 |