import { createDefaultRpcTransport } from "@solana/kit";
import { SolanaClusterRpcFactory } from "./baseRpcFactories";
// Exposes default RPC transport for Solana in the SolanaClusterRpcFactory class.
export class SolanaDefaultRpcFactory extends SolanaClusterRpcFactory {
    constructor(...clusterConstructorParams) {
        super(...clusterConstructorParams);
    }
    createTransport() {
        return createDefaultRpcTransport({ url: this.clusterUrl });
    }
}
//# sourceMappingURL=defaultRpcFactory.js.map