getModuleTransactions
Returns the history of module transactions of a Safe account.
Usage
_10import { apiKit } from './setup.ts'_10_10const safeAddress = '0x...'_10const options = {_10 module: '0x...',_10 limit: 10,_10 offset: 10_10}_10_10const 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.
_10const 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.