For the complete documentation index, see llms.txt. This page is also available as Markdown.

Token Verification

Prove your $BV7X token holdings to unlock gated API endpoints. Verification uses EIP-191 signed messages -- no tokens are transferred or locked.


How It Works

  1. Sign a message with your wallet (MetaMask, ethers.js, web3.py, etc.)

  2. POST the signature to the verify endpoint

  3. Receive a bearer token valid for 30 minutes

  4. Include the token in the Authorization header on subsequent requests


Message Format

The message you sign must match this exact format:

Verify BV7X balance: <wallet_address>:<unix_timestamp>
  • wallet_address -- your checksummed Ethereum address (Base network)

  • unix_timestamp -- current Unix time in seconds (must be within 5 minutes of server time)

Example:

Verify BV7X balance: 0xd8B71d23e1a8da9867497C0E757A1143B94C3e1e:1711647600

Verify Endpoint

Request Body

Response

Field
Description

token

JWT bearer token for authenticated requests

tier

basic (500M+) or premium (1B+) based on balance

balance

Your $BV7X balance (raw token units)

expiresAt

Token expiry (30 minutes from issue)

Error Responses

Status
Reason

400

Missing fields or timestamp out of range

403

Signature valid but balance below 500M $BV7X

401

Invalid signature or address mismatch


Using the Bearer Token

Include the token in the Authorization header:

When the token expires, sign a new message and verify again.


Python Example


Node.js Example


Next

Last updated