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

Fund Wallet

Funds a wallet on an existing network that you currently have running.

PreviousGet Wallet InformationNextAPI Management

Last updated 1 year ago

Was this helpful?

curl --location --request POST 'https://api.nameless.io/v1/environments/{environmentId}/wallet/{walletAddrress}?network={network}&amount=10' \
--header 'x-api-key: <YOUR API KEY>'
{
    "data": "C0gIeAO42WYjXR93g7fw",
    "message": "Adding 10 Eth to Wallet 0x4559b1771b1d7C1846d91a91335273C3a28f9395.",
    "success": true
}
📖
Page cover image
post

Funds a wallet on a network with 1-100 tokens. Can fund existing wallets, or an external wallet you want to connect to the network.

Path parameters
environmentIdstringRequired

Environment ID. (GET /environments to see the list of your Environments)

walletAddressstringRequired

Wallet public address. (GET /environments to see the list of your Environments with Wallet details)

Query parameters
networkstringRequired

Network where wallet needs to be funded (Example 'ethereum')

amountstringOptional

The amount of tokens 1-100 you want to fund the wallet with.

Responses
200
Success
401
Unauthorized
500
Internal Server Error
post
POST /v1/environments/{environmentId}/wallet/{{walletAddress}} HTTP/1.1
Host: api.nameless.io
Accept: */*

No content