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

# Get transactions (deprecated)

> **Deprecated.** Use `/clients/me/chains/{chain}/transactions` instead.
Sunset date: 2026-12-31. Responses include `Deprecation`, `Sunset`, and `Link` headers.

Retrieves EIP-155 transaction history for the client.




## OpenAPI

````yaml /openapi/client-api.yaml get /clients/me/transactions
openapi: 3.1.0
info:
  title: Portal Client API
  version: '3.0'
  description: >
    The Portal Client API provides endpoints for managing wallets, building
    transactions,

    and interacting with blockchain networks. All endpoints require
    authentication via a

    Client API Key or Client Session Token (CST) passed as a Bearer token.


    ## Base URL

    `https://api.portalhq.io/api/v3`


    ## Authentication

    Include your Client API Key or Client Session Token as a Bearer token in the

    `Authorization` header of every request.


    ## Chain ID Format

    Chain parameters use either friendly names (e.g. `ethereum`, `solana`) or
    CAIP-2 format

    (e.g. `eip155:1`, `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`). When using
    CAIP-2 format

    in URLs, ensure the colon is URI-encoded (`%3A`).
servers:
  - url: https://api.portalhq.io/api/v3
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Clients
    description: Core client management endpoints
  - name: Wallet
    description: >-
      Read wallet state — balances, NFTs, transaction history, capabilities, and
      transaction details
  - name: Transactions
    description: Build, broadcast, and evaluate blockchain transactions
  - name: Funding
    description: Fund wallets with testnet tokens
  - name: Wallet Shares
    description: Manage signing and backup share pairs
  - name: Delegations
    description: Manage token approvals, revocations, and delegated transfers
  - name: Session Keys
    description: Manage EIP-7702 session keys for smart accounts
  - name: 0x
    description: Token swap endpoints powered by the 0x protocol
  - name: Yield.xyz
    description: Yield opportunities and staking actions powered by Yield.xyz
  - name: Li.Fi
    description: Cross-chain swaps and bridging powered by Li.Fi
  - name: Blockaid
    description: Transaction and address security scanning powered by Blockaid
  - name: Hypernative
    description: >-
      Transaction, address, token, and NFT security scanning powered by
      Hypernative
  - name: Noah
    description: KYC onboarding, payins, and payouts powered by Noah
  - name: Meld
    description: Buy and sell crypto with fiat through aggregated providers powered by Meld
  - name: EIP-7702
    description: EIP-7702 account type detection and authorization management
  - name: Deprecated
    description: >-
      Legacy endpoints scheduled for removal. Use the newer equivalents listed
      in each endpoint's description.
paths:
  /clients/me/transactions:
    get:
      tags:
        - Deprecated
      summary: Get transactions (deprecated)
      description: >
        **Deprecated.** Use `/clients/me/chains/{chain}/transactions` instead.

        Sunset date: 2026-12-31. Responses include `Deprecation`, `Sunset`, and
        `Link` headers.


        Retrieves EIP-155 transaction history for the client.
      operationId: getTransactionsDeprecated
      parameters:
        - name: chainId
          in: query
          required: true
          schema:
            type: string
          description: The chain ID in CAIP-2 format (e.g. `eip155:1`).
        - name: limit
          in: query
          schema:
            type: integer
          description: Maximum number of results to return.
        - name: offset
          in: query
          schema:
            type: integer
          description: Number of results to skip.
        - name: order
          in: query
          schema:
            type: string
          description: Sort order.
      responses:
        '200':
          description: Transactions retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionsResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
components:
  schemas:
    TransactionsResponse:
      type: object
      description: >
        Response format varies by chain:

        - **Solana**: transactions are `SolanaTransactionDetails` objects
        (legacy format with
          `signature`, `blockTime`, `tokenMint`, and nested `transactionDetails`).
        - **All other chains**: transactions are `TransactionHistoryItem`
        objects (unified format
          with `hash`, `from`, `to`, `value`, `blockNumber`, `blockTimestamp`, `status`, `chainId`).
        Solana will be migrated to the unified format in a future release.
      properties:
        data:
          type: object
          properties:
            transactions:
              type: array
              description: >
                Array of transaction items. Format depends on chain — see
                `TransactionHistoryItem`

                for EVM/Bitcoin/Tron/Stellar or `SolanaTransactionDetails` for
                Solana.
              items:
                oneOf:
                  - $ref: '#/components/schemas/TransactionHistoryItem'
                  - $ref: '#/components/schemas/SolanaTransactionDetails'
        metadata:
          type: object
          properties:
            address:
              type: string
              description: Wallet address used for the query.
            chainId:
              type: string
              description: CAIP-2 chain ID.
            clientId:
              type: string
              description: Client ID.
            limit:
              type: integer
              description: Max transactions requested.
            offset:
              type: integer
              description: Offset used for pagination.
            count:
              type: integer
              description: Total number of transactions returned.
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message describing what went wrong
    TransactionHistoryItem:
      type: object
      description: Unified transaction item returned across all chains.
      properties:
        type:
          type: string
          enum:
            - transaction
            - userOperation
          description: Whether this is a regular transaction or an ERC-4337 UserOperation.
        hash:
          type: string
          description: Transaction hash (or UserOp bundler tx hash).
        from:
          type: string
          description: Sender address.
        to:
          type: string
          nullable: true
          description: Recipient address.
        value:
          type: string
          description: Transfer value as a decimal string.
        blockNumber:
          type: string
          nullable: true
          description: Block number as a decimal string.
        blockTimestamp:
          type: number
          nullable: true
          description: Unix timestamp in seconds.
        status:
          type: string
          nullable: true
          description: >-
            Transaction status (e.g. "confirmed", "pending", "success",
            "failed").
        chainId:
          type: string
          description: CAIP-2 chain ID.
        asset:
          type: string
          nullable: true
          description: Token symbol (e.g. "ETH", "USDC") or contract address if unknown.
        tokenAddress:
          type: string
          nullable: true
          description: Token contract address (EVM only).
        tokenDecimals:
          type: integer
          nullable: true
          description: Token decimals (EVM only).
        userOpHash:
          type: string
          nullable: true
          description: UserOperation hash (EVM UserOperations only).
        entryPoint:
          type: string
          nullable: true
          description: EntryPoint contract address (EVM UserOperations only).
        actualGasCost:
          type: string
          nullable: true
          description: Actual gas cost in wei (EVM UserOperations only).
        actualGasUsed:
          type: string
          nullable: true
          description: Actual gas units used (EVM UserOperations only).
    SolanaTransactionDetails:
      type: object
      properties:
        blockTime:
          type: integer
          description: Unix timestamp of the block.
        error:
          type: string
          nullable: true
          description: Transaction error as JSON string, or null if successful.
        signature:
          type: string
          description: Transaction signature.
        status:
          type: string
          description: Transaction status (e.g. "finalized", "confirmed", "processed").
        tokenMint:
          type: string
          nullable: true
          description: SPL token mint address, or null for native SOL transactions.
        transactionDetails:
          type: object
          nullable: true
          properties:
            transaction:
              type: object
              nullable: true
              description: Parsed transaction data.
              properties:
                message:
                  type: object
                  properties:
                    accountKeys:
                      type: array
                      items:
                        type: string
                    header:
                      type: object
                    instructions:
                      type: array
                      items:
                        type: object
                    recentBlockhash:
                      type: string
                signatures:
                  type: array
                  items:
                    type: string
            signatureDetails:
              type: object
              nullable: true
              description: Signature verification details.
              properties:
                blockTime:
                  type: integer
                confirmationStatus:
                  type: string
                error:
                  type: object
                  nullable: true
                memo:
                  type: string
                  nullable: true
                signature:
                  type: string
                slot:
                  type: integer
            metadata:
              type: object
              nullable: true
              description: Additional transaction metadata.
              properties:
                blockTime:
                  type: integer
                  nullable: true
                slot:
                  type: integer
                  nullable: true
                error:
                  type: object
                  nullable: true
                fee:
                  type: integer
                  nullable: true
                innerInstructions:
                  type: array
                  nullable: true
                  items:
                    type: object
                loadedAddresses:
                  type: object
                  nullable: true
                  properties:
                    readonly:
                      type: array
                      items:
                        type: string
                    writable:
                      type: array
                      items:
                        type: string
                logMessages:
                  type: array
                  nullable: true
                  items:
                    type: string
                postBalances:
                  type: array
                  nullable: true
                  items:
                    type: number
                postTokenBalances:
                  type: array
                  nullable: true
                  items:
                    type: object
                preBalances:
                  type: array
                  nullable: true
                  items:
                    type: number
                preTokenBalances:
                  type: array
                  nullable: true
                  items:
                    type: object
                rewards:
                  type: array
                  nullable: true
                  items:
                    type: object
                status:
                  type: object
                  nullable: true
                version:
                  type: string
                  nullable: true
                  description: Transaction version (e.g. "legacy" or a version number)
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >
        Client API Key or Client Session Token (CST). Pass as a Bearer token in
        the

        Authorization header.

````