Promise-based Solana RPC Client

Lightweight HTTP client with async/await API, request interceptors, JSON handling, and configurable instances for modern apps.

Contract Address

Use this reference for official verification sources.

Program Address

FWeB1xuPVfzcyVV1TScSUBELVsPr3gBbjoEhzaNcpump

What is Axios?

Axios is a Promise-based Web3 RPC & HTTP client that brings the Axios design pattern to the Solana ecosystem. Focused on developer experience: clean API, minimal JSON-RPC boilerplate, and easy to use for dapps, dashboards, bots, explorers, payment gateways, ZK layers, etc.

Axios-inspired API for Solana RPC

Promise-first, async/await friendly

Wallet-native signing & interceptors

Automatic parsing of Solana responses

Core Capabilities

Promise-based RPC Client

Solana JSON-RPC abstraction in Axios-like API.

Wallet Signature Interceptors

Request interceptor to inject wallet signature, pubkey, and hash.

Automatic JSON Parsing

JSON responses from RPC parsed into ready-to-use objects.

Base RPC Instance Configuration

Create different instances for mainnet, devnet, or custom RPC endpoints.

Cancelable Requests & Timeout

Supports timeout & cancellation when network is congested or user switches context.

Transaction Sender & Simulation

API to send signed transactions and perform simulation before broadcast.

WebSocket Listener

Listener for transactions, logs, and account changes in real-time.

ZK-proof Hook Layer

Hook for proof logic integration before and after RPC.

Developer-Friendly API

Familiar Axios-style interface

Supports async/await everywhere

Structured error handling

Instance-based configuration

// Create instance
const rpc = axios.create({
  endpoint: "https://mainnet.helius.rpc"
})

// Get balance
const balance = await rpc.account.getBalance(
  pubkey
)
console.log(balance.data.lamports)

// Request interceptor with wallet sign
rpc.interceptors.request.use(async (cfg) => {
  cfg.headers["x-wallet-sign"] = 
    await wallet.sign(cfg.bodyHash)
  return cfg
})

// Send signed transaction
await rpc.tx.sendSigned({
  signature: "...base58-signed..."
})

Why Web3 Developers Choose Axios

Axios cuts through raw JSON-RPC complexity, reduces boilerplate, and makes Solana RPC integration feel like calling a regular REST API.

Full JSON-RPC abstraction

Axios-like mental model for RPC

Auto-parsed Solana data structures

Zero boilerplate for payload building

Minimal learning curve for Axios users

Ideal for dapps, bots, explorers, analytics

Axios Token Utility

Powering the Axios ecosystem on Solana with community-driven tokenomics

Weekly Token Burning

The Axios token implements a deflationary mechanism with weekly burns to maintain market price stability. Each week, a portion of tokens is permanently removed from circulation, reducing supply and supporting long-term value for the community.

Community-First Launch

The Axios token launch is designed for the community in the Solana ecosystem. The first token burn will occur immediately after the official launch, demonstrating our commitment to sustainable tokenomics and long-term project value.

Deflationary Supply Model

Regular burns ensure decreasing circulating supply over time

Price Stability Mechanism

Weekly burns help maintain healthy market dynamics and reduce volatility

Transparent Burn Schedule

All token burns are publicly verifiable on the Solana blockchain

Community Governance

Token holders participate in key decisions about the Axios ecosystem

Technical Highlights

Promise-first Architecture

JSON-RPC Protocol Binding

Wallet-native Sign Middleware

WebSocket Streaming Support

Timeout & Cancellation Controller

Multi-endpoint RPC Instances

Structured Error Payloads

Transaction Serializer/Decoder Hooks

Traditional vs Axios

Traditional RPC

Manual JSON-RPC payloads

Complex wallet integration

Manual endpoint management

Custom timeout handling

Manual data parsing

Axios

Solana JSON-RPC & Web3 flows

Wallet signature & pubkey interceptors

RPC endpoint for Solana nodes

Timeout for block confirmation & RPC round-trip

JSON parsing + Solana data shape helpers

Install Axios

Install the package via your favorite JavaScript package manager.

npm install axios
yarn add axios

TypeScript typings support recommended for best DX.

Ready to Build Cleaner RPC Layers?

Use Axios as your primary interface to the Solana network and keep your RPC logic clean, testable, and scalable.