StealthTest
StealthTest Site
  • 👋Welcome to StealthTest
  • Features & Fundamentals
    • 🚰Faucet
    • 🗃️Logs
      • 📖Advanced Block Explorer
    • 💰Test Wallets
    • 🫂Teams & User Roles
      • 🎟️How to Create a Team
    • 🏢Smart Contract Repository
  • StealthTest API
    • 👨‍💻StealthTest API Reference Overview
    • 📖API Reference
      • Get Environments
      • Get Environment
      • Create Environment
      • Delete Environment
      • Get Wallet Information
      • Fund Wallet
    • 🎛️API Management
  • StealthTest Guides
    • 🧬Connecting to StealthTest Networks
      • 🦊Metamask
      • 3️⃣Thirdweb
      • 🪙Coinbase Wallet
    • ⚗️Test Wallet Import
      • 🦊Metamask Wallet Import
    • ⚡Testing with Remix
    • 🍬Testing with Truffle
    • 👷‍♂️Testing with Hardhat
    • 🍨Testing with Brownie
    • 🌲Testing with Web3.js + Cypress
Powered by GitBook
LogoLogo
On this page

Was this helpful?

  1. StealthTest API
  2. API Reference

Get Environments

Returns a list of environments running currently for your Team.

PreviousAPI ReferenceNextGet Environment

Last updated 1 year ago

Was this helpful?

curl --request GET 'https://api.nameless.io/v1/environments' \
--header 'x-api-key: <Your API Key>' \
--header 'Content-Type: application/json'
{
    "success": true,
    "data": [
        {
            "id": "97SjFDpPjxgkex0sOGJZW",
            "accountId": "sodM22-OIixbRuajh8hE0",
            "createdAt": 1684489830333,
            "chainId": 1234,
            "accountType": "organization",
            "name": "Nameless",
            "namespace": "e7d831a4-df3a-433e-85fe-0b815bf63ec5",
            "accounts": {
                "ethereum": [
                    {
                        "privateKey": "0xf5d82a795ec5c5751161334378841e7a765182a047ee071bdfb1184f67b78d76",
                        "address": "0x4559b1771b1d7C1846d91a91335273C3a28f9395",
                        "initialBalance": "100"
                    },
                    {
                        "privateKey": "0x996491130195a3dea4d3bad7dc252606cf77087ee82e905d9ba6d1d1f3f4cc9b",
                        "address": "0x930efAd00Bbd2f22431eE3d9816D8246C0D45826",
                        "initialBalance": "100"
                    },
                    {
                        "privateKey": "0xa09635b236df9be3485f4e63e0f5797509208a12c184ef18f1e81c9e1d0ff02d",
                        "address": "0x2181b50636dFcA9AfB94E49946a10CF7b87325b7",
                        "initialBalance": "100"
                    },
                    {
                        "privateKey": "0xe017b5d8ea60fa0b7494dcdca8a88862226fbfa2632ea8766a3a5d77476eba09",
                        "address": "0xb33587dBe9c27B0EFdff481f3e22Cb1B7e76835c",
                        "initialBalance": "100"
                    },
                    {
                        "privateKey": "0xb216bc274c0cf3683bf2fdbf2821fbd6e5d4b27f303b858653e51c96a5d5ad70",
                        "address": "0x4F881A74C5c42Dc63c6c91938dE640486701263b",
                        "initialBalance": "100"
                    }
                ]
            },
            "status": "SUCCESS",
            "updatedAt": 1684489876513,
            "networks": {
                "ethereum": {
                    "url": "https://e7d831a4-df3a-433e-85fe-0b815bf63ec5.ethereum.nameless.io",
                    "status": "SUCCESS"
                }
            }
        }
    ],
    "message": "Successfully read Environments for Account ID sodM22-OIixbRuajh8hE0."
}
📖
Page cover image
get

Environments are the machines running the blockchain networks you have deployed to test with. Getting information about the RPC URL, Chain ID, Created Date, Name, Status, and Wallet this is where you can find it

Responses
200
Success
401
Unauthorized
500
Internal Server Error
get
GET /v1/environments HTTP/1.1
Host: api.nameless.io
Accept: */*

No content