pai
    Preparing search index...

    Function saveApiKey

    • Saves the login key, the one used when neither PHANTOM_KEY_NAME nor PHANTOM_API_KEY is set.

      Parameters

      • env: Env
      • key: string

      Returns { saved: string }

      • saved: string

        The path of the file that holds the key or its Keychain pointer.