import { __extends } from "tslib";
import { createDefaultRpcTransport } from "@solana/kit";
import { SolanaClusterRpcFactory } from "./baseRpcFactories";
// Exposes default RPC transport for Solana in the SolanaClusterRpcFactory class.
var SolanaDefaultRpcFactory = /** @class */ (function (_super) {
    __extends(SolanaDefaultRpcFactory, _super);
    function SolanaDefaultRpcFactory() {
        var clusterConstructorParams = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            clusterConstructorParams[_i] = arguments[_i];
        }
        return _super.apply(this, clusterConstructorParams) || this;
    }
    SolanaDefaultRpcFactory.prototype.createTransport = function () {
        return createDefaultRpcTransport({ url: this.clusterUrl });
    };
    return SolanaDefaultRpcFactory;
}(SolanaClusterRpcFactory));
export { SolanaDefaultRpcFactory };
//# sourceMappingURL=defaultRpcFactory.js.map