Skip to main content

Fees

Two operations, both read-only, both requiring an API key with the fees:read scope. Neither response is cached. Both send private, no-store and use the api-key-read rate policy described in Conventions.

Setup

API keys are server-side only. The SDK refuses to accept one in a browser runtime.
See Authentication for key handling and Scopes for the scope list.

Fee state

The current fee configuration and lifetime totals for one token.

sharesBps

An object with five integer keys, each 0–10,000 basis points: creator, staking, buybackBurn, liquidityCompounding, forecast.
100 bps = 1%, so 10,000 bps = 100%. A staking value of 2000 means 20%.

Distribution history

Individual fee distributions, newest first, cursor paginated with cursor and limit.
The response is { data: [...], page: { nextCursor, hasMore } }. Pass page.nextCursor back as cursor to walk further.

Raw HTTP

From a server shell, never a browser:
An API key grants read access to your Blank account. Keep it in server environment variables. Never ship it to a client, a mobile app bundle, or a public repository.

Reads only

The v2 API exposes fee reads. There is no public fee-claim endpoint.
  • Creators claim from the Blank creator dashboard.
  • Stakers claim through staking flows.
  • The platform bucket is collected by Blank’s keeper.
See Fee Structure for how the fee model works.

Errors

Full problem-details shape lives in Errors.

Next