FlameWire
  • OnePager
  • INVESTORS
    • What is FlameWire?
    • Problem solved
  • Market Opportunity
  • Ecosystem Growth
  • Revenue
  • Tokenomics
  • USERS
    • Quick Start
  • Miners
    • Overview & Incentives
    • Node Requirements
    • Monitoring & Best‑Practices
    • Troubleshooting
  • Validator Guide
    • Roles & Incentives
    • Performance Weight Formula
  • RESOURCES
    • Links
  • FAQ
  • Media Kit
Powered by GitBook
On this page
  1. USERS

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:

{"jsonrpc":"2.0","id":1,"result":"0x149a9f3"}

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

Example 2 · JavaScript (Fetch)

const res = await fetch("https://rpc.flamewire.io/ethereum", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "X-API-Key": process.env.FLAMEWIRE_KEY
  },
  body: JSON.stringify({
    jsonrpc: "2.0",
    method: "eth_blockNumber",
    params: [],
    id: 1
  })
});
const { result } = await res.json();
console.log("Latest block:", parseInt(result, 16));

Example 3 · Python (web3.py)

from web3 import Web3, HTTPProvider
import os, json, requests

session = requests.Session()
session.headers.update({"X-API-Key": os.getenv("FLAMEWIRE_KEY")})

w3 = Web3(HTTPProvider("https://rpc.flamewire.io/ethereum", session=session))
print("Latest block:", w3.eth.block_number)

Example 4 · Query Sui checkpoint (cURL)

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

Checking your credit balance

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

PreviousTokenomicsNextOverview & Incentives

Last updated 24 days ago