Discussions

Ask a Question
Back to All

How to send native txs i.e transferring matic on polygon with simpleAccount with executeBatch ?

I have been trying to run executeBatch with simpleAccount wallet address and it works fine with contract integration as it takes in an array of destination address and data but there is no array for the value field in case one of the txs in this batch txs is a native tx which would need a value field here . So any ways to resolve this issue? Any sample code to refer to ?