Astar API Endpoints

List of all Astar API endpoints

Astar API Endpoints by use case

  1. Getting Blocks
  2. Reading Transactions
  3. Writing Transactions & EVM Execution
  4. Account Information
  5. Event Logs
  6. Chain Information
  7. Getting Uncles
  8. Gas Estimation
  9. Web3
  10. Real-time Events

Available Enhanced APIs

  1. Subscription API

Getting Blocks

Retrieves information from a particular block in the blockchain.

Reading Transactions

Retrieves information on the state data for addresses regardless of whether it is a user or a smart contract.

Writing Transactions & EVM Execution

Allows developers to both send ETH from one address to another, write data on-chain, and interact with smart contracts.

Account Information

Returns information regarding an address's stored on-chain data.

Chain Information

Returns information on the Ethereum network and internal settings.

Getting Uncles

Returns information on uncle blocks which are network rejected blocks and replaced by a canonical block instead.

Gas Estimation

Web3

Returns Ethereum network configuration information.

Real-time Events

Introduces WebSocket-based requests/responses which leverage a network connection allowing developers to listen for changes continuously without the need for HTTP polling.


Available Enhanced APIs

Subscription API

All Networks
- newHeads
- logs