API Kit Reference
getPendingTransactions

getPendingTransactions

Returns the list of multi-signature transactions that are waiting for the confirmation of the Safe owners.

Usage


_12
import { apiKit } from './setup.ts'
_12
_12
const safeAddress = '0x...'
_12
const options = {
_12
currentNonce: 0,
_12
hasConfirmations: true,
_12
ordering: 'created',
_12
limit: 10,
_12
offset: 10
_12
}
_12
_12
const pendingTxs = await apiKit.getPendingTransactions(safeAddress, options)

Returns

Promise<SafeMultisigTransactionListResponse>

The list of transactions waiting for the confirmation of the Safe owners.

Parameters

safeAddress

  • Type: string

The Safe address.


_10
const pendingTxs = await apiKit.getPendingTransactions(
_10
'0x...'
_10
)

options.currentNonce (Optional)

  • Type: number

The current nonce of the Safe.

options.hasConfirmations (Optional)

  • Type: boolean

Filter transactions with al least one confirmation.

options.ordering (Optional)

  • Type: string

The field used to sort the results.

options.limit (Optional)

  • Type: number

The number of results to return per page.

options.offset (Optional)

  • Type: number

The initial index from which to return the results.

Was this page helpful?