toBlob static method

String toBlob(
  1. Map<String, dynamic> value
)

Converts a Map of type <String, dynamic> to a hexadecimal blob for XRP transactions.

Implementation

static String toBlob(Map<String, dynamic> value) {
  final result = binary.STObject.fromValue(value, false).toBytes();
  return BytesUtils.toHexString(result, lowerCase: false);
}