Quick Start

Prerequisites

  1. Sign in at app.flamewire.io with Google Auth.

  2. Generate an API key in Dashboard → API Keys and copy it.

  3. (Optional) Stake ≥ 10 ALPHA to unlock the daily free-tier credits.

  4. (Optional) Buy credits in USDC / TAO / ETH / SUI for pay-as-you-go usage.

Endpoint format

https://rpc.flamewire.io/{chain}

Replace {chain} with ethereum, bittensor, or sui. Send your key in the header X-API-Key: <YOUR_KEY>

Keep the key out of source control

# .bashrc or terminal
export FLAMEWIRE_KEY=PASTE_YOUR_KEY_HERE      # keeps it out of git  :contentReference[oaicite:2]{index=2}

All CLI and code snippets below read the key from that environment variable.

Example 1 · Latest Ethereum block (cURL)

curl -X POST https://rpc.flamewire.io/ethereum \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $FLAMEWIRE_KEY" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

Sample response:

0x149a9f3 (hex) → 21 605 107 (dec).

Example 2 · JavaScript (Fetch)

Example 3 · Python (web3.py)

Example 4 · Query Sui checkpoint (cURL)

Checking your credit balance

Open Dashboard → Usage to view remaining credits and the automatic 24-hour reset timer.

Last updated