BlockVectra

Console API

Account, API key, balance, and usage management.

Overview

The Console API provides REST endpoints for account management, authentication (SIWE / GitHub / Google), API key lifecycle, balance queries, usage tracking, and payment records.

Status: The console is under development and will ship in Phase 3.

  • Base URL: https://dev-console-api.blockvectra.network
  • Protocol: HTTP REST, JSON request/response
  • Authentication: Bearer token (session tokens via SIWE / GitHub / Google)
  • Rate limits: Vary by endpoint and dimension — auth endpoints are limited by IP, session-required endpoints by user, new signups by a global counter, and key creation/rotation by account. See each endpoint's limit in the reference below

Until the console ships, see Quickstart → Get an API key for how to get access today.

This content is sourced from upstream and is currently available in Chinese only.

Auth

MethodPathSummary
POST/auth/siwe/challenge取 SIWE 消息
POST/auth/siwe/loginSIWE 登录(首次登录即开户)
GET/auth/{provider}/start发起 OAuth 登录(浏览器,302 到 IdP)
GET/auth/{provider}/callbackOAuth 回调(浏览器,302 到 return_to)
POST/auth/oauth/token用 login code 换会话(首次登录即开户)
POST/auth/logout登出当前会话
POST/auth/logout-all登出该用户的全部会话

Me

MethodPathSummary
GET/me当前用户、账户号、身份列表与当前会话
POST/me/identities/siwe绑定钱包
POST/me/identities/oauth用 login code 绑定 GitHub 或 Google 身份
DELETE/me/identities/{identity_id}解绑身份

Keys

MethodPathSummary
GET/keyskey 列表
POST/keys创建 key(secret 只显示一次)
GET/keys/{key_id}单个 key
PATCH/keys/{key_id}改名
POST/keys/{key_id}/rotate轮换(新 secret 只显示一次)
POST/keys/{key_id}/revoke吊销(幂等)

Billing

MethodPathSummary
GET/balance余额、结算截止时刻与充值联系方式
GET/charges扣费记录(分页)
GET/topups充值记录(分页)
GET/usage按 UTC 日、按 key 统计的调用数与 CU

On this page