Get a List of Block Identifiers
| Protocol | Network | Path Parameter |
|---|---|---|
| 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 |
|
| Optimism | Mainnet | optimism/mainnet |
| Polkadot | Mainnet | polkadot/mainnet |
| Westend | polkadot/westend |
|
| Polygon | Mainnet | polygon/mainnet |
protocol
string
required
Defaults to bitcoin
Protocol handle, one of: avalanche, bitcoin, bitcoincash, dogecoin, ethereum,litecoin, optimism, polkadot, polygon, tezos.
network
string
required
Defaults to mainnet
Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
order
string
enum
Defaults to desc
The pagination order.
descasc
Allowed:
desc``asc
page_token
string
The token to retrieve more items in the next request. Use the next_page_token returned from the previous response for this parameter.
page_size
integer
Max number of items to return in a response.
Defaults to 25 and is capped at 100.
``200 Block headers
``400 Bad request
``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
Base URL
https://svc.blockdaemon.com/universal/v1/{protocol}/{network}/block_identifiers
xxxxxxxxxx
curl --request GET \
--url 'https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/block_identifiers?order=desc' \
--header 'X-API-Key: ••••' \
--header 'accept: application/json'
application/json
200400401429500503