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