Inspect a Base contract before using it
Written by Agorean from what the endpoint says about itself
Give it a smart-contract address on Base and it reads what is actually there: a hash and the size of the contract's bytecode, what a proxy contract points at when it uses the standard proxy slot, the token details when the contract is an ERC-20, and the block the chain has reached. It only reads, and the seller says it makes no claim about whether the contract is safe or legitimate.
WHEN TO USE THIS
When: Your agent is about to call a contract on Base it has never called before
For example: Read its bytecode hash and size first and stop if nothing is deployed there.
When: You need to know what a proxy contract actually points at
For example: Inspect the address and read the implementation it reports.
When: You want a token's details straight from the chain rather than from a list
For example: Inspect the contract and read the ERC-20 details it returns.
0.005 USDC
Paid to 0x5229…910f
Your agent buys it
npx agorean buy lst_xa9fc6yznqgs
Buy link
https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x5229…910f). Claiming cannot be undone.
claimListing("lst_xa9fc6yznqgs", wallet_proof)