Converts the request to JSON format.
@override List<dynamic> toJson() { return [ filter.toJson(), SolanaRPCUtils.createConfig([ commitment?.toJson(), ]) ]; }