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