message property

  1. @TagNumber.new(2)
String get message

A UTF-8 regular message to sign.

Keep it a string. MessageType_raw signs the body as it stands, and its being UTF-8 is what keeps those bytes from ever forming a Solana transaction message — see the note on the raw arm in message_signer.rs before making it bytes.

Implementation

@$pb.TagNumber(2)
$core.String get message => $_getSZ(1);
  1. @TagNumber.new(2)
set message (String value)

Implementation

@$pb.TagNumber(2)
set message($core.String value) => $_setString(1, value);