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