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

#### URL Expired

The URL for this request expired after 30 days.

### **Compute Unit Value**: `5` (paginated)   [Skip link to Compute Unit Value](https://docs.blockdaemon.com/reference/gettxs#compute-unit-value-5-paginated)

---

### Truncation Info   [Skip link to Truncation Info](https://docs.blockdaemon.com/reference/gettxs#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 |
| --- | --- | --- |
| 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` |
| Litecoin | Mainnet | `litecoin/mainnet` |
| Testnet | `litecoin/testnet` |
| Optimism | Mainnet | `optimism/mainnet` |
| Polkadot | Mainnet | `polkadot/mainnet` |
| Westend | `polkadot/westend` |
| Stellar | Mainnet | `stellar/mainnet` |
| Testnet | `stellar/testnet` |
| XRP | Mainnet | `xrp/mainnet` |
| Testnet | `xrp/testnet` |

### Note:   [Skip link to Note:](https://docs.blockdaemon.com/reference/gettxs#note)

The `order` param is not supported for **Algorand**.

### Protocol Parameters

- **protocol**: string, required. Defaults to bitcoin. Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`, `optimism`, `polkadot`, `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_hash**: string. Filter by block hash. You can specify only one block hash at a time.

- **block_number**: integer. Filter by block number.

- **assets**: string. Comma-separated list of asset paths to filter. Filtering by asset is applicable only for:  
  - **Balances endpoints:** `algorand`, `avalanche`, `bitcoincash`, `ethereum`, `litecoin`, `optimism`, `polygon`, `polkadot`, `solana`  
  - **Transactions endpoints:** `algorand`, `avalanche`, `ethereum`

Find all the asset paths on this [page](https://docs.blockdaemon.com/reference/available-currencies-and-tokens).

- **order**: string, enum. Defaults to desc. The pagination order. 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.

### Response Codes

- ``200`` Transactions
- ``401`` Invalid or expired token
- ``403`` Invalid continuation
- ``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

### Shell Example

Base URL

```
https://svc.blockdaemon.com/universal/v1/{protocol}/{network}/txs
```

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

### Response Codes

``200`` ``401`` ``403`` ``429`` ``500`` ``503`

### Updated
about 2 months ago
