Get a Block by Number or Hash

Get a block and all its transactions by a user-defined block number or block hash.

Use -1 or current parameter to return the current block.


👍

START HERE!

Click 'Try It!' to test the endpoint with the default values

or customize your request by following these steps:

  1. Enter your own API key in the Header: token text box (top right).
  2. Enter your PATH PARAMS (you can find these below)
  3. Optional . Filter your results with QUERY PARAMS (you can find these below)
  4. Click Try It!

Supported Protocols and Networks

ProtocolNetworkPath ParametersGet Block By
AlgorandMainnetalgorand/mainnetblock number
BitcoinMainnet
Testnet
bitcoin/mainnet
bitcoin/testnet
block number or hash
BitcoincashMainnet
Testnet
bitcoincash/mainnet
bitcoincash/testnet
block number or hash
DogecoinMainnet
Testnet
dogecoin/mainnet
dogecoin/testnet
block number or hash
EthereumMainnet
Goerli
Ropsten
ethereum/mainnet
ethereum/goerli
ethereum/ropsten
block number or hash
LitecoinMainnet
Testnet
litecoin/mainnet
litecoin/testnet
block number or hash
NEARMainnetnear/mainnetblock number or hash
OasisMainnetoasis/mainnetblock number
OptimismMainnetoptimism/mainnetblock number or hash
PolkadotMainnetpolkadot/mainnetblock number or hash
PolygonMainnetpolygon/mainnetblock number or hash
SolanaMainnet
Testnet
solana/mainnet
solana/testnet
block number
StellarMainnetstellar/mainnetblock number
TezosMainnettezos/mainnetblock number or hash
XRPMainnetxrp/mainnetblock number or hash
Language
Authentication
URL
Click Try It! to start a request and see the response here!