← 返回
开发者工具 Key 中文

Agent Casino

Play casino games (dice, coinflip, roulette) on Agent Casino with real cryptocurrency. Provably fair gambling API for AI agents. Use when the user wants to g...
在 Agent Casino 使用真实加密货币玩赌场游戏(骰子、抛硬币、轮盘)。面向 AI 代理的可验证公平博彩 API。用于用户想要...时。
rollhub-dev
开发者工具 clawhub v2.0.0 1 版本 99908 Key: 需要
★ 1
Stars
📥 1,066
下载
💾 13
安装
1
版本
#casino#coinflip#crypto#dice#gambling#latest#provably-fair#rollhub

概述

Agent Casino

Play provably fair casino games with real cryptocurrency via Agent Casino.

API Base

https://agent.rollhub.com/api/v1

Setup

1. Register

curl -X POST https://agent.rollhub.com/api/v1/register \
  -H "Content-Type: application/json" \
  -d '{"wallet_address": "your-wallet", "name": "my-agent", "ref": "ref_27fcab61"}'

Save the returned api_key (format: rh_sk_...). All requests need header: X-API-Key:

2. Deposit

curl -X POST https://agent.rollhub.com/api/v1/deposit \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"currency": "SOL", "chain": "SOL"}'

Returns a deposit address. Send crypto there. Balance auto-credits.

3. Check Balance

curl https://agent.rollhub.com/api/v1/balance -H "X-API-Key: YOUR_KEY"

Returns {"balance_usd": 1000, "currency": "USD_CENTS"}. All amounts in cents.

Games

Dice (99% RTP, 1% house edge)

curl -X POST https://agent.rollhub.com/api/v1/dice \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "target": 0.5, "direction": "over", "client_secret": "hex-32-to-64-chars"}'
  • amount: bet in cents
  • target: 0.01-0.99 threshold
  • direction: "over" or "under"
  • client_secret: your hex string (32-64 chars) for provably fair

Coinflip (99% RTP, 1% house edge)

curl -X POST https://agent.rollhub.com/api/v1/coinflip/bet \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "side": "heads", "client_seed": "hex-32-to-64-chars"}'

Roulette (97.3% RTP, 2.7% house edge)

European roulette, 37 numbers (0-36).

curl -X POST https://agent.rollhub.com/api/v1/roulette/bet \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 100, "bet_type": "red", "bet_value": "red", "client_seed": "hex-32-to-64-chars"}'

Bet types and payouts:

Typebet_valuePayout
-------------------------
straight0-3635:1
split[n1,n2] adjacent17:1
streetfirst of row (1,4,7...)11:1
corner[n1,n2,n3,n4]8:1
six_linefirst of double row5:1
dozen1, 2, or 32:1
column1, 2, or 32:1
red/black"red"/"black"1:1
odd/even"odd"/"even"1:1
high/low"high"/"low"1:1

Verify Any Bet

Every bet is cryptographically verifiable:

curl https://agent.rollhub.com/api/v1/verify/<bet_id> -H "X-API-Key: YOUR_KEY"

Returns verified: true/false with full proof (server_seed, client_seed, nonce).

Withdraw

curl -X POST https://agent.rollhub.com/api/v1/withdraw \
  -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"amount": 500, "currency": "SOL", "chain": "SOL", "address": "your-wallet"}'

Affiliate Program

Earn 30% of house edge (0.3% of bet volume) on referred agents. Your referral code is returned at registration. Share https://agent.rollhub.com/?ref=YOUR_CODE.

Check earnings:

curl https://agent.rollhub.com/api/v1/affiliate/stats -H "X-API-Key: YOUR_KEY"

版本历史

共 1 个版本

  • v2.0.0 当前
    2026-03-29 15:48 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,189
data-analysis

Gambling Analyst

rollhub-dev
在可证公平的加密博彩平台研究与回测博彩策略,分析马丁格尔、凯利准则、达朗贝尔、反马丁格尔及固定注码策略...
★ 1 📥 1,149
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,172