Avail

Avail is a modular blockchain that provides scalable, trust-minimized data availability for rollups and other execution layers. It separates data availability from execution: rollups publish their transaction data to Avail, and Avail guarantees — through erasure coding, KZG polynomial commitments, and data-availability sampling by light clients — that the data is verifiably available without any single party having to store or re-execute it.

The Avail Node is a Substrate-based client secured by BABE block production and GRANDPA finality, with a native AVAIL token used for data-availability fees and staking. Applications interact with Avail over the Substrate JSON-RPC (system, chain, state, and author methods), Avail's own Kate RPC for data-availability queries and proofs, and WebSocket subscriptions for live updates.

Key Features

  • Data Availability Layer: Publishes and guarantees the availability of rollup data without re-execution
  • KZG Commitments + Sampling: Erasure-coded data with KZG commitments lets light clients verify availability by sampling a few cells
  • Substrate (BABE + GRANDPA): Substrate-based node with deterministic GRANDPA finality
  • Kate RPC: Avail-specific kate_* methods for block dimensions, matrix rows, cell proofs, and data-inclusion proofs
  • Trust-Minimized Bridging: Data-inclusion proofs (via kate_queryDataProof) let bridges prove availability on Ethereum
  • AVAIL Token: Used for data-availability fees and staking; denominated to 18 decimals

TECHNICAL DISCLAIMER: AUTHORITATIVE API SPECIFICATION.

GetBlock's API reference documentation is provided exclusively for informational purposes and to optimize the developer experience. Avail's Substrate JSON-RPC follows the Substrate/Polkadot RPC specification, and the Kate RPC is defined by the Avail Node implementation; both are documented at docs.availproject.org.

Interfaces

InterfaceTransportUse it for
JSON-RPCSubstrate JSON-RPC 2.0 over HTTPRequest/response queries (system, chain, state, author, payment) and extrinsic submission
Data Availability (Kate)Substrate JSON-RPC 2.0 over HTTPAvail-specific kate_* methods: block dimensions, matrix rows, cell proofs, and data-inclusion proofs
WebSocketSubstrate JSON-RPC 2.0 over WebSocketThe same methods plus pub-sub subscriptions (new/finalized heads, storage changes, extrinsic status)

Interface Endpoints

bashhttps://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
bashwss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

Network Information

PropertyValue
Network NameAvail
Native CurrencyAVAIL
Token Decimals18
SS58 Format42
FrameworkSubstrate (data-availability layer)
ConsensusBABE block production with GRANDPA finality
Block Time~20 seconds
FinalityDeterministic (GRANDPA)

Supported Networks

NetworkJSON-RPC (HTTP)WebSocket (WSS)Frankfurt, GermanyNew York, USASingapore, Singapore
Mainnet✅✅✅✅✅

Quickstart

  1. Setup project

    bashmkdir avail-api-quickstart && cd avail-api-quickstart && npm init --yes
  2. Install dependency

    bashnpm install axios
  3. Add code

    index.js

    javascriptconst axios = require('axios');
    let data = JSON.stringify({
      "jsonrpc": "2.0",
      "id": "getblock.io",
      "method": "system_chain",
      "params": []
    });
    
    let config = {
      method: 'post',
      maxBodyLength: Infinity,
      url: 'https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>',
      headers: { 
        'Content-Type': 'application/json', 
        'Accept': 'application/json'
      },
      data : data
    };
    
    axios.request(config)
    .then((response) => {
      console.log(JSON.stringify(response.data));
    })
    .catch((error) => {
      console.log(error);
    });
  4. Run the script

    bashnode index.js
  5. Response

    bash{
        "jsonrpc": "2.0",
        "result": "Avail DA Mainnet",
        "id": "getblock.io"
    }
  1. Setup project

    bashmkdir avail-api-quickstart && cd avail-api-quickstart
    python -m venv venv && source venv/bin/activate
  2. Install dependency

    bashpip install requests
  3. Add code

    main.py

    pythonimport requests
    import json
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>"
    
    payload = json.dumps({
      "jsonrpc": "2.0",
      "id": "getblock.io",
      "method": "system_chain",
      "params": []
    })
    headers = {
      'Content-Type': 'application/json',
      'Accept': 'application/json'
    }
    
    response = requests.request("POST", url, headers=headers, data=payload)
    
    print(response.text)
  4. Run the script

    bashpython main.py

APIs

Support

For technical support and questions:

See Also