- TRACE
- STATE
- CODE
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How can I debug smart contracts with AI?
Your agent uses GetBlock's RPC infrastructure to pull execution traces and contract code. It analyzes these traces to find exactly where a transaction failed or how a state changed. You get a clear breakdown of the logic errors causing the issue.
Debugging outcomes.
Where your insights land.
What your agent produces after analyzing the RPC data.
TRACE
Execution paths found
Your agent follows the call stack through each sub-call. You see exactly which instruction triggered a revert.
STATE
State change analysis
Your agent compares storage values before and after a call. You catch unexpected balance or mapping updates.
CODE
Bytecode inspection
Your agent pulls the contract code directly from the chain. It maps the raw bytecode to logic you can actually understand.
HUMAN
Manual fixes needed
Your agent flags complex logic errors or gas issues. You decide if the fix requires a contract upgrade or a different deployment.
The workflow
What your agent does when a transaction arrives.
Your agent moves from raw data to a logical explanation of the execution.
Pulling the trace
Your agent requests a detailed execution trace for a specific transaction hash to see the full call stack.
debug_trace_transactionInspecting the code
To understand the logic being executed, your agent fetches the contract's bytecode from the network.
eth_get_codeSimulating calls
Your agent tests specific function calls against the current state to replicate a failure without spending gas.
debug_trace_callScanning blocks
If a specific transaction is hard to find, your agent scans through block data to locate the relevant execution.
debug_trace_block_by_number
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute GetBlock tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Direct prompts to trigger debugging tasks.
Starting points
Replace the transaction hashes and contract addresses with your actual data.
GetBlock Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_fKBRnyAOTfW2kcEEsmaTPlQbbeSL20kULVFH9xwE/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, GetBlock capabilities are ready to use.
{
"mcpServers": {
"getblock-web3-rpc-provider-mcp": {
"url": "https://edge.vinkius.com/vk_preview_fKBRnyAOTfW2kcEEsmaTPlQbbeSL20kULVFH9xwE/mcp"
}
}
}- 01
Trace the execution of transaction 0xabc123... and tell me why it reverted.
- 02
Get the bytecode for contract 0xdef456... and explain its main functions.
- 03
Run a debug trace call for this function on contract 0x789ghi... to check the output.
- 04
Look through block 18000000 and find the trace for the transaction involving this address.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect GetBlock once, then ask.
Add your GetBlock RPC URL to the MCP. Your credentials stay encrypted, and you can immediately start debugging in your preferred AI client.
Connect GetBlock to your agentFAQ
How this task behaves.
- 01
Can your agent fix the smart contract for me?
No. Your agent can analyze the code and suggest fixes, but it cannot write or deploy new contracts to the blockchain.
- 02
Does your agent execute transactions on the mainnet?
No. The tools are for tracing and inspecting existing data. Your agent cannot send or sign any transactions.
- 03
Can I use this to check gas usage?
Yes. By tracing the execution, your agent can see the gas consumed by specific calls in the stack.
- 04
What if the transaction is very old?
As long as the GetBlock node has the historical data for that block, your agent can trace it.
- 05
Do I need to provide my private keys?
No. This MCP only uses RPC methods for reading data. It never requires or touches your private keys.
More questions about GetBlock? See everything the GetBlock Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from GetBlock to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
GetBlock plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect GetBlock to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









