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

# wallet/gettransactionfrompending | TRON

> TRON API method that retrieves a specific pending transaction from the mempool by its transaction ID. Use it on TRON via Chainstack.

TRON API method that retrieves a specific pending transaction from the mempool by its transaction ID. This allows applications to check the status and details of an unconfirmed transaction.

## Parameters

* `value` — transaction ID hash of the pending transaction to retrieve

## Response

* `txID` — unique transaction identifier hash
* `raw_data` — raw transaction data containing:
  * `contract` — array with transaction contract details
  * `ref_block_bytes` — reference block bytes for validation
  * `ref_block_hash` — hash of the reference block
  * `expiration` — transaction expiration timestamp
  * `timestamp` — transaction creation timestamp
  * `fee_limit` — maximum fee allowed for this transaction
* `signature` — array of transaction signatures
* `ret` — transaction result information (if available)

## Use case

The `wallet/gettransactionfrompending` method is used for:

* Checking the status of a specific pending transaction by its ID.
* Retrieving detailed information about unconfirmed transactions for verification.
* Building transaction tracking systems that monitor pending transactions.
* Validating transaction parameters before confirmation in custom applications.
* Implementing transaction status polling for user interfaces and notifications.

<Note>
  If the transaction is no longer in the pending pool (either confirmed or dropped), this method will return an error. Use this method immediately after broadcasting a transaction for best results.
</Note>


## OpenAPI

````yaml openapi/tron_node_api/gettransactionfrompending.json post /95e61622bf6a8af293978377718e3b77/wallet/gettransactionfrompending
openapi: 3.0.0
info:
  title: wallet/gettransactionfrompending TRON API
  version: 1.0.0
  description: Get specific transaction from pending pool
servers:
  - url: https://tron-mainnet.core.chainstack.com
security: []
paths:
  /95e61622bf6a8af293978377718e3b77/wallet/gettransactionfrompending:
    post:
      tags:
        - Pending Transactions
      summary: wallet/gettransactionfrompending
      operationId: getTransactionFromPending
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                value:
                  type: string
                  description: Transaction ID hash of the pending transaction to retrieve
              required:
                - value
              example:
                value: >-
                  f34f1c799700a9d83b67fdcadd7be697010a8dbbcd520de4ac46a648e3e7ae3d
      responses:
        '200':
          description: Specific pending transaction details
          content:
            application/json:
              schema:
                type: object
                properties:
                  txID:
                    type: string
                    description: Unique transaction identifier hash
                    example: >-
                      f34f1c799700a9d83b67fdcadd7be697010a8dbbcd520de4ac46a648e3e7ae3d
                  raw_data:
                    type: object
                    properties:
                      contract:
                        type: array
                        description: Transaction contract details
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                              example: TransferContract
                            parameter:
                              type: object
                              properties:
                                type_url:
                                  type: string
                                  example: >-
                                    type.googleapis.com/protocol.TransferContract
                                value:
                                  type: object
                      ref_block_bytes:
                        type: string
                        description: Reference block bytes for validation
                        example: 6f80
                      ref_block_hash:
                        type: string
                        description: Hash of the reference block
                        example: 1c9c4b8c43c5e0b1
                      expiration:
                        type: integer
                        description: Transaction expiration timestamp
                        example: 1704067260000
                      timestamp:
                        type: integer
                        description: Transaction creation timestamp
                        example: 1704067200000
                      fee_limit:
                        type: integer
                        description: Maximum fee allowed for this transaction
                        example: 100000000
                  signature:
                    type: array
                    description: Array of transaction signatures
                    items:
                      type: string
                  ret:
                    type: array
                    description: Transaction result information
                    items:
                      type: object
                      properties:
                        contractRet:
                          type: string
                          example: SUCCESS

````