Using the safe-core-sdk, I'm trying to make a custom transaction. Based on the doc, I need to make a dataPartial, sign it, then execute it.
Question is.. how do I go about crafting the data field for this object?
const safeTransactionData: SafeTransactionDataPartial = {
to: '',
value: '0',
data: '0x'. <--- this
};
const safeTransaction = await safeSdk.createTransaction({
safeTransactionData
});
Could anyone point me to the right resource?