I'm trying to initiate/propose a transaction using Safe Contract SDK (gnosis-safe), but I can not find any example where the SC method and parameters are specified in the transaction object. The documentation is not very clear, I thing data and value should be filled with method signature and parameters.
If you have any example it will be great. Thanks!
-- Doc from gnosis-safe
import { SafeTransactionDataPartial } from '@gnosis.pm/safe-core-sdk-types'
const safeTransactionData: SafeTransactionDataPartial = { to, data, value, operation, // Optional safeTxGas, // Optional baseGas, // Optional gasPrice, // Optional gasToken, // Optional refundReceiver, // Optional nonce // Optional } const safeTransaction = await safeSdk.createTransaction({ safeTransactionData })