nightshift-x402.nightshift-labs.workers.dev/v1/evm/typed-data-check
Check an EIP-712 signature request BEFORE signing (the JSON passed to eth_signTypedData_v4): detects ERC-2612 Permit, DAI permit, Uniswap Permit2 (allowance + transfer) and Seaport orders, explains in one line what the signature grants, and flags drainer patterns: unlimited allowances, spender that is a plain wallet (EOA, checked on Base), zero-payment NFT listings, bulk listings, never-expiring g
POST
https://nightshift-x402.nightshift-labs.workers.dev/v1/evm/typed-data-checkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://nightshift-x402.nightshift-labs.workers.dev/v1/evm/typed-data-check", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"domain":{"chainId":8453,"name":"USD Coin","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","version":"2"},"message":{"deadline":"1893456000","nonce":"0","owner":"0x1111111111111111111111111111111111111111","spender":"0x2222222222222222222222222222222222222222","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"},"primaryType":"Permit","types":),
});
console.log(await res.json());Example input
{"domain":{"chainId":8453,"name":"USD Coin","verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","version":"2"},"message":{"deadline":"1893456000","nonce":"0","owner":"0x1111111111111111111111111111111111111111","spender":"0x2222222222222222222222222222222222222222","value":"115792089237316195423570985008687907853269984665640564039457584007913129639935"},"primaryType":"Permit","types":