List Environments
Changed onList all multi-chain environments for the given account and project
Request
- Base URLhttps://api.tenderly.co/api
- Auth
- API key in header X-Access-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Account ID or slug
Project ID or slug
Query parameters
Page number for pagination
Number of environments to return per page
Response
A successful response.
Example response
[
{
"id": "d4e5f6a7-b8c9-0123-def1-234567890123",
"display_name": "My Multi-Chain Environment",
"slug": "my-multi-chain-env",
"description": "A multi-chain test environment spanning Mainnet and Optimism",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T12:00:00Z",
"networks": [
{
"id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"network_id": "1",
"network_name": "Mainnet",
"network_type": "vnet",
"block_number": "0x12c50f0",
"region": "eu",
"chain_config_overrides": {
"chain_id": "1"
},
"explorer_config": {
"enabled": true,
"verification_visibility": "abi"
},
"accounts": [
{
"address": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
}
]
}
],
"bridge_config": {
"enabled": true,
"relay_mode": "autoRelay"
},
"active_instance": {
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T12:00:00Z",
"bridge_config": {
"enabled": true,
"relay_mode": "autoRelay"
},
"vnets": [
{
"id": "4010f442-c4d9-407d-aba1-7276e3312998",
"display_name": "My Vnet 123",
"slug": "my-vnet-123",
"description": "This is a description of my Vnet",
"status": "running",
"created_at": "2024-01-15T10:30:00Z",
"rpcs": [
{
"name": "Admin RPC",
"url": "https://virtual.mainnet.rpc.tenderly.co/tenderly/my-project/my-multi-chain-env-9e7edf81"
}
],
"fork_config": {
"network_id": 1,
"block_number": "0x12c50f0"
},
"virtual_network_config": {
"chain_config": {
"chain_id": 1
},
"base_fee_per_gas": 1,
"accounts": [
{
"address": "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
}
]
},
"rpc_config": {
"rpc_name": {
"name": "e2e-tests-example",
"suffix": "9e7edf81-f6c2-49c2-855f-242ff9a6b09a"
},
"rpc_persistence_config": {
"methods": [
{
"method": "tenderly_simulateTransaction"
}
]
}
},
"runtime_config": {
"running_duration": 3600
},
"sync_state_config": {
"enabled": true
},
"explorer_page_config": {
"enabled": true,
"verification_visibility": "abi"
}
}
]
}
}
]Changes
- warning
added the new
rid:simulation_draftenum value to the//response property for the response status - warning
added the new
rid:simulation_draftenum value to the//response property for the response status - warning
added the new
rid:simulation_draftenum value to the//response property for the response status - warning
added the new
rid:simulation_draftenum value to the//response property for the response status - warning
added the new
rid:simulation_draftenum value to the//response property for the response status - warning
added the new
rid:simulation_draftenum value to the//response property for the response status
- warning
- info
api tag
Virtual Environmentsadded - info
api tag
Environmentsremoved - info
added the non-success response with the status
- info