Get the Current Block Hash

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Compute Unit Value: 1 (fixed)

START HERE!

Click Try It! to test the endpoint with the default values or customize your request by following these steps:

  1. Enter your API key in the Header: token text box (top right).
  2. Enter the parameters available below.
  3. Click Try It!.

Supported Protocols & Networks

Protocol Network Path Parameter
Algorand Mainnet algorand/mainnet
Avalanche Mainnet-c avalanche/mainnet-c
Testnet-c avalanche/testnet-c
Bitcoin Mainnet bitcoin/mainnet
Testnet bitcoin/testnet
Testnet4 bitcoin/testnet4
Bitcoincash Mainnet bitcoincash/mainnet
Testnet bitcoincash/testnet
Dogecoin Mainnet dogecoin/mainnet
Testnet dogecoin/testnet
Ethereum Mainnet ethereum/mainnet
Sepolia ethereum/sepolia
Hoodi ethereum/hoodi
Litecoin Mainnet litecoin/mainnet
Testnet litecoin/testnet
Near Mainnet near/mainnet
Optimism Mainnet optimism/mainnet
Polkadot Mainnet polkadot/mainnet
Westend polkadot/westend
Polygon Mainnet polygon/mainnet
Amoy polygon/amoy
Solana Mainnet solana/mainnet
Testnet solana/testnet
Devnet solana/devnet
Stellar Mainnet stellar/mainnet
Testnet stellar/testnet
Tron Mainnet tron/mainnet
Nile tron/nile
XRP Mainnet xrp/mainnet
Testnet xrp/testnet

Protocol

Defaults to bitcoin

Protocol handle, one of:

algorand, avalanche, bitcoin, bitcoincash, dogecoin, ethereum, litecoin, near, optimism, polkadot, polygon, solana, stellar, tezos, xrp.

Network

Defaults to mainnet

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

``200 Current block hash

``401 Invalid or expired token

``429 Rate limit exceeded

``500 An internal server error happened

``503 The resource you are trying to access is currently unavailable

Updated about 2 months ago

Base URL

https://svc.blockdaemon.com/universal/v1/{protocol}/{network}/sync/block_id


xxxxxxxxxx

curl --request GET \

--url https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/sync/block_id \

--header 'X-API-Key: ••••' \

--header 'accept: application/json'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

200401429500``503

Updated about 2 months ago