getFeeForMessage method
Returns the network fee that will be charged to send message
.
Implementation
Future<u64> getFeeForMessage(
final Message message, {
final GetFeeForMessageConfig? config,
}) {
final String encoded = message.serialize().getString(BufferEncoding.base64);
return getFeeForEncodedMessage(encoded, config: config);
}