### 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).
   
   - You can **[get a free API key here](https://docs.blockdaemon.com/docs/quick-start-blockdaemon-api-suite)** .
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

- **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 number
- `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

### Updated

about 2 months ago

### Request Example

```bash
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

- `200`
- `400`
- `401`
- `429`
- `500`
- `503`

### Updated

about 2 months ago
