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