AccessVerdict

TOKEN GATING API

Token gating without rebuilding authorization logic.

AccessVerdict evaluates wallet and token policies on your server and returns an explicit allowed, denied or error result.

01

PROBLEM

Token checks spread across application code

Direct balanceOf calls are simple once. They become operational authorization code when repeated across routes, chains, token standards and failure paths.

02

API

Move the decision behind one endpoint

Send a policy ID and wallet from your trusted backend. AccessVerdict performs the chain reads and policy evaluation.

POST /api/v1/verify
{
  "policyId": "pol_members",
  "wallet": "0x..."
}
03

SEMANTICS

Treat denial and infrastructure failure differently

allowed and denied are conclusive policy outcomes. error means a trustworthy authorization decision could not be produced, so your app can fail closed without pretending the user failed the policy.