You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a question while working with the Safe SDK and found these points:
In ProtocolKit v1, the createTransaction() method accepted either an object or an array as a parameter. To reduce confusion, this was changed to accept only an array in v2. More details here.
When the array contains only one transaction, it is not wrapped in a MultiSend. Reference.
This method can also accept an options parameter to set optional properties in the MultiSend transaction. Details here.
My question is: If I pass only one transaction, will the options still take effect?
Any insights would be greatly appreciated. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I encountered a question while working with the Safe SDK and found these points:
createTransaction()
method accepted either an object or an array as a parameter. To reduce confusion, this was changed to accept only an array in v2. More details here.options
parameter to set optional properties in the MultiSend transaction. Details here.My question is: If I pass only one transaction, will the
options
still take effect?Any insights would be greatly appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions