70trust / 100

Verify Sig

by Busker Signature Verifier in Onchain & crypto

x402 APIPassing, checked 3 h ago

Verify EVM signatures offline: EIP-191 personal messages, EIP-712 typed data, and x402/EIP-3009 payment authorizations (paste a raw Payment-Signature header) — recovers the signing wallet, checks it against an expected address, and reports the authorization's amount, payee and validity window. No chain reads.

POST
https://workbot1.oddsys.org/verify-sig
Price
$0.002
per call in USDC
Uptime
100%
last 30 days
Response time
2.1 s
2.3 s slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://workbot1.oddsys.org/verify-sig

Each call costs $0.002 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://workbot1.oddsys.org/verify-sig
content-type: application/json

{
  "address": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
  "message": "Busker x402 verify-sig example",
  "signature": "0x8f83ce1348bb56eb6d7ede8f6c6787adc3897839e686a0b305fb87e7cd248d5555c7405f0e776b995be1971d6ed71a95541d19635e354f807d94c9326c22a1cb1c"
}

Parameters

ParameterTypeRequiredDescription
addressstringNoExpected signer; when given the response carries a matches boolean.
authorizationobjectNoEIP-3009 TransferWithAuthorization fields { from, to, value, validAfter, validBefore, nonce } (the x402 payload.authorization object).
domainobjectNoExplicit EIP-712 domain { name, version, chainId, verifyingContract } for a non-USDC token.
messagestringNoPlain message that was signed with personal_sign (EIP-191).
networkstringNoCAIP-2 network for authorization mode (default eip155:8453 = USDC on Base).
paymentHeaderstringNoRaw base64 value of an x402 Payment-Signature / X-Payment header; decoded and verified in one step.
signaturestringNo0x-prefixed 65-byte signature.
typedDataobjectNoEIP-712 payload { domain, types, primaryType, message } exactly as signed.

Example response

The provider's example. We can't check it without paying.

{
  "address": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
  "matches": true,
  "messageHash": "0x0c9b1f4d5f2b6e7a4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e",
  "mode": "eip191",
  "signer": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
  "valid": true
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.002.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://workbot1.oddsys.org/verify-sig' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf","message":"Busker x402 verify-sig example","signature":"0x8f83ce1348bb56eb6d7ede8f6c6787adc3897839e686a0b305fb87e7cd248d5555c7405f0e776b995be1971d6ed71a95541d19635e354f807d94c9326c22a1cb1c"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://workbot1.oddsys.org/verify-sig' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf","message":"Busker x402 verify-sig example","signature":"0x8f83ce1348bb56eb6d7ede8f6c6787adc3897839e686a0b305fb87e7cd248d5555c7405f0e776b995be1971d6ed71a95541d19635e354f807d94c9326c22a1cb1c"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.002 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.002" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.002 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fworkbot1.oddsys.org%2Fverify-sig&method=POST
const res = await pay("https://workbot1.oddsys.org/verify-sig", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "address": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
    "message": "Busker x402 verify-sig example",
    "signature": "0x8f83ce1348bb56eb6d7ede8f6c6787adc3897839e686a0b305fb87e7cd248d5555c7405f0e776b995be1971d6ed71a95541d19635e354f807d94c9326c22a1cb1c"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.002 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.002"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://workbot1.oddsys.org/verify-sig",
        json={
            "address": "0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf",
            "message": "Busker x402 verify-sig example",
            "signature": "0x8f83ce1348bb56eb6d7ede8f6c6787adc3897839e686a0b305fb87e7cd248d5555c7405f0e776b995be1971d6ed71a95541d19635e354f807d94c9326c22a1cb1c",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed4022.1 s$0.002
8 h agoPassed402731 ms$0.002
13 h agoPassed4022.2 s$0.002
19 h agoPassed402750 ms$0.002
24 h agoPassed4022.2 s$0.002
Show 10 older checks
29 h agoPassed4022.2 s$0.002
34 h agoPassed4022.2 s$0.002
39 h agoPassed4022.2 s$0.002
43 h agoPassed4022.2 s$0.002
2 days agoPassed4021.6 s$0.002
2 days agoPassed4022.2 s$0.002
2 days agoPassed4021.8 s$0.002
3 days agoPassed4022.2 s$0.002
3 days agoPassed4022.2 s$0.002
3 days agoPassed4022.2 s$0.002