Contract Call Tool
Paste the address and ABI, pick a method, and call it — writes are simulated first, and failures show the exact revert reason.
Contract and ABI
The ABI lists the callable methods first; then you set the arguments and how to run it. Single calls and loops share one set of inputs: set the count to 1 for a single call, or N to run it N times.
Read and write any smart contract
This contract interaction tool builds a form from any ABI: paste an address and its ABI and you get every function the contract exposes. Read functions return their value into the page, write functions build a transaction you can simulate before signing, and failures print the full revert reason instead of a generic error.
- Reads
- work without a wallet — no signature needed
- Writes
- simulated first, so a revert is caught before you sign
- Reuse
- the address, ABI and arguments stay in your browser for next time
- Failures
- the actual revert reason is printed, not just "failed"
How it works
1. Paste the contract address, or pick a saved one
Addresses you use often are saved in the browser together with their ABI, so the next call is two clicks.
2. Paste the ABI
Copy it from the explorer tab of a verified contract. The form is generated from it, including structs and array parameters.
3. Call a read function
Reads need no wallet and no gas. The return value, including multi-value returns, is printed with every address copyable.
4. Simulate, then send a write
A static call runs the write without spending gas, so you see the result or the revert reason first. When it looks right, send it for real.
FAQ
- Can I call a contract without its ABI?
- No. The ABI is what tells the form how to encode the parameters and decode the answer. Copy it from the verified source on the block explorer.
- Can I test a write function without paying gas?
- Yes. A static call runs the function as a simulation: no gas, no state change, and you see the result or the revert reason.
- Are my saved contracts kept after a refresh?
- Yes, both the address and the ABI are stored in your browser, so you can pick the contract from a list instead of pasting it again.
- Why did a call fail?
- The console prints the revert reason the contract returned. That is usually enough to see which argument or permission is wrong.
