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