83trust / 100

Attest

by InsumerAPI in Onchain & crypto

x402 APIPassing, checked 4 h ago

Signed attestation (ECDSA plus a post-quantum ML-DSA-65 companion) of on-chain wallet conditions across 37 chains: token balance, NFT ownership, EAS, Farcaster, view calls, ratio rules, account code (plain key, EIP-7702 delegation, or contract), and agent standing (ERC-8004 registration, ERC-7710 delegation validity). A verifiable boolean, never raw balances or code. Up to 10 conditions per pay-per-call request. Pay in USDC on Base, Polygon, Arbitrum, Arc, or Solana.

POST https://api.insumermodel.com/v1/attest

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
286 ms typical, 286 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.insumermodel.com/v1/attest" \
  -H "content-type: application/json" \
  -d '{"conditions":[{"chainId":8453,"contractAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","threshold":"1","type":"token_balance"}],"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'
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.insumermodel.com%2Fv1%2Fattest
const res = await pay("https://api.insumermodel.com/v1/attest", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"conditions":[{"chainId":8453,"contractAddress":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","threshold":"1","type":"token_balance"}],"wallet":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}),
});
console.log(await res.json());

Example input

{
  "conditions": [
    {
      "chainId": 8453,
      "contractAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "threshold": "1",
      "type": "token_balance"
    }
  ],
  "wallet": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

Example output

{
  "data": {
    "attestation": {
      "id": "ATST-…",
      "pass": true,
      "results": [
        {
          "blockNumber": "0x…",
          "conditionHash": "0x…",
          "met": true
        }
      ]
    },
    "kid": "insumer-attest-v2",
    "sig": "…"
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402286 ms$0.05