Skip to main content

Getting information about the blockchain

Developers and dApps can get information about the Tezos blockchain, such as account balances, from these sources:

The Octez client

The The Octez client provides information about accounts, addresses, and many other things. For example, you can get the balance of an account with this command:

octez-client get balance for tz1QCVQinE8iVj1H2fckqx6oiM85CNJSK9Sx

The RPC interface

The RPC interface provides information about the blockchain that nodes use to communicate with each other. This data is not always in the format that developers and dApps need. For example, the RPC interface does not provide a way to get information about a specific operation by its hash.

You can get some information about accounts, contracts, and other things from RPC requests. For example, this RPC request gets the current balance of an account:

curl -X GET


Indexers are off-chain applications that retrieve blockchain data, process it, and store it in a way that makes it easier to search and use. For example, you can use the TZKT API to get the recent operations an account made with this request:

curl -X GET

For more information, see Indexers.

Block explorers

Block explorers use data from indexers to show information in a human-friendly interface. For example, this link shows information about a contract, including its current storage, entrypoints, and transaction history:

For more information about block explorers, see Block explorers.