1

How many instructions can i cram into a single TX? I'd like to make my code as efficient as possible, with as few as possible transactions

0

1 Answer 1

2

Solana's networking stack uses a conservative MTU size of 1280 bytes which, after accounting for headers, leaves 1232 bytes for packet data like serialized transactions. Developers building applications on Solana must design their on-chain program interfaces within the above transaction size limit constraint. https://docs.solana.com/proposals/transactions-v2#:~:text=Solana's%20networking%20stack%20uses%20a,above%20transaction%20size%20limit%20constraint.

You can send multi-transaction with a wallet sign. The code is existed in Metaplex.

Not the answer you're looking for? Browse other questions tagged or ask your own question.