Closed
Description
Problem
In order to determine the size of the transaction to ensure it is within the size limits, a few steps needs to be taken. Currently, the most accurate way to do this looks similar to this:
const request = await transaction._makeRequestAsync(); proto.Transaction.encode(request).finish().length
Especially for new developers, a method on the transaction that returns this value would be very helpful for client side apps.
Solution
Add a convenience function that will return the protobuf size of the transaction that will actually be received by the network.
Alternatives
No response