---
title: "getPendingTransactions"
method: POST
path: "/v1/transactions/pending"
tags: ["Transactions"]
---

# getPendingTransactions

`POST /v1/transactions/pending`

Get a list of transactions that are currently pending, i.e. in the Mempool and are awaiting to be run.

## Query parameters

- `page` integer, required
- `size` integer, required
- `orderBy` 'ASC' | 'DESC', required
- `sortBy` 'FEE' | 'TYPE' | 'FROM' | 'TO' | 'AMOUNT' | 'NONCE', required — Select sorting parameter.

## Request body

- TxParams
  - `messageTypesInTx` string[], required — Type of message in a transaction.

## Response `200`

OK

- RestResponsePagePendingUserCommand
  - `data` PendingUserCommand[]
    - `type` string
    - `txHash` string
    - `fromAccountAddress` string
    - `fromAccountName` string
    - `fromAccountImg` string
    - `toAccountAddress` string
    - `toAccountName` string
    - `toAccountImg` string
    - `status` string
    - `age` integer
    - `amount` number, double
    - `fee` number, double
    - `memo` string
    - `nonce` integer
    - `isAmountChangeable` boolean
    - `sourceScam` ScamDto
      - `scamId` integer
      - `objectType` string
      - `onchainId` string
      - `defaultSecurityMessage` string
      - `securityMessage` string
      - `scamType` string
    - `receiverScam` ScamDto
      - `scamId` integer
      - `objectType` string
      - `onchainId` string
      - `defaultSecurityMessage` string
      - `securityMessage` string
      - `scamType` string
  - `currentPage` integer
  - `size` integer
  - `totalItems` integer
  - `totalPages` integer
  - `content` PendingUserCommand[]
    - `type` string
    - `txHash` string
    - `fromAccountAddress` string
    - `fromAccountName` string
    - `fromAccountImg` string
    - `toAccountAddress` string
    - `toAccountName` string
    - `toAccountImg` string
    - `status` string
    - `age` integer
    - `amount` number, double
    - `fee` number, double
    - `memo` string
    - `nonce` integer
    - `isAmountChangeable` boolean
    - `sourceScam` ScamDto
      - `scamId` integer
      - `objectType` string
      - `onchainId` string
      - `defaultSecurityMessage` string
      - `securityMessage` string
      - `scamType` string
    - `receiverScam` ScamDto
      - `scamId` integer
      - `objectType` string
      - `onchainId` string
      - `defaultSecurityMessage` string
      - `securityMessage` string
      - `scamType` string
  - `pageable` PageableObject
    - `pageNumber` integer
    - `pageSize` integer
    - `offset` integer
    - `sort` SortObject
      - `sorted` boolean
      - `empty` boolean
      - `unsorted` boolean
    - `paged` boolean
    - `unpaged` boolean
  - `last` boolean
  - `totalElements` integer
  - `number` integer
  - `sort` SortObject
    - `sorted` boolean
    - `empty` boolean
    - `unsorted` boolean
  - `first` boolean
  - `numberOfElements` integer
  - `empty` boolean

---

[API](https://skmtc.net/blockberry/apis/sui-mainnet-api.md) · [All operations](https://skmtc.net/blockberry/apis/sui-mainnet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockberry/sui-mainnet-api/revisions/3e4cb73940b7/schema)
