aibank
API ReferenceTransfers

Transaction History

Retrieve paginated transaction history for a wallet with optional filters.

Transaction History

Returns the transaction history for a specific wallet with pagination and optional filtering.

Authentication

Requires X-API-Key header.

Path parameters

ParameterTypeDescription
idstringWallet UUID

Query parameters

ParameterTypeDefaultDescription
limitnumber50Max records (max 200)
offsetnumber0Pagination offset
statusstring--Filter: pending, confirmed, failed
chainstring--Filter by chain

Request

curl "http://localhost:4000/v1/wallets/WALLET_ID/transactions?limit=10&chain=base" \
  -H "X-API-Key: ak_your_key"

Response (200)

{
  "transactions": [
    {
      "id": "tx-uuid",
      "wallet_id": "wallet-uuid",
      "type": "transfer",
      "chain": "base",
      "from_address": "0x742d35Cc...",
      "to_address": "0xRecipient...",
      "amount": "10.00",
      "currency": "USDC",
      "tx_hash": "0xabc123...",
      "status": "confirmed",
      "cost_usd": 10.00,
      "created_at": "2026-03-26T12:00:00.000Z"
    }
  ],
  "pagination": {
    "total": 42,
    "limit": 10,
    "offset": 0,
    "has_more": true
  }
}

Transaction types

TypeDescription
transferOutgoing token transfer
withdrawalWithdrawal to external address
fundingIncoming deposit request
swapToken swap
trading_queryHyperliquid info query
trading_orderHyperliquid order

Errors

StatusCodeDescription
404NOT_FOUNDWallet not found

On this page