spraay-gateway
Access the Spraay x402 payment gateway — batch stablecoin payments (up to 200 recipients per transaction, ~80% gas savings), escrow, payroll, robot task payments, and 190 endpoints…
Plag
@plagtech
Install
$ openclaw skills install @plagtech/spraay-gatewaySpraay Gateway
Spraay is a multi-chain x402 payment gateway. Its core capability is batch payments: pay up to 200 recipients in a single transaction with roughly 80% gas savings versus individual transfers. Around that core it exposes 190 endpoints (32 free, 150+ paid) across 37 categories on 15 mainnet chains (Base, Solana, Ethereum, Polygon, Arbitrum, XRP Ledger, Stellar, Bitcoin, Stacks, and more) — escrow, crypto payroll, robot task payments (RTP), GPU/compute, token data, and research.
Provenance: the Spraay payment toolset (batch, escrow, RTP) is merged into NVIDIA's NeMo-Agent-Toolkit-Examples (#27), ships as a community integration on the official Strands Agents documentation site (strandsagents.com/docs/integrations/tools/strands-spraay), and is merged into google/adk-python-community (#95) and aaif-goose/goose (#7525). Those projects are not affiliated with or endorsing Spraay; the citations describe where the tooling has been merged.
Cost disclosure (read before using paid endpoints)
This skill is free and MIT-0. The Spraay Gateway it connects to is an external paid service. Free endpoints cost nothing and need no account. Paid endpoints require ONE of:
- Subscription API key — Starter $29/mo (1,000 API calls/day) or Pro $99/mo (10,000 calls/day, priority support, Stripe customer portal), billed by Stripe. Checkout links: Starter https://buy.stripe.com/5kQcN675ndDa41Pce7enS00 · Pro https://buy.stripe.com/28EcN60GZ56EdCp91VenS01. Key arrives by email on signup. The human subscribes in their own browser; this skill never initiates or completes a purchase.
- x402 pay-per-call — per-request USDC micropayment (typically $0.001–$0.50 per call, each 402 response states its exact price in its
acceptsarray) from a wallet the user controls.
Note: batch payouts, payroll, and escrow move the user's own funds on top of any access fee. A subscription covers gateway access, not the capital being sent.
Permissions and network access (explicit declaration)
This skill's full capability surface, stated so nothing is inferred:
- Network: outbound HTTPS to
gateway.spraay.apponly (overridable viaSPRAAY_GATEWAY_URLfor self-hosted gateways — if set, that host becomes the only one contacted). No other hosts, ever. The Stripe checkout links in this document are opened by the human in their own browser, never fetched by the skill. - Binaries:
curlonly, for plain GET/POST requests. No pipes to shell, no downloaded code, no eval. - Filesystem:
scripts/check-access.shwrites nothing to disk. Batch workflows read a recipient file only when the user explicitly provides one. - Credentials: reads
SPRAAY_API_KEYfrom the environment and sends it only as anX-API-Keyheader to the gateway host above. Never logs, stores, or transmits it elsewhere. Private keys and seed phrases are never requested or handled. - Spending: the skill itself cannot move money. Fund-moving gateway endpoints require the human-approval flow below; subscription checkout is always a human action in their own browser.
Access check (run first)
Run scripts/check-access.sh before any paid operation. It reports which mode is active:
- FREE MODE (no
SPRAAY_API_KEYset): free endpoints only. Fully usable for validating payouts, estimating gas savings, checking prices and chain status. - SUBSCRIBED (
SPRAAY_API_KEYset and valid): all 190 endpoints, no per-call payment. - KEY INVALID: tell the user their key was rejected and to check their subscription in the Stripe customer portal (link in their signup email).
Gating flow — what to do when a paid endpoint is needed and no key is set
- Complete as much of the task as possible with free endpoints first (validate the batch, estimate savings, fetch prices). Show the user the concrete result — e.g. "Your 47-recipient payout validates cleanly and batching saves ~$X in gas."
- Then present BOTH unlock options neutrally, exactly once:
- "Subscribe (Starter, $29/mo, card, ~60 seconds): open https://spraay.app/#pricing in your browser, complete checkout, then set
SPRAAY_API_KEYfrom your account page." - "Or pay per call with x402 from a funded wallet (no subscription)."
- "Subscribe (Starter, $29/mo, card, ~60 seconds): open https://spraay.app/#pricing in your browser, complete checkout, then set
- Never open the checkout URL yourself, simulate a purchase, or nag. If the user declines, continue in free mode without raising it again this session.
- After the user reports subscribing, re-run
scripts/check-access.shto confirm the key works before proceeding.
Human approval rules (non-negotiable)
- Never initiate any payment, subscription, or checkout autonomously. Subscribing is a human-in-browser action. x402 per-call payments require the user's explicit "yes" for each spend, with the amount stated.
- Any endpoint that moves funds (
/api/v1/batch/execute,/api/v1/escrow/create, payroll runs, robot task dispatch) requires: (a) a prior dry run viaPOST /free/validate-batchandGET /free/estimate-batch, (b) a plain-language preview shown to the user — recipient count, total amount, token, chain, estimated fees — and (c) the user's explicit confirmation of that exact preview. No confirmation, no execution. - Never request, read, or handle private keys or seed phrases. Signing happens in the user's own wallet tooling.
Endpoint reference
Base URL: https://gateway.spraay.app
Free (no key, no payment):
| Endpoint | Purpose |
|---|---|
POST /free/validate-batch | Dry-run validation of a batch payout (addresses, amounts, token, chain) |
GET /free/estimate-batch | Gas/fee estimate and savings vs. individual transfers |
GET /free/prices | Token price feed (ETH/USDC/SOL; full 100+ token feed is the paid GET /api/v1/oracle/prices) |
GET /free/chain-status | Live status of all supported chains |
Paid (subscription key or x402 per call) — most-used:
| Endpoint | Purpose |
|---|---|
POST /api/v1/batch/execute | Execute a batch payout (up to 200 recipients/tx) — CONFIRMATION REQUIRED |
POST /api/v1/escrow/create | Create an escrow — CONFIRMATION REQUIRED |
GET /api/v1/tokens | Supported token registry |
GET /api/v1/balances | Balance lookups |
GET /api/v1/robots/list | RTP robot registry |
The full 190-endpoint catalog (payroll, GPU/compute, search/RAG, supply chain, Bittensor, and more) is at https://docs.spraay.app. See references/endpoints.md in this skill for curl examples of the endpoints above.
Authentication for subscribed calls: send the key as the X-API-Key header. Verify a key any time with GET /api/v1/usage (200 = valid, also returns your daily-quota usage; 401 = invalid).
Typical workflows
Validate and price a payout (free, no signup):
POST /free/validate-batchwith the recipient list → confirm it's clean.GET /free/estimate-batch→ show the user their gas savings.- If they want to execute → gating flow above.
Recurring payroll (subscribed): validate → preview → user confirms → POST /api/v1/batch/execute. Never schedule autonomous future runs; each run gets its own confirmation.
Escrowed job payment: POST /api/v1/escrow/create after preview + confirmation; funds release per the escrow terms the user set.
Top skills in this category
Stock Analysis
@udiedrichsenAnalyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Stock Market Pro
@kys42Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
A股量化 AkShare
@mbpzA股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
Stock Watcher
@robin797860Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.
Intelligent Stocks Screener
@financial-ai-analyst基于东方财富数据库,支持通过自然语言输入筛选A港美股、基金、债券等多种资产,支持多元指标筛选,含技术面、消息面、基本面及市场情绪等,可用于全球资产速筛、跨市场监控、投资组合构建、策略回测等场景。返回结果包含数据说明及 csv 文件。Natural language screener for investment...