I am using the SDK to create a swap instruction which works well, but as soon as I try add some other instructions (bribes, fee transfer etc) I go over the size limit of a transaction, is there anyway I can reduce the size?
we already downsize tx size as possible as we can and there's no way to reduce more, if you want to add more instructions, you have to check it's over tx size limit or not and separate them into 2 tx
I am using the SDK to create a swap instruction which works well, but as soon as I try add some other instructions (bribes, fee transfer etc) I go over the size limit of a transaction, is there anyway I can reduce the size?
Here is my full working code: