> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moralis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Blockchain API

> Low-level blockchain access made simple - query raw blocks, transactions, logs, and events with consistent, multi-chain APIs.

## Overview

The **Blockchain API** provides low-level access to raw blockchain data including blocks, transactions, and logs.

Query the blockchain directly without running your own nodes - get block data, transaction details, and decoded contract interactions across all supported EVM chains.

***

## What Is the Blockchain API?

The Blockchain API lets you query:

* **Blocks** - Block data by hash, number, or timestamp
* **Transactions** - Raw and decoded transaction details
* **Address Activity** - All transactions for a specific address
* **Logs** - Event logs and contract emissions
* **Internal Transactions** - Contract-to-contract calls

***

## Key Features

The Blockchain API includes:

* **Block Lookups** - Query blocks by hash or find blocks by timestamp
* **Transaction Details** - Full transaction data including gas and status
* **Decoded Transactions** - Human-readable interpretation of contract calls
* **Address History** - Complete transaction history for any address
* **Multi-Chain** - Consistent interface across all EVM chains
* **Latest Block** - Get the current block number for any chain

***

## Common Use Cases

The Blockchain API is commonly used for:

* **Block Explorers**\
  (display block and transaction data)
* **Address Monitoring**\
  (track transactions for specific wallets)
* **Historical Analysis**\
  (query blockchain state at specific times)
* **Transaction Verification**\
  (confirm transaction status and details)
* **Data Indexing**\
  (build custom indexes from raw data)
* **Debugging**\
  (inspect failed transactions and logs)

***

## Popular Endpoints

| Endpoint                                                                    | Description                         |
| --------------------------------------------------------------------------- | ----------------------------------- |
| [Get Block by Hash](/data-api/evm/blockchain/block-by-hash)                 | Retrieve block data by hash         |
| [Get Block by Date](/data-api/evm/blockchain/block-by-date)                 | Find block closest to a timestamp   |
| [Get Transaction](/data-api/evm/blockchain/transaction-by-hash)             | Get transaction details by hash     |
| [Decoded Transaction](/data-api/evm/blockchain/transaction-by-hash-decoded) | Get decoded transaction data        |
| [Address Transactions](/data-api/evm/blockchain/address-transactions)       | Get all transactions for an address |

***

## Get Started

Explore some of the popular Blockchain API endpoints:

* [Get Block by Hash](/data-api/evm/blockchain/block-by-hash)
* [Get Block by Date](/data-api/evm/blockchain/block-by-date)
* [Get Transaction](/data-api/evm/blockchain/transaction-by-hash)
* [Get Address Transactions](/data-api/evm/blockchain/address-transactions)
