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

# Get transactions for a wallet address

> Fetches the list of transactions for a given wallet address within an environment.



## OpenAPI

````yaml https://app.dynamic.xyz/api-docs/public-api.yaml get /sdk/{environmentId}/chains/{chainName}/transactions/{address}
openapi: 3.0.1
info:
  title: Dashboard API
  description: Dashboard API documentation
  version: 1.0.0
servers:
  - url: https://app.dynamicauth.com/api/v0
  - url: https://app.dynamic.xyz/api/v0
  - url: http://localhost:3333/api/v0
security: []
tags:
  - name: Analytics
    description: Query usage analytics and event counts for your environment.
  - name: SDK
    description: SDK-facing endpoints consumed by embedded Dynamic clients.
  - name: Organizations
    description: >-
      Manage organizations — the top-level container for all environments and
      projects.
  - name: Projects
    description: Manage projects that group related environments under an organization.
  - name: Environments
    description: >-
      Manage environments (live and sandbox) where your authentication
      configuration lives.
  - name: Users
    description: List, search, and manage authenticated users within an environment.
  - name: Invites
    description: >-
      Manage invitation links that grant specific external users access to your
      environment.
  - name: Tokens
    description: >-
      Create and manage API tokens used to authenticate requests to the Dynamic
      API.
  - name: Origins
    description: >-
      Configure allowed origins (CORS) for SDK and API access to your
      environment.
  - name: Allowlists
    description: >-
      Manage allowlists to control which wallet addresses or email addresses can
      access your environment.
  - name: Wallets
    description: View and manage wallets linked to users in your environment.
  - name: Members
    description: Manage team members and their roles within an organization.
  - name: Sessions
    description: View and revoke active user sessions within an environment.
  - name: Settings
    description: Read and update environment-level configuration settings.
  - name: Exchanges
    description: >-
      Configure exchange integrations (Coinbase, Binance, etc.) for fiat on-ramp
      within your environment.
  - name: Providers
    description: >-
      List, enable, disable, and configure authentication providers (OAuth,
      email, wallet, SMS, etc.) for your environment.
  - name: Captcha
    description: >-
      Configure captcha verification (provider, site key, secret key) for your
      environment.
  - name: Gates
    description: >-
      Define access gates that restrict environment entry to users who meet
      specific criteria.
  - name: Chains
    description: >-
      Manage the blockchain networks available for wallet connection in your
      environment.
  - name: Exports
    description: Export user and wallet data from your environment as downloadable files.
  - name: Events
    description: Browse the event log of actions performed within your environment.
  - name: Webhooks
    description: >-
      Create and manage webhooks to receive real-time events (user.created,
      wallet.linked, etc.) at your endpoint.
  - name: Custom Fields
    description: >-
      Define and manage custom metadata fields collected from users at sign-up
      or login.
  - name: MfaSettings
    description: >-
      Configure multi-factor authentication (MFA) policies for your
      organization.
  - name: Mfa
    description: Manage MFA enrollment and verification for individual users.
  - name: CustomHostnames
    description: >-
      Configure custom hostnames for white-labeling the Dynamic authentication
      experience.
  - name: TestAccount
    description: >-
      Manage test accounts used for automated testing and QA within an
      environment.
  - name: NameServices
    description: >-
      Configure name service integrations (ENS, Unstoppable Domains, etc.) for
      human-readable wallet addresses.
  - name: GlobalWallets
    description: >-
      Manage global wallets shared across multiple environments in an
      organization.
  - name: GlobalWalletConnections
    description: Configure which environments can access and use global wallets.
  - name: GlobalWalletAccessControl
    description: Control which users and roles can access and operate global wallets.
  - name: UserApiTokens
    description: >-
      Create and manage user-scoped API tokens for programmatic access on behalf
      of a user.
  - name: Waas
    description: Wallet-as-a-Service endpoints for creating and managing embedded wallets.
  - name: WalletConnect
    description: Configure WalletConnect integration settings for your environment.
  - name: Checkout
    description: >-
      Accept crypto payments and deposits from any wallet. Settle in any token
      you choose.
  - name: Flow
    description: >-
      Accept crypto payments, deposits, and withdrawals. Amount and destination
      are fixed server-side at create; the post-create lifecycle is driven with
      a capability session token.
  - name: FlowAnalytics
    description: >-
      Query aggregated analytics and paginated transaction lists for the Flow
      product.
  - name: Custom Networks
    description: >-
      Add and manage custom EVM-compatible networks beyond the built-in chain
      list.
  - name: Chainalysis
    description: >-
      Configure Chainalysis integration for blockchain address screening and
      risk assessment.
  - name: Visits
    description: Track and query user visit activity within your environment.
  - name: ExternalJwt
    description: >-
      Configure external JWT providers so existing auth tokens can be used with
      Dynamic.
  - name: SDK Views
    description: >-
      Manage SDK view configurations that customize the appearance of Dynamic
      modals and flows.
  - name: DeeplinkUrls
    description: Configure deep link URLs for mobile app integration with the Dynamic SDK.
  - name: OrganizationSettings
    description: >-
      Read and update organization-level settings such as approval workflow
      configuration.
  - name: AdminActions
    description: >-
      Manage admin action requests that require approval from another
      administrator.
  - name: ClientGrant
    description: |
      OAuth 2.0 Device Authorization Grant flow (RFC 8628) used by first-party
      Dynamic clients (CLI, MCP server, demo apps, IDE plugins) to obtain a
      revocable, 30-day client JWT without ever seeing the user's dashboard
      session token.
  - name: AuthorizedClients
    description: |
      Manage first-party clients (CLI / MCP / demo / IDE plugins) authorized
      to act as a dashboard user. Surfaced under Profile → Authorized Clients.
paths:
  /sdk/{environmentId}/chains/{chainName}/transactions/{address}:
    get:
      tags:
        - SDK
      summary: Get transactions for a wallet address
      description: >-
        Fetches the list of transactions for a given wallet address within an
        environment.
      operationId: getWalletTransactions
      parameters:
        - $ref: '#/components/parameters/environmentId'
        - in: path
          name: chainName
          required: true
          schema:
            $ref: '#/components/schemas/ChainEnum'
        - in: path
          name: address
          required: true
          schema:
            $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
          description: Public key (address) of the wallet
        - in: query
          name: networkId
          schema:
            type: string
          required: true
        - in: query
          name: limit
          schema:
            type: integer
            minimum: 1
            maximum: 100
          required: false
        - in: query
          name: offset
          schema:
            type: string
          required: false
        - in: query
          name: tokenAddress
          schema:
            type: string
          required: false
          description: >-
            Optional token contract address (EVM) or SPL mint address (Solana)
            to filter transaction history by token. To filter by the chain's
            native token, pass its sentinel address:
            `0x0000000000000000000000000000000000000000` for EVM native (e.g.
            ETH on Ethereum, MATIC on Polygon) or
            `So11111111111111111111111111111111111111112` for native SOL on
            Solana.
      responses:
        '200':
          description: Wallet transactions fetched successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletTransactionsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  parameters:
    environmentId:
      in: path
      name: environmentId
      required: true
      description: ID of the environment
      schema:
        $ref: '#/components/schemas/uuid'
  schemas:
    ChainEnum:
      type: string
      enum:
        - ETH
        - EVM
        - FLOW
        - SOL
        - ALGO
        - STARK
        - COSMOS
        - BTC
        - ECLIPSE
        - SUI
        - SPARK
        - TRON
        - APTOS
        - TON
        - STELLAR
        - ALEO
        - TEMPO
        - MIDNIGHT
    NonEmptyStringWith255MaxLength:
      type: string
      pattern: ^(?=\S)[\p{L}\p{N}a-zA-Z _.,:!?&%@\/+\-'|]+(?<=\S)$
      maxLength: 255
      example: An example name
    WalletTransactionsResponse:
      type: object
      required:
        - transactions
      properties:
        transactions:
          description: List of wallet transactions
          type: array
          items:
            $ref: '#/components/schemas/WalletTransaction'
        nextOffset:
          type: string
          description: Offset to the next page of transactions
    uuid:
      type: string
      pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
      minLength: 36
      maxLength: 36
      example: 95b11417-f18f-457f-8804-68e361f9164f
    WalletTransaction:
      type: object
      required:
        - transactionHash
        - blockNumber
        - transactionTimestamp
        - blockExplorerUrls
        - fromAddress
        - toAddress
        - labels
        - assetTransfers
        - chainName
        - networkId
      properties:
        transactionHash:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        blockNumber:
          type: number
          description: Block number of the transaction
        transactionTimestamp:
          type: string
          format: date-time
          description: Timestamp of the transaction
        blockHash:
          type: string
          description: Block hash of the transaction. May be empty for some chains.
        blockExplorerUrls:
          type: array
          items:
            type: string
          description: URLs to the block explorer for the transaction
        fromAddress:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        toAddress:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        labels:
          description: List of labels categorizing the transaction
          type: array
          items:
            $ref: '#/components/schemas/WalletTransactionType'
        assetTransfers:
          description: List of asset transfers included in this transaction
          type: array
          items:
            $ref: '#/components/schemas/WalletTransactionAssetTransfer'
        chainName:
          $ref: '#/components/schemas/ChainEnum'
        networkId:
          description: Network identifier where the transaction occurred
          type: number
          example: 1
        description:
          type: string
          description: Human-readable description of the transaction
        source:
          type: string
          description: Protocol or program that originated the transaction
        spam:
          type: boolean
          description: Whether the transaction is likely spam or dust
        transactionType:
          type: string
          description: >-
            Detailed transaction type from the data provider (e.g., TRANSFER,
            SWAP, BURN, STAKE)
        fee:
          $ref: '#/components/schemas/WalletTransactionFee'
    BadRequest:
      type: object
      properties:
        error:
          description: Human-readable error message
          type: string
    Unauthorized:
      type: object
      properties:
        error:
          description: Human-readable error message describing the authentication failure
          type: string
          example: No jwt provided!
    Forbidden:
      type: object
      properties:
        error:
          description: Human-readable error message
          type: string
          example: Access Forbidden
    NotFound:
      type: object
      required:
        - error
        - code
      properties:
        error:
          description: Human-readable error message
          type: string
          example: Not Found
        code:
          description: Machine-readable error code
          type: string
          example: not_found
    InternalServerError:
      type: object
      properties:
        error:
          description: Human-readable error message
          type: string
          example: Internal Server Error
    WalletTransactionType:
      type: string
      enum:
        - sent
        - receive
        - swap
    WalletTransactionAssetTransfer:
      type: object
      required:
        - fromAddress
        - toAddress
        - amount
      properties:
        tokenAddress:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        fromAddress:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        toAddress:
          $ref: '#/components/schemas/NonEmptyStringWith255MaxLength'
        amount:
          type: number
          description: Amount of the asset transferred
        metadata:
          description: Additional metadata about the asset transfer
          type: object
          properties:
            name:
              type: string
              description: Name of the asset
            symbol:
              type: string
              description: Symbol of the asset
            decimals:
              type: number
              description: Decimals of the asset
            imageUri:
              type: string
              description: Logo URI of the asset
    WalletTransactionFee:
      type: object
      properties:
        amount:
          type: string
          description: >-
            Fee amount in the smallest native denomination (wei for EVM chains,
            lamports for SVM chains).
        sponsored:
          type: boolean
          description: Whether the fee was paid by a third party.
        sponsor:
          type: string
          description: >-
            Address of the entity that paid the fee. Only present when sponsored
            is true.
        gasUsed:
          type: string
          description: EVM only. Amount of gas actually consumed by the transaction.
        gasPrice:
          type: string
          description: >-
            EVM only. Effective gas price paid in wei (base fee + priority fee
            for EIP-1559 transactions).
  responses:
    BadRequest:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BadRequest'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Unauthorized'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Forbidden'
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFound'
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/InternalServerError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````