toJson method
Converts the request to JSON format.
Implementation
@override
List<dynamic> toJson() {
return [
encodedTransaction,
SolanaRPCUtils.createConfig([
encoding?.toJson(),
{"skipPreflight": skipPreflight},
commitment?.toJson(true),
{"maxRetries": maxRetries},
minContextSlot?.toJson()
]),
];
}