---
title: "GET /v1/portfolios/{portfolioSlug}/wallet-transactions/{walletTransactionId}/audit-trail"
method: GET
path: "/v1/portfolios/{portfolioSlug}/wallet-transactions/{walletTransactionId}/audit-trail"
tags: ["WalletTransactionAuditTrail"]
---

# GET /v1/portfolios/{portfolioSlug}/wallet-transactions/{walletTransactionId}/audit-trail

`GET /v1/portfolios/{portfolioSlug}/wallet-transactions/{walletTransactionId}/audit-trail`

## Request

- Base URL: `https://api.tokenbooks.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tokenbooks.io/v1/portfolios/{portfolioSlug}/wallet-transactions/{walletTransactionId}/audit-trail`
- Auth: API key in header `x-api-key`

## Path parameters

- `portfolioSlug` string, required
- `walletTransactionId` string, required

## Query parameters

- `minVersion` number: Only return events at or after this version.
- `maxVersion` number: Only return events at or before this version.
- `limit` number: Maximum number of events to return.
- `reverse` boolean: Return events in descending version order.

## Response `200`

- WalletTransactionAuditTrailResponseDto
  - `success` boolean, required
  - `aggregateId` string, required
  - `events` object[], required
    - `event` union, required
      - object
        - `aggregateId` string, required
        - `version` integer, required
        - `type` 'TRANSACTION_CREATED', required
        - `timestamp` string, date-time, required
        - `payload` object, required
          - `transaction` object, required
            - `id` string, required
            - `wallet` union, required
              - …
            - `portfolioSlug` union, required
              - …
            - `address` string, required
            - `hash` string, required
            - `chainId` string, required
            - `blockHeight` string, required
            - `timestamp` string, date-time, required
            - `memo` union, required
              - …
            - `explorers` union, required
              - …
            - `source` string, required
            - `details` union, required
              - …
            - `createdAt` string, date-time, required
            - `transfers` object[], required
              - …
        - `metadata` object, required
          - `source` 'SYSTEM', required
          - `createdAt` string, required
          - `portfolioSlug` union, required
            - string: Public URL slug.
            - unknown
          - `userId` string
        - `userId` string
        - `user` object
          - `id` string, required
          - `name` string, nullable, required
          - `image` string, nullable, required
          - `status` 'current' | 'former', required
      - object
        - `aggregateId` string, required
        - `version` integer, required
        - `type` 'QUOTE_UPDATED', required
        - `timestamp` string, date-time, required
        - `payload` object, required
          - `transferIndex` number, required
          - `newValueQuote` string, required
          - `newQuoteSource` string, required
          - `newQuoteCurrency` string, required
          - `reason` string
        - `metadata` object, required
          - `userId` string, required
          - `portfolioSlug` union, required
            - string: Public URL slug.
            - unknown
          - `clientInfo` object
        - `userId` string
        - `user` object
          - `id` string, required
          - `name` string, nullable, required
          - `image` string, nullable, required
          - `status` 'current' | 'former', required
      - object
        - `aggregateId` string, required
        - `version` integer, required
        - `type` 'MEMO_UPDATED', required
        - `timestamp` string, date-time, required
        - `payload` object, required
          - `newMemo` union, required
            - string
            - unknown
        - `metadata` object, required
          - `userId` string, required
          - `portfolioSlug` union, required
            - string: Public URL slug.
            - unknown
          - `clientInfo` object
        - `userId` string
        - `user` object
          - `id` string, required
          - `name` string, nullable, required
          - `image` string, nullable, required
          - `status` 'current' | 'former', required
    - `before` object, nullable, required
      - `aggregateId` string, required
      - `version` number, required
      - `wallet` union, required
        - object
          - `chainId` string, required: Chain ID
          - `address` string, required: Wallet address
        - unknown
      - `address` string, required
      - `chainId` string, required
      - `hash` string, required
      - `blockHeight` string, required
      - `timestamp` string, date-time, required
      - `explorers` unknown[], required
        - unknown
      - `source` string, required
      - `details` unknown, required
      - `memo` string
      - `transfers` object[], required
        - `txIndex` number, required
        - `valueQuote` union, required
          - string
          - unknown
        - `quoteSource` union, required
          - string
          - unknown
        - `quoteCurrency` union, required
          - string
          - unknown
        - `chainId` string, required
        - `txHash` string, required
        - `fromAddress` string, required
        - `fromAddressLabel` union, required
          - string
          - unknown
        - `toAddress` string, required
        - `toAddressLabel` union, required
          - string
          - unknown
        - `tokenAddress` string, required
        - `value` string, required
        - `type` string, required
        - `portfolioTransactionId` union, required
          - string
          - unknown
    - `after` object, nullable, required
      - `aggregateId` string, required
      - `version` number, required
      - `wallet` union, required
        - object
          - `chainId` string, required: Chain ID
          - `address` string, required: Wallet address
        - unknown
      - `address` string, required
      - `chainId` string, required
      - `hash` string, required
      - `blockHeight` string, required
      - `timestamp` string, date-time, required
      - `explorers` unknown[], required
        - unknown
      - `source` string, required
      - `details` unknown, required
      - `memo` string
      - `transfers` object[], required
        - `txIndex` number, required
        - `valueQuote` union, required
          - string
          - unknown
        - `quoteSource` union, required
          - string
          - unknown
        - `quoteCurrency` union, required
          - string
          - unknown
        - `chainId` string, required
        - `txHash` string, required
        - `fromAddress` string, required
        - `fromAddressLabel` union, required
          - string
          - unknown
        - `toAddress` string, required
        - `toAddressLabel` union, required
          - string
          - unknown
        - `tokenAddress` string, required
        - `value` string, required
        - `type` string, required
        - `portfolioTransactionId` union, required
          - string
          - unknown
  - `warnings` string[], required
  - `error` string
  - `pagination` object
    - `requestedLimit` number
    - `hasMore` boolean, required
    - `minVersion` number
    - `maxVersion` number

---

[API](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api.md) · [All operations](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tokenbooks/apis/tokenbooks-public-api/revisions/180622e6255e?raw)
