Chaingateway
Blockchain API

Build Blockchain Apps in Minutes

One unified API for all major blockchains. Send transactions, check balances, and decode token data—all with identical endpoints across chains. No more chain-specific complexity.

6+Blockchain Networks
1 APIUnified Interface
99.9%Uptime SLA
token-balance.js
const API_BASE = 'https://app.chaingateway.io/api/v2';const API_TOKEN = 'YOUR_SECRET_TOKEN';// Fetch TRC20 token balanceasync function getTRC20Balance(address, contractAddress) {  const response = await fetch(    `${API_BASE}/tron/balances/${address}/trc20/${contractAddress}`,    {      headers: {        'Authorization': `Bearer ${API_TOKEN}`      }    }  );  const data = await response.json();  console.log('TRC20 Balance:', data.data.balance);  return data.data;}// Fetch ERC20 token balanceasync function getERC20Balance(address, contractAddress) {  const response = await fetch(    `${API_BASE}/ethereum/balances/${address}/erc20/${contractAddress}`,    {      headers: {        'Authorization': `Bearer ${API_TOKEN}`      }    }  );  const data = await response.json();  console.log('ERC20 Balance:', data.data.balance);  return data.data;}// UsagegetTRC20Balance('TVF2Mp9QY7FEGTnr3DBpFLobA6jguHyMvi', 'TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj');getERC20Balance('0x...', '0x...');
Core Features

Everything you need, unified

All the blockchain operations you need with one consistent API. Stop juggling different endpoints for different chains.

Send Transactions

One function call to send transactions across all chains. Tron, Ethereum, Polygon, Bitcoin, Arbitrum—same interface.

  • Gas estimation
  • Auto-nonce handling
  • Signature verification
Token Transactions

Send ERC-20, TRC-20, BEP-20 tokens with the same API call. No contract address complexity.

  • Works with any token
  • Auto token detection
  • Decimal handling
Check Balances

Query native and token balances instantly. Automatic formatting and decimals—no manual parsing.

  • Instant queries
  • Works with all tokens
  • NFT Ownership support
Decoded Data

All blockchain responses come pre-decoded and human-readable. No hex parsing required.

  • Auto-decoding
  • Type safety
  • Full metadata
Unified Endpoints

Every chain uses identical routes and parameters. Write once, deploy everywhere.

  • Same routes
  • Same parameters
  • No chain logic
Enterprise Security

HMAC-signed requests, encrypted keys, and role-based access. Bank-grade security built-in.

  • HMAC signing
  • Bearer Suth
  • Passkey encrypted wallets
Code Examples

Simple, intuitive API

The Blockchain API is designed to be as simple as possible. No complex contract interactions—just clean, readable code.

create-address.js
// Chaingateway - Create a password-protected EVM address// Docs: /developers/tutorials/create-addresses.htmlconst axios = require('axios');async function createSecureAddress() {  const url = 'https://api.chaingateway.io/v2/ethereum/addresses';  const payload = {    // Optional: omit password to get privatekey in response (single-use only)    password: 'your_secure_password',  };  const headers = {    Accept: 'application/json',    'content-type': 'application/json',    Authorization: 'YOUR_API_TOKEN',  };  const response = await axios.post(url, payload, { headers });  console.log('Created address:', response.data);  // Example response:  // {  //   "status": 201,  //   "ok": true,  //   "message": "Address created",  //   "data": {  //     "address": "0xYourNewAddress",  //     "keystore": "{...}" // only for EVM when password given  //   }  // }}// For BSC/Polygon just replace /ethereum with /bsc or /polygon// For Tron replace /ethereum with /troncreateSecureAddress().catch(console.error);
Supported Networks

One API. Every major chain.

Build once and deploy everywhere. Use identical code for all supported blockchains. No chain-specific logic needed.

Ethereum

The leading smart contract platform

  • ERC-20 Tokens
  • ERC-721 NFTs
mainnetsepolia
Tron

Fast and cost-efficient blockchain

  • TRC-20 Tokens
  • TRC-721 NFTs
mainnetnile
Polygon

Ethereum's scaling solution

  • ERC-20 Tokens
  • ERC-721 NFTs
mainnetamoy
BNB Chain

Binance's high-performance chain

  • BEP-20 Tokens
  • BEP-721 NFTs
mainnettestnet
Arbitrum

Ethereum L2 for high throughput

  • ERC-20 Tokens
  • ERC-721 NFTs
mainnetsepolia
Bitcoin

The original blockchain

  • Native Transfers
  • UTXO Management
mainnettestnet3
Ready to build?

Stop rebuilding the same code for every chain

Join hundreds of developers who are shipping blockchain features faster with Chaingateway. Get 7 days free, no credit card required.

No credit card required
Deploy in minutes
24/7 support