getSafeOperationConfirmations
Returns the list of confirmations for a given a Safe operation.
Usage
_14import { ListOptions } from '@safe-global/api-kit'_14import { apiKit } from './setup.ts'_14_14const safeOperationHash = '0x...'_14_14const config: ListOptions = {_14 limit: '3', // Optional_14 offset: '2' // Optional_14}_14_14const confirmationsResponse = await apiKit.getSafeOperationConfirmations(_14 safeOperationHash,_14 config_14)
Returns
Promise<SafeOperationConfirmationListResponse>
The paginated list of confirmations.
Parameters
safeOperationHash
- Type:
string
The hash of the Safe operation to get confirmations for.
_10const confirmationsResponse = await apiKit.getSafeOperationConfirmations(_10 '0x...'_10)
config.limit
(Optional)
- Type:
number
The number of results to return per page.
_10const confirmationsResponse = await apiKit.getSafeOperationConfirmations(_10 '0x...',_10 {_10 limit: 10_10 }_10)
config.offset
(Optional)
- Type:
number
The initial index from which to return the results.
_10const confirmationsResponse = await apiKit.getSafeOperationConfirmations(_10 '0x...',_10 {_10 offset: 50_10 }_10)