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

    Type Alias SignupResult

    SignupResult:
        | {
            jwt: string;
            kind: "payment_required";
            paymentLink: PaymentLink;
            refId: string;
            walletAddress: string;
        }
        | {
            apiKey: string
            | null;
            endpoints: Endpoints | null;
            jwt: string;
            kind: "already_subscribed";
            projectId: string;
            refId: string;
            walletAddress: string;
        }
        | {
            currentPlan: string;
            jwt: string;
            kind: "upgrade_required";
            refId: string;
            requestedPlan: string;
            walletAddress: string;
        }

    Type Declaration

    • {
          jwt: string;
          kind: "payment_required";
          paymentLink: PaymentLink;
          refId: string;
          walletAddress: string;
      }
    • {
          apiKey: string | null;
          endpoints: Endpoints | null;
          jwt: string;
          kind: "already_subscribed";
          projectId: string;
          refId: 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: "already_subscribed"
      • projectId: string
      • refId: string
      • walletAddress: string
    • {
          currentPlan: string;
          jwt: string;
          kind: "upgrade_required";
          refId: string;
          requestedPlan: string;
          walletAddress: string;
      }