tenderly

Simulate, debug, and monitor EVM transactions using the Tenderly API v2.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill tenderly-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tenderly
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/tenderly
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill tenderly-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires viem, ethers, axios, @tenderly/actions, @tenderly/hardhat-tenderly, express, and includes references (resource) components.

What problem does it solve? LLMs frequently generate outdated Tenderly API calls, confuse v1 and v2 endpoints, misuse authentication headers, and misunderstand Virtual TestNets, leading to failed simulations, 401 errors, and broken integrations. This Skill provides verified, current patterns for Tenderly's simulation, forking, alerting, and serverless action APIs across 60+ EVM networks. ## Core Features & Use Cases - Transaction Simulation: Simulate single transactions or sequential bundles with state overrides, gas profiling, and full call traces before sending anything onchain. - Virtual TestNets: Create isolated mainnet forks with custom RPC methods to fund accounts, set ERC-20 balances, manipulate time, and snapshot state for testing. - Alerts and Web3 Actions: Configure onchain monitoring alerts with webhook delivery and deploy serverless functions triggered by transactions, cron schedules, or webhooks. - Use Case: Before deploying a DeFi integration, simulate an ERC-20 approve plus transferFrom bundle against mainnet state, impersonate a whale address via state overrides, and extract per-call gas usage to validate the transaction flow. ## Quick Start Use the tenderly skill to simulate a USDC transfer on Ethereum mainnet and show me the gas usage and call trace.

Frequently Asked Questions about tenderly

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate a transaction with the Tenderly API?

POST to /api/v2/project/{accountSlug}/{projectSlug}/simulate with network_id as a string, a required from address, to, input calldata, gas, and simulation_type. Use the X-Access-Key header for authentication, not Authorization Bearer.

How to create a Tenderly fork for testing smart contracts?

Create a Virtual TestNet by POSTing to /vnets with fork_config containing the network_id as a number and a custom chain_id. The response includes an RPC URL supporting tenderly_setBalance, evm_snapshot, and other custom methods.

Why does my Tenderly API request return 401 unauthorized?

Tenderly uses the X-Access-Key header, not Authorization Bearer, so requests with Bearer tokens fail with 401. Also verify the key has not expired and has the required scope in Dashboard Settings under Authorization.

Does Tenderly support networks besides Ethereum mainnet?

Yes, Tenderly supports 60+ EVM networks including Polygon, Arbitrum, Optimism, Base, Avalanche, BSC, and their testnets. Pass the network_id as a string like "137" for Polygon in simulation requests.

What are the limitations of Tenderly Web3 Actions?

Web3 Actions have a 60-second execution timeout, 256 MB memory, and 10 MB storage per project. The runtime only includes ethers, axios, and @tenderly/actions, so arbitrary npm packages cannot be installed.

Why does tenderly_setErc20Balance not work for some tokens?

Proxy contracts and non-standard storage layouts can prevent the method from locating the balance mapping slot. Use tenderly_setStorageAt to directly write the correct storage slot, which varies by token such as slot 9 for USDC.