toJson method
Converts the request parameters to a JSON representation.
Implementation
@override
List<dynamic> toJson() {
  return [
    encodedTransaction,
    SolanaRequestUtils.createConfig([
      commitment?.toJson(),
      {'sigVerify': sigVerify},
      {'replaceRecentBlockhash': replaceRecentBlockhash},
      minContextSlot?.toJson(),
      encoding?.toJson(),
      {'innerInstructions': innerInstructions},
      accounts?.toJson()
    ])
  ];
}