I am trying to calculate how many transactions can fit into a single block. I have a block limit of 5mb. How can i learn the byte size of a single submitted transaction so i can estimate how many transactions can fit into a single block. Is there a way to do it from a polkadot js api?
Thank you