Assuming u64 is 8 bytes what is Option<u64>. How many bytes extra does Option add to the instruction data for an anchor program ix?

1 Answer 1


An Option<T>'s size is 1 + Size(T) according to the space reference.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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