Skip to content

Add StatePulse provider (5 on-chain x402 endpoints)#4

Open
Ahmed-Achtatar wants to merge 2 commits into
NoFxAiOS:mainfrom
Ahmed-Achtatar:add-statepulse-provider
Open

Add StatePulse provider (5 on-chain x402 endpoints)#4
Ahmed-Achtatar wants to merge 2 commits into
NoFxAiOS:mainfrom
Ahmed-Achtatar:add-statepulse-provider

Conversation

@Ahmed-Achtatar

Copy link
Copy Markdown

Add StatePulse — native x402 on-chain data

StatePulse is a pay-per-call x402 API on Base. This adds 5 on-chain endpoints that fit the crypto category, using upstream_type: x402 (same model as the CoinMarketCap listing) — no API key needed, claw402 pays the upstream x402 charge automatically and keeps the markup.

Gateway route Upstream upstream_cost user_price
/api/v1/crypto/statepulse/balances /blockchain/balances $0.02 $0.03
/api/v1/crypto/statepulse/gas-history /blockchain/gas-history $0.01 $0.015
/api/v1/crypto/statepulse/funding-rates /blockchain/funding-rates $0.02 $0.03
/api/v1/crypto/statepulse/abi /blockchain/abi $0.03 $0.04
/api/v1/crypto/statepulse/simulate /blockchain/simulate $0.15 $0.18
  • Upstream: https://statepulse-api.hahavoid0.workers.dev (live, listed on CDP x402 Bazaar)
  • All routes are POST / application/json; request bodies documented per-route.
  • Logo included at providers/statepulse.svg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant