Function isMessageSizeUnderCap

  • Return whether the size of the message is under the upper limit for the network. This performs a protobuf encoding! If you have access to the fully encoded message, use isSizeUnderCapBuf instead.

    Parameters

    Returns Promise<boolean>