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

#### URL Expired

The URL for this request expired after 30 days.

### **Compute Unit Value**: `10` (paginated)   [Compute Unit Value Link](https://docs.blockdaemon.com/reference/getutxobyaccount#compute-unit-value-10-paginated)

---

### Truncation Info   [Truncation Info Link](https://docs.blockdaemon.com/reference/getutxobyaccount#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.
For 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     |
| --------------| ----------- | ------------------ |
| Bitcoin       | Mainnet    | `bitcoin/mainnet`  |
|               | Testnet    | `bitcoin/testnet`  |
|               | Testnet4   | `bitcoin/testnet4` |
| Bitcoincash   | Mainnet    | `bitcoincash/mainnet` |
|               | Testnet    | `bitcoincash/testnet` |
| Dogecoin      | Mainnet    | `dogecoin/mainnet` |
|               | Testnet    | `dogecoin/testnet` |
| Litecoin      | Mainnet    | `litecoin/mainnet` |
|               | Testnet    | `litecoin/testnet` |

### API Parameters

| Parameter     | Type     | Requirement | Description |
|---------------|----------|-------------|-------------|
| protocol      | string   | required    | The protocol handle, one of: `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`. |
| network       | string   | required    | Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. |
| address       | string   | required    | The account address of the protocol. |
| spent         | boolean  | optional    | Whether the transaction output was spent or not. |
| check_mempool | boolean  | optional    | Whether to check for UTXOs spent in the mempool as well as UTXOs pending in the mempool. |
| from          | integer  | optional    | The Unix Timestamp from where to start. |
| to            | integer  | optional    | The Unix Timestamp from where to end. |
| order         | string   | optional    | The pagination order. Defaults to desc, Allowed: `desc`, `asc` |
| page_token    | string   | optional    | 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  | optional    | The max number of items to return in a response. Defaults to 50k and is capped at 100k. |

# HTTP Status Codes

| Code | Description |
|------|-------------|
| 200  | Transaction outputs filtered by the given parameters |
| 400  | Bad request |
| 401  | Invalid or expired token |
| 404  | Not Found |
| 413  | Too Many Transactions |
| 429  | Rate limit exceeded |
| 500  | An internal server error happened |
| 503  | The resource you are trying to access is currently unavailable |

### Example Request

Base URL
`https://svc.blockdaemon.com/universal/v1/{protocol}/{network}/account/{address}/utxo`

```bash
curl --request GET \ 
     --url 'https://svc.blockdaemon.com/universal/v1/bitcoin/mainnet/account/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa/utxo?order=desc' \ 
     --header 'X-API-Key: ••••' \ 
     --header 'accept: application/json'
```

### Response Codes

| Code | Description |
|------|-------------|
| 200  | Success |
| 400  | Bad request |
| 401  | Unauthorized |
| 404  | Not Found |
| 413  | Too Many Transactions |
| 429  | Rate limit exceeded |
| 500  | Internal server error |
| 503  | Service unavailable |
