pai
    Preparing search index...

    Type Alias KeySource

    KeySource:
        | { from: "env" }
        | { from: "named"; name: string }
        | { from: "login" }
        | { from: "none" }

    Where the key a command runs as comes from.

    Type Declaration

    • { from: "env" }
      • from: "env"

        PHANTOM_API_KEY.

    • { from: "named"; name: string }
      • from: "named"

        A key saved by name, chosen with PHANTOM_KEY_NAME.

      • name: string

        The saved key's name.

    • { from: "login" }
      • from: "login"

        The key saved by pai login.

    • { from: "none" }
      • from: "none"

        No key at all.