Get the Current Block Number/Height
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:
Enter your API key in the Header: token text box (top right).
- You can get a free API key here .
Enter the parameters available below.
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
- Type: string
- Required: Yes
- Defaults to: bitcoin
- Description: Protocol handle, one of:
algorand,avalanche,bitcoin,bitcoincash,dogecoin,ethereum,litecoin,near,optimism,polkadot,polygon,solana,stellar,tezos,xrp.
Network
- Type: string
- Required: Yes
- Defaults to: mainnet
- Description: Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
Responses:
200: Current block number400: Bad request401: Invalid or expired token429: Rate limit exceeded500: An internal server error happened503: The resource you are trying to access is currently unavailable
Updated
about 2 months ago
Request Example
curl --request GET \
--url https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/sync/block_number \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
Click Try It!
to start a request and see the response here! Or choose an example:
Response Codes
200400401429500503
Updated
about 2 months ago