Authentication
All requests require anX-Access-Key header. Generate a key from Account Settings → Authorization in the Tenderly Dashboard. See API tokens.
Create an environment
network_configs for a single-network environment, or multiple entries for a multi-network one.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | yes | Human-readable name shown in the dashboard. |
slug | string | no | URL-safe identifier. Auto-generated from display_name if omitted. |
network_configs | array | yes | One entry per network in the environment. |
network_configs[].network_id | string | yes | Chain ID of the network to fork (e.g. "1" for Ethereum). |
network_configs[].block_number | string | no | Fork point in hex. Defaults to the latest block. |
network_configs[].chain_config_overrides.chain_id | string | no | Override the chain ID assigned to this Virtual Environment. |
network_configs[].explorer_config.enabled | boolean | no | Expose a public explorer page. |
network_configs[].explorer_config.verification_visibility | string | no | "bytecode", "abi", or "source". |
network_configs[].accounts | array | no | Pre-funded accounts. Each entry has address and balance (Wei, hex-encoded). |
bridge_config.enabled | boolean | no | Enable cross-chain bridging between networks in this environment. |
bridge_config.relay_mode | string | no | "autoRelay" (default) or "delayedRelay". |
bridge_config.delay_seconds | integer | no | Relay delay in seconds when using "delayedRelay". |
Single-network example
request.json
Multi-network example
request.json
Response
Returns the created environment object. Theactive_instance.vnets array contains one entry per network, each with its RPC endpoints.
response.json
rpcs array on each entry contains the Admin RPC (full cheatcode access) and the Public RPC (standard JSON-RPC).
List environments
Get an environment
active_instance and RPC endpoints.
Delete an environment
204 No Content.
Batch delete environments
List transactions
Get a transaction
Send a transaction
Simulate a transaction
See also
- Create Virtual Environments via API, full scripted walkthrough
- Admin RPC reference, cheatcodes available on the Admin RPC
- API Reference, complete Tenderly API surface