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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to bitcoin

Protocol handle, one of: algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, near, optimism, polkadot, polygon, solana, stellar, tezos, xrp.

string
required
Defaults to mainnet

Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.

string
required
Defaults to 0000000000000000000590fc0f3eba193a278534220b2b37e9849e1a770ca959

The block identifier, hash or number.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json