Install
openclaw skills install @plagtech/spraay-openclawFull Spraay x402 gateway interface for AI agents. Payments, DeFi, AI inference, and blockchain data in one skill. Batch payments and payroll, swap quotes, token prices, balance queries, 43+ AI models via Bittensor, ENS resolution, and chain data across Base, Ethereum, Arbitrum, Solana, and 7 more chains. Use when the user wants comprehensive Spraay gateway access covering payments, DeFi operations, AI generation, or on-chain queries.
openclaw skills install @plagtech/spraay-openclawFull Spraay x402 gateway interface. Payments, DeFi, AI, and blockchain data — everything the Spraay gateway offers, in one skill.
All requests go exclusively to the user's configured SPRAAY_GATEWAY_URL.
No data is sent to any other external endpoint.
When to use this vs the specialized Spraay skills:
Blockchain transactions are irreversible. Payments, swaps, and transfers executed on-chain cannot be undone. Always confirm with the user before executing any financial transaction.
Real funds are involved. Batch payments move real tokens. Swaps execute real trades. The agent must confirm amounts, addresses, chains, and slippage with the user before proceeding.
x402 micropayment fees apply to paid endpoints. Each call costs a small USDC micropayment on Base. Free endpoints are marked below.
AI responses are generated by third-party models via Bittensor Subnet 64. Review generated content before relying on it for decisions.
SPRAAY_GATEWAY_URL=https://gateway.spraay.app
No API key needed. Uses x402 pay-per-call micropayments with USDC on Base. Requires an x402-compatible wallet (Coinbase CDP or similar).
Base (primary), Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, Solana, Unichain, Plasma, BOB, Bittensor.
Payment contract (Base): 0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC
Send tokens to multiple wallets in one transaction. 60-80% gas savings.
Confirm recipients, amounts, token, and chain with the user first.
curl -X POST "$SPRAAY_GATEWAY_URL/api/batch-payment" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{"address": "alice.eth", "amount": "3000"},
{"address": "bob.base", "amount": "2500"},
{"address": "0xCCC...999", "amount": "4000"}
],
"token": "USDC",
"chain": "base",
"memo": "March 2026 payroll"
}'
curl -X POST "$SPRAAY_GATEWAY_URL/api/create-invoice" \
-H "Content-Type: application/json" \
-d '{
"recipient": "0xABC...123",
"amount": "500",
"token": "USDC",
"chain": "base",
"memo": "March consulting"
}'
curl "$SPRAAY_GATEWAY_URL/api/balance?address=0xABC...&chain=base"
Get a quote without executing. Read-only — no funds move.
curl -X POST "$SPRAAY_GATEWAY_URL/api/swap-quote" \
-H "Content-Type: application/json" \
-d '{
"tokenIn": "ETH",
"tokenOut": "USDC",
"amount": "1.0",
"chain": "base"
}'
To execute a swap, confirm token pair, amount, chain, and slippage tolerance with the user first.
curl "$SPRAAY_GATEWAY_URL/api/price?symbol=ETH"
curl "$SPRAAY_GATEWAY_URL/api/price?symbol=ETH"
curl "$SPRAAY_GATEWAY_URL/api/price?symbol=BTC"
curl "$SPRAAY_GATEWAY_URL/api/price?symbol=SOL"
43+ language models via Bittensor Subnet 64 (Chutes AI). OpenAI-compatible API.
curl -X POST "$SPRAAY_GATEWAY_URL/bittensor/v1/chat/completions" \
-H "Content-Type: application/json" \
-d '{
"model": "unsloth/Llama-3.3-70B-Instruct",
"messages": [
{"role": "user", "content": "Explain DeFi yield farming in simple terms"}
],
"temperature": 0.7,
"max_tokens": 500
}'
curl "$SPRAAY_GATEWAY_URL/bittensor/v1/models"
curl "$SPRAAY_GATEWAY_URL/api/resolve?name=vitalik.eth"
curl "$SPRAAY_GATEWAY_URL/api/chains"
curl "$SPRAAY_GATEWAY_URL/api/endpoints"
No x402 payment required:
GET /api/price?symbol=ETH — Token pricesGET /api/resolve?name=vitalik.eth — ENS/Basename resolutionGET /api/chains — Supported chainsGET /api/endpoints — Available endpointsGET /api/health — Gateway health checkGET /bittensor/v1/models — Available AI modelsX-PAYMENT proof header.402 — Payment required. Follow response body instructions.400 — Bad request. Check parameters.404 — Endpoint or model not found.500 — Server error. Retry after a moment./api/price to show USD values before payments or swaps.base if not specified.USDC if not specified.