API Kit Reference
getSafeOperationConfirmations

getSafeOperationConfirmations

Returns the list of confirmations for a given a Safe operation.

Usage


_14
import { ListOptions } from '@safe-global/api-kit'
_14
import { apiKit } from './setup.ts'
_14
_14
const safeOperationHash = '0x...'
_14
_14
const config: ListOptions = {
_14
limit: '3', // Optional
_14
offset: '2' // Optional
_14
}
_14
_14
const 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.


_10
const confirmationsResponse = await apiKit.getSafeOperationConfirmations(
_10
'0x...'
_10
)

config.limit (Optional)

  • Type: number

The number of results to return per page.


_10
const 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.


_10
const confirmationsResponse = await apiKit.getSafeOperationConfirmations(
_10
'0x...',
_10
{
_10
offset: 50
_10
}
_10
)

Was this page helpful?