Timeline for How many instructions can I add to a single transaction?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 29 at 21:42 | comment | added | mikemaccana♦ | Is there a page in the docs with all these limits? | |
Sep 14, 2022 at 9:12 | comment | added | Jonas H. | Depending on what frame work you use you should be able to call .serialize on the transaction before you send it. Then you can check the size and add either 64 or 96 bytes on top for a signature. Can read up on transaction format here: docs.solana.com/developing/programming-model/transactions | |
Sep 13, 2022 at 23:27 | comment | added | Oguzhan | That seems to be right. It throws an error when I try to send a transaction larger than 1232 bytes. However, I don't see how to get the size of a transaction before it is sent. After it is sent, I can just getTransaction, serialize it and see byteLength but the raw transaction requires to be signed... | |
Sep 13, 2022 at 22:18 | vote | accept | Oguzhan | ||
Sep 11, 2022 at 19:56 | history | answered | Jonas H. | CC BY-SA 4.0 |