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

# Get mempool entries

> Retrieves all mempool entries with optional filtering.

## Cost

This endpoint costs **0.1 RU** (Request Units) per call.


## OpenAPI

````yaml GET /v1/rpc/getMempoolEntries
openapi: 3.0.0
info:
  title: Kaspa Developer Platform (KDP) API
  description: >-
    A high-performance REST API providing real-time and historical data from the
    Kaspa blockchain
  version: '1.0'
  contact: {}
servers:
  - url: https://api.kas.fyi
    description: Mainnet API
security: []
tags:
  - name: Address
    description: Operations related to Kaspa addresses
  - name: Block
    description: Operations related to Kaspa blocks
  - name: Transaction
    description: Operations related to Kaspa transactions
  - name: Token
    description: Operations related to KRC20 tokens
  - name: Kaspa Node RPC Proxy
    description: Direct proxy to Kaspa node RPC methods
paths:
  /v1/rpc/getMempoolEntries:
    get:
      tags:
        - Kaspa Node RPC Proxy
      summary: Get mempool entries
      description: Retrieves all mempool entries with optional filtering.
      operationId: RpcController_getMempoolEntries
      parameters:
        - name: includeOrphanPool
          required: false
          in: query
          description: Whether to include orphan pool transactions
          schema:
            type: boolean
        - name: filterTransactionPool
          required: false
          in: query
          description: Whether to filter transaction pool
          schema:
            type: boolean
      responses:
        '200':
          description: Mempool entries retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RpcGetMempoolEntriesResponseDto'
      security:
        - x-api-key: []
components:
  schemas:
    RpcGetMempoolEntriesResponseDto:
      type: object
      properties:
        mempoolEntries:
          description: Array of mempool entries
          type: array
          items:
            $ref: '#/components/schemas/RpcMempoolEntryDto'
      required:
        - mempoolEntries
    RpcMempoolEntryDto:
      type: object
      properties:
        fee:
          type: string
          description: Transaction fee in SOMPI
          example: '1000'
        transaction:
          description: Transaction data
          allOf:
            - $ref: '#/components/schemas/RpcTransactionDto'
        isOrphan:
          type: boolean
          description: Whether this transaction is an orphan
          example: false
      required:
        - fee
        - transaction
        - isOrphan
    RpcTransactionDto:
      type: object
      properties:
        version:
          type: number
          description: Transaction version
          example: 1
        inputs:
          description: Transaction inputs
          type: array
          items:
            $ref: '#/components/schemas/RpcTransactionInputDto'
        outputs:
          description: Transaction outputs
          type: array
          items:
            $ref: '#/components/schemas/RpcTransactionOutputDto'
        lockTime:
          type: string
          description: Lock time
          example: '0'
        subnetworkId:
          type: string
          description: Subnetwork ID
          example: '0100000000000000000000000000000000000000'
        gas:
          type: string
          description: Gas limit
          example: '0'
        payload:
          type: string
          description: Transaction payload
          example: 0x
        mass:
          type: string
          description: Transaction mass
          example: '1000'
        verboseData:
          description: Optional verbose data provided by RPC
          allOf:
            - $ref: '#/components/schemas/RpcTransactionVerboseDataDto'
      required:
        - version
        - inputs
        - outputs
        - lockTime
        - subnetworkId
        - gas
        - payload
    RpcTransactionInputDto:
      type: object
      properties:
        previousOutpoint:
          description: Previous transaction outpoint
          allOf:
            - $ref: '#/components/schemas/RpcTransactionOutpointDto'
        signatureScript:
          type: string
          description: Signature script in hex format
          example: 0x473044...
        sequence:
          type: string
          description: Input sequence number
          example: '4294967295'
        sigOpCount:
          type: number
          description: Number of signature operations
          example: 1
      required:
        - previousOutpoint
        - sequence
        - sigOpCount
    RpcTransactionOutputDto:
      type: object
      properties:
        value:
          type: string
          description: Output value in SOMPI
          example: '1000000000'
        scriptPublicKey:
          type: string
          description: Script public key
        verboseData:
          description: Optional verbose data provided by RPC
          allOf:
            - $ref: '#/components/schemas/RpcTransactionOutputVerboseDataDto'
      required:
        - value
        - scriptPublicKey
    RpcTransactionVerboseDataDto:
      type: object
      properties:
        transactionId:
          type: string
          description: Transaction ID
          example: 34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6
        hash:
          type: string
          description: Transaction hash
          example: 34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6
        computeMass:
          type: string
          description: Computed mass of the transaction
          example: '1000'
        blockHash:
          type: string
          description: Block hash containing this transaction
          example: 34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6
        blockTime:
          type: string
          description: Block time
          example: '1638360000000'
      required:
        - transactionId
        - hash
        - computeMass
        - blockHash
        - blockTime
    RpcTransactionOutpointDto:
      type: object
      properties:
        transactionId:
          type: string
          description: Transaction ID
          example: 34e9538fd3225652553930657c3d767d5ccab0fcd545038a69c202e45929dcd6
        index:
          type: number
          description: Output index
          example: 0
      required:
        - transactionId
        - index
    RpcTransactionOutputVerboseDataDto:
      type: object
      properties:
        scriptPublicKeyType:
          type: string
          description: Script public key type
          example: pubkeyhash
        scriptPublicKeyAddress:
          type: string
          description: Script public key address
          example: kaspa:qpzpfwcsqsxhxwup26r55fd0ghqlhyugz8cp6y3wxuddc02vcxtjg75pspnwz
      required:
        - scriptPublicKeyType
        - scriptPublicKeyAddress
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key required for authentication. Get your API key at
        https://developer.kas.fyi

````