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