API Kit Reference
getModuleTransactions

getModuleTransactions

Returns the history of module transactions of a Safe account.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const safeAddress = '0x...'
_10
const options = {
_10
module: '0x...',
_10
limit: 10,
_10
offset: 10
_10
}
_10
_10
const moduleTxs = await apiKit.getModuleTransactions(safeAddress, options)

Returns

Promise<SafeModuleTransactionListResponse>

The history of Safe transactions triggered by a module.

Parameters

safeAddress

  • Type: string

The Safe address.


_10
const moduleTxs = await apiKit.getModuleTransactions(
_10
'0x...'
_10
)

options.module (Optional)

  • Type: string

The module to get the transactions from.

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?