> ## 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.

# getPendingTransactionsByAddress

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

## Contextualizing `getPendingTransactionsByAddress`

* `getPendingTransactionsByAddress` fetches pending transactions for a specified address on a chain derived from `chainId`, offering detailed metrics like gas limits, transaction types, and statuses.

***

## Query example

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

(async () => {
    const response = await axios.post('https://rpc.particle.network/evm-chain', {
        chainId: 5,
        jsonrpc: '2.0',
        id: 1,
        method: 'particle_getPendingTransactionsByAddress',
        params: ['0x425249Cf0F2f91f488E24cF7B1AA3186748f7516'],
    }, {
        auth: {
            username: 'Your Project Id',
            password: 'Your Project Server Key',
        }
    });

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


## OpenAPI

````yaml openapi-evm POST /#particle_getPendingTransactionsByAddress
openapi: 3.0.0
info:
  title: Particle Network Enhanced RPC
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/evm-chain
security: []
paths:
  /#particle_getPendingTransactionsByAddress:
    post:
      summary: getPendingTransactionsByAddress
      operationId: getPendingTransactionsByAddress
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetPendingTransactionsByAddressRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPendingTransactionsByAddressResponse'
      security:
        - basicAuth: []
components:
  schemas:
    GetPendingTransactionsByAddressRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - particle_getPendingTransactionsByAddress
            params:
              type: array
              items:
                type: string
    GetPendingTransactionsByAddressResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: array
              description: Array of pending transactions.
              items:
                type: object
                properties:
                  hash:
                    type: string
                    description: Transaction hash.
                  from:
                    type: string
                    description: Sender address.
                  to:
                    type: string
                    description: Receiver address.
                  value:
                    type: string
                    description: Transaction value.
                  data:
                    type: string
                    description: Transaction data.
                  gasLimit:
                    type: integer
                    description: Gas limit for the transaction.
                  timestamp:
                    type: integer
                    description: Timestamp of the transaction.
                  status:
                    type: integer
                    description: Status of the transaction.
                  type:
                    type: integer
                    description: Type of the transaction.
                  nonce:
                    type: integer
                    description: Nonce of the transaction.
                  accessList:
                    type: array
                    description: Access list for the transaction.
                    items:
                      type: object
                  maxPriorityFeePerGas:
                    type: string
                    description: Max priority fee per gas.
                  maxFeePerGas:
                    type: string
                    description: Max fee per gas.
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: 2
          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
        method:
          type: string
          description: API method being called.
        chainId:
          type: integer
          example: 1
          description: The chain ID.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          description: The request identifier.
          example: 1
        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

````