getPendingTransactions
Returns the list of multi-signature transactions that are waiting for the confirmation of the Safe owners.
Usage
_12import { apiKit } from './setup.ts'_12_12const safeAddress = '0x...' _12const options = {_12 currentNonce: 0,_12 hasConfirmations: true,_12 ordering: 'created',_12 limit: 10,_12 offset: 10_12}_12_12const 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.
_10const 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.