toBlob method

String toBlob({
  1. bool forSigning = true,
})

Implementation

String toBlob({bool forSigning = true}) {
  final result = STObject.fromValue(toXrpl(), forSigning).toBytes();
  if (forSigning) {
    return bytesToHex(Uint8List.fromList(
        [...hexToBytes(_transactionSignaturePrefix), ...result]));
  }
  return bytesToHex(result);
}