Supported ChainAxelar
Axelar API
Access Axelar blockchain data through the Spectrum API. Axelar is a Cosmos SDK chain that powers cross-chain messaging and asset transfers across more than 75 networks.
| Property | Value |
|---|---|
| Slug | axelar |
| Type | Cosmos SDK |
| Native Token | AXL |
| Address Format | Bech32 (axelar1..., axelarvaloper1...) |
Available methods
Axelar supports the same Cosmos SDK method set as Cosmos Hub. See the Cosmos Hub page for full descriptions.
Blocks · Block transactions · Transactions · Receipts · Native balance (AXL) · Denom balances · Denom supply · Token metadata · Cosmos staking suite · RPC proxy · Health.
Quick start
curl -X POST https://your-endpoint.simplystaking.xyz/v1 \ -H "Content-Type: application/json" \
{ "jsonrpc": "2.0", "method": "getBlockHeight", "params": { "chain": "axelar" }, "id": 1 }
{
"jsonrpc": "2.0",
"result": {
"chain": "axelar",
"height": 17234567
},
"id": 1
}Get an AXL balance
curl -X POST https://your-endpoint.simplystaking.xyz/v1 \ -H "Content-Type: application/json" \
{ "jsonrpc": "2.0", "method": "getBalance", "params": { "chain": "axelar", "address": "axelar1xyzabc..." }, "id": 1 }
SDK
import { Spectrum } from '@spectrumnodes/sdk';
const spectrum = new Spectrum({ api: 'https://your-endpoint.simplystaking.xyz/YOUR_API_KEY/' });
const block = await spectrum.core.getBlockHeight('axelar');
const validators = await spectrum.cosmos.getValidators('axelar');Endpoint differences from EVM chains
See Endpoint differences. All Cosmos SDK chain pages share the same behaviour.
Related pages
- Cosmos Hub: Reference Cosmos SDK chain page
- Cosmos endpoints
- Supported Chains: All networks