> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Transactions

> Retrieve a paginated list of transactions with optional filters

<ParamField header="Authorization" type="string" required>
  Bearer token: `Bearer YOUR_ACCESS_TOKEN`
</ParamField>

<ParamField body="page" type="integer">
  Page number for pagination. Defaults to `1`.
</ParamField>

<ParamField body="limit" type="integer">
  Number of transactions per page. Defaults to `20`, maximum `100`.
</ParamField>

<ParamField body="status" type="string">
  Filter by transaction status. One of: `pending`, `confirmed`, `failed`, `cancelled`.
</ParamField>

<ParamField body="chain" type="string">
  Filter by blockchain network, e.g. `solana`, `ethereum`.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X POST 'https://crypto-api.yativo.com/api/v1/transactions/get-transactions' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '{
      "page": 1,
      "limit": 20,
      "status": "confirmed",
      "chain": "solana"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": [
      {
        "_id": "txn_01HX9KZMB3F7VNQP8R2WDGT4EF",
        "user_id": "usr_6615c3a1e55d9ff7bc0a1234",
        "type": "send",
        "chain": "solana",
        "asset_name": "USDC",
        "amount": "50.00",
        "status": "confirmed",
        "transaction_hash": "4xKp9qLmKv3xFjNw4aBcYhUeT8sGkZoP2iMnDuWr5Cx",
        "createdAt": "2026-03-25T14:00:00Z"
      }
    ],
    "status": true,
    "message": "Transactions fetched successfully"
  }
  ```
</ResponseExample>
