Skip to main content
Use the REST API to create Virtual Environments from scripts, CI/CD jobs, or any backend. The same endpoints back the dashboard. For the full request and response schemas, see the REST API reference.

Before you begin

  • A Tenderly access key. Export it as TENDERLY_ACCESS_KEY in your shell.
  • Your account and project slugs, available in the URL of your Tenderly Dashboard.

Create a single-network Virtual Environment

Create a Multichain Virtual Environment

A Multichain Virtual Environment is created in a single call via the multivnets endpoint. All networks in the call are grouped under one stack_id, which is what makes cross-chain bridging possible between them.
multivnet-create.sh
Each entry in the vnets array creates one network inside the Multichain Virtual Environment. The response returns a stack_id and an array of Virtual Environment objects, each with its own RPC endpoints. See the REST API reference for the field-by-field schema.

Next steps