Skip to content
Fourohtwo

Scroll is-contract check

agent-data-tools.revmesh2074.workers.dev/scroll/is-contract

Scroll is-contract check. Check whether a 0x address on Scroll is a smart contract or a plain wallet: bytecode size, and whether it is an EIP-1167 minimal proxy and which implementation it points to. Use before sending funds or approving a spender; for a fuller risk verdict use check_counterparty. A malformed address is rejected with 400, uncharged.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/scroll/is-contract

Uptime100% 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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/scroll/is-contract?address=0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4");
console.log(await res.json());

Example input

{
  "address": "0x06eFdBFf2a14a7c8E15944D1F4A48F9F95F663A4"
}