toData method

SignDocDataArgs toData()

Implementation

SignDocDataArgs toData() {
  return SignDocDataArgs()
    ..account_number = account_number.toString()
    ..auth_Info_Bytes =
        TerraStringExtension.getBase64FromBytes(auth_info.toProto())
    ..body_bytes = TerraStringExtension.getBase64FromBytes(tx_body!.toProto())
    ..chain_Id = chain_id
    ..sequence = sequence.toString();
}