| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Compute Unit Value

- determined by block size (bytes)   [determined by block size (bytes)](https://docs.blockdaemon.com/reference/getblockbynumber#compute-unit-value-determined-by-block-size-bytes)

### Truncation Info

For responses that have big numbers (such as in transfer amounts from blockchain transactions), truncation might be applied from Javascript’s native JSON parser.

To avoid this behavior, we recommend using a library such as [`json-bigint`](https://github.com/sidorares/json-bigint) or [`lossless-json`](https://github.com/josdejong/lossless-json)

### Supported Protocols & Networks

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

protocol

string

required

Defaults to bitcoin

Protocol handle, one of:

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

network

string

required

Defaults to mainnet

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

block_identifier

string

required

Defaults to 0000000000000000000590fc0f3eba193a278534220b2b37e9849e1a770ca959

The block identifier, hash or number.

# ``200      Block

# ``400      Invalid Block Identifier

# ``401      Invalid or expired token

# ``404      Not Found

# ``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/{block_identifier}

```

xxxxxxxxxx

curl --request GET \

--url https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/block/0000000000000000000590fc0f3eba193a278534220b2b37e9849e1a770ca959 \

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

--header 'accept: application/json'
```

```200``400``401``404``429``500``503
