payai.agentstools.dev/code
Is an address a contract or an EOA on Base, Ethereum, Arbitrum, Optimism, Polygon or BNB (default Base)? Returns is_contract, deployed code size in bytes, and the keccak256 code hash (eth_getCode).
GET
https://payai.agentstools.dev/codeUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i "https://payai.agentstools.dev/code?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&network=base" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "base"
}