CSPR Rate Snapshot
Returns a current CSPR market snapshot for agents that need priced decisions.
0.25CSPR
cspr-rateCasper Agentic Buildathon MVP
A real x402 payment gateway for AI agents with Casper spend policies, settlement receipts, and attack-surface monitoring.
Paid tools
POST /api/gateway/:slugReturns a current CSPR market snapshot for agents that need priced decisions.
cspr-rateFetches a Casper account balance by public key from CSPR.cloud.
account-balanceReturns a compact market state for autonomous payment and risk checks.
market-snapshotMCP methods
Policies
Create policies through the admin API before agents can settle paid calls.
Wallet UX
App identity is configured for the wallet domain. Agent payment signing stays outside the demo dashboard.
appKey e127e69bb8e04a8786bb1aef0a284cf4Operations
/api/mcp{
"x402Version": 2,
"scheme": "exact",
"network": "casper:casper-test",
"payload": {
"signature": "replace-with-130-hex-eip712-signature",
"publicKey": "agent_public_key_12345678901234567890123456789012",
"authorization": {
"from": "000000000000000000000000000000000000000000000000000000000000000000",
"to": "replace-with-payTo-from-quote",
"value": "replace-with-amount-from-quote",
"validAfter": "1780904514",
"validBefore": "1780905414",
"nonce": "replace-with-64-hex-nonce"
}
}
}curl -i -X POST http://127.0.0.1:3000/api/gateway/cspr-rate \
-H 'PAYMENT-SIGNATURE: eyJ4NDAyVmVyc2lvbiI6Miwic2NoZW1lIjoiZXhhY3QiLCJuZXR3b3JrIjoiY2FzcGVyOmNhc3Blci10ZXN0IiwicGF5bG9hZCI6eyJzaWduYXR1cmUiOiJyZXBsYWNlLXdpdGgtMTMwLWhleC1laXA3MTItc2lnbmF0dXJlIiwicHVibGljS2V5IjoiYWdlbnRfcHVibGljX2tleV8xMjM0NTY3ODkwMTIzNDU2Nzg5MDEyMzQ1Njc4OTAxMiIsImF1dGhvcml6YXRpb24iOnsiZnJvbSI6IjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCIsInRvIjoicmVwbGFjZS13aXRoLXBheVRvLWZyb20tcXVvdGUiLCJ2YWx1ZSI6InJlcGxhY2Utd2l0aC1hbW91bnQtZnJvbS1xdW90ZSIsInZhbGlkQWZ0ZXIiOiIxNzgwOTA0NTE0IiwidmFsaWRCZWZvcmUiOiIxNzgwOTA1NDE0Iiwibm9uY2UiOiJyZXBsYWNlLXdpdGgtNjQtaGV4LW5vbmNlIn19fQ' \
-H 'content-type: application/json' \
-d '{}'Risk monitor
0 eventsNo policy, replay, facilitator, or service failures logged yet.