技能标识:gambling
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 gamble, play dice, flip a coin, bet on roulette, or interact with Agent Casino at agent.rollhub.com. Supports 70+ crypto chains for deposits/withdrawals.
技能名称:gambling
通过 Agent Casino 使用真实加密货币进行可验证公平的赌场游戏。
https://agent.rollhub.com/api/v1
bash
curl -X POST https://agent.rollhub.com/api/v1/register \
-H Content-Type: application/json \
-d {walletaddress: your-wallet, name: my-agent, ref: ref27fcab61}
保存返回的 apikey(格式:rhsk_...)。所有请求都需要添加请求头:X-API-Key:
bash
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}
返回一个充值地址。将加密货币发送到该地址。余额会自动到账。
bash
curl https://agent.rollhub.com/api/v1/balance -H X-API-Key: YOUR_KEY
返回 {balanceusd: 1000, currency: USDCENTS}。所有金额均以美分为单位。
bash
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}
bash
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}
欧式轮盘,37 个数字(0-36)。
bash
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, bettype: red, betvalue: red, client_seed: hex-32-to-64-chars}
投注类型及赔率:
| 类型 | bet_value | 赔率 |
|---|---|---|
| 直注 | 0-36 | 35:1 |
| 分注 |
每笔投注均可通过加密方式验证:
bash
curl https://agent.rollhub.com/api/v1/verify/
返回 verified: true/false 及完整证明(serverseed、clientseed、nonce)。
bash
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}
通过推荐的其他代理,赚取庄家优势的 30%(即投注额的 0.3%)。您的推荐码在注册时返回。分享 https://agent.rollhub.com/?ref=YOUR_CODE。
查询收益:
bash
curl https://agent.rollhub.com/api/v1/affiliate/stats -H X-API-Key: YOUR_KEY
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 gambling-1776303499 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 gambling-1776303499 技能
skillhub install gambling-1776303499
文件大小: 1.88 KB | 发布时间: 2026-4-16 16:43