查询 > 管理您的 API 密钥

管理您的 API 密钥

Reading time: 2 min

无论您是 dapp 开发人员还是子图开发人员,您都需要管理您的 API 密钥。 这对您能够查询子图很重要,因为 API 密钥确保应用程序服务之间的连接有效且经过授权。 这包括验证最终用户和使用应用程序的设备。

The "API keys" table lists out existing API keys, which will give you the ability to manage or delete them. For each key, you can see its status, the cost for the current period, the spending limit for the current period, as well as total query numbers. You can click the "three dots" menu to edit a given API key:

  • Rename API key
  • Regenerate API key
  • Delete API key
  • Manage spending limit: this is an optional monthly spending limit for a given API key, in USD. This limit is per billing period (calendar month).

You can click on an individual API key to view the Details page:

  1. Overview部分将允许您:
    • 编辑您的密钥名称
    • 重新生成 API 密钥
    • 使用统计信息查看 API 密钥的当前使用情况:
      • 查询数
      • 花费的 GRT 金额
  2. Security下,您可以根据自己对 API 密钥的控制级别选择启用安全设置。 在本节中,您可以:
    • 查看和管理授权使用您的 API 密钥的域名
    • 分配可以使用您的 API 密钥查询的子图
编辑

上页
查询Graph
下页
查询最佳实践
编辑