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

# enhancedGetTransactionsByAddress

> Learn how to use the enhancedGetTransactionsByAddress JSON-RPC method.

## Understanding `enhancedGetTransactionsByAddress`

* `enhancedGetTransactionsByAddress` retrieves detailed parsed transaction history relating to a specific public address on Solana. It takes:
  * `address` - a base58-encoded string.
  * Object, optional:
    * `limit` - integer (between `1` and `1000`, default `1000`).
    * `before` - string, transaction hash.
    * `after` - string, transaction hash.
    * `until` - string, transaction hash.

***

## Query example

```javascript JavaScript theme={null}
const axios = require('axios');

(async () => {
    const response = await axios.post('https://rpc.particle.network/solana', {
        chainId: 103,
        jsonrpc: '2.0',
        id: 0,
        method: 'enhancedGetTransactionsByAddress',
        params: ['6XU36wCxWobLx5Rtsb58kmgAJKVYmMVqy4SHXxENAyAe'],
    }, {
        auth: {
            username: 'Your Project Id',
            password: 'Your Project Server Key',
        }
    });

    console.log(response.data);
})();
```


## OpenAPI

````yaml openapi-solana POST /#enhancedGetTransactionsByAddress
openapi: 3.0.0
info:
  title: Particle Network Enhanced RPC Solana
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/solana
security:
  - basicAuth: []
paths:
  /#enhancedGetTransactionsByAddress:
    post:
      summary: enhancedGetTransactionsByAddress
      operationId: enhancedGetTransactionsByAddress
      requestBody:
        description: Request to get transactions for an account address.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnhancedGetTransactionsByAddressRequest'
      responses:
        '200':
          description: Successful response with transactions information.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnhancedGetTransactionsByAddressResponse'
      security:
        - basicAuth: []
components:
  schemas:
    EnhancedGetTransactionsByAddressRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - enhancedGetTransactionsByAddress
            params:
              type: array
              description: Parameters for getting transactions by address.
              items:
                oneOf:
                  - type: object
                    description: Account address details.
                    properties:
                      accountAddress:
                        type: string
                        description: Solana account address.
                        example: 6XU36wCxWobLx5Rtsb58kmgAJKVYmMVqy4SHXxENAyAe
                  - type: object
                    description: Additional options.
                    properties:
                      options:
                        type: object
                        properties:
                          limit:
                            type: integer
                            description: Limit on the number of transactions returned.
                            example: 10
                          before:
                            type: string
                            description: Fetch transactions before this signature.
                          until:
                            type: string
                            description: Fetch transactions until this signature.
    EnhancedGetTransactionsByAddressResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: array
              description: Array of transactions.
              items:
                type: object
                properties:
                  type:
                    type: string
                    description: Type of transaction.
                    enum:
                      - unknown
                      - transfer-token
                  lamportsChange:
                    type: integer
                    description: Change in lamports.
                  lamportsFee:
                    type: integer
                    description: Fee in lamports.
                  signature:
                    type: string
                    description: Transaction signature.
                  blockTime:
                    type: integer
                    description: Block time of the transaction.
                  status:
                    type: string
                    description: Transaction status.
                    enum:
                      - success
                      - failed
                  data:
                    type: object
                    description: Additional transaction data.
                    properties:
                      name:
                        type: string
                        description: Name of the token.
                      symbol:
                        type: string
                        description: Symbol of the token.
                      image:
                        type: string
                        description: Image URL of the token.
                      mint:
                        type: string
                        description: Mint address of the token.
                      decimals:
                        type: integer
                        description: Number of decimals for the token.
                      amountTransfered:
                        type: integer
                        description: Amount transferred.
                      sender:
                        type: string
                        description: Sender address.
                      receiver:
                        type: string
                        description: Receiver address.
                      senderAssociatedTokenAddress:
                        type: string
                        description: Sender associated token address.
                      receiverAssociatedTokenAddress:
                        type: string
                        description: Receiver associated token address.
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The blockchain chain ID.
          example: 101
        method:
          type: string
          description: API method being called.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      required:
        - jsonrpc
        - id
        - result
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The blockchain chain ID.
          example: 101
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````