Helius SDK - v5.0.0
    Preparing search index...

    Type Alias SignupAndPayResult

    SignupAndPayResult:
        | Extract<SignupResult, { kind: "already_subscribed" }>
        | Extract<SignupResult, { kind: "upgrade_required" }>
        | {
            apiKey: string | null;
            endpoints: Endpoints | null;
            jwt: string;
            kind: "completed";
            paymentIntentId?: string;
            projectId: string;
            refId: string;
            txSignature?: string;
            walletAddress: string;
        }
        | {
            jwt: string;
            kind: "pending";
            paymentLink: PaymentLink;
            refId: string;
            txSignature?: string;
            walletAddress: string;
        }
        | {
            jwt: string;
            kind: "expired";
            paymentIntentId: string;
            refId: string;
            walletAddress: string;
        }
        | {
            jwt: string;
            kind: "failed";
            paymentIntentId: string;
            reason?: string;
            refId: string;
            walletAddress: string;
        }

    Type Declaration

    • Extract<SignupResult, { kind: "already_subscribed" }>
    • Extract<SignupResult, { kind: "upgrade_required" }>
    • {
          apiKey: string | null;
          endpoints: Endpoints | null;
          jwt: string;
          kind: "completed";
          paymentIntentId?: string;
          projectId: string;
          refId: string;
          txSignature?: string;
          walletAddress: string;
      }
      • apiKey: string | null

        The project's first existing API key, or null if it has none. Signup never creates a key; call createApiKey to add one.

      • endpoints: Endpoints | null

        RPC URLs for apiKey, or null when apiKey is null.

      • jwt: string
      • kind: "completed"
      • OptionalpaymentIntentId?: string
      • projectId: string
      • refId: string
      • OptionaltxSignature?: string
      • walletAddress: string
    • {
          jwt: string;
          kind: "pending";
          paymentLink: PaymentLink;
          refId: string;
          txSignature?: string;
          walletAddress: string;
      }
    • {
          jwt: string;
          kind: "expired";
          paymentIntentId: string;
          refId: string;
          walletAddress: string;
      }
    • {
          jwt: string;
          kind: "failed";
          paymentIntentId: string;
          reason?: string;
          refId: string;
          walletAddress: string;
      }