getWalletBotInfo
获取钱包机器人信息。
请求
GET /:token/getwalletbotinfo
POST /:token/getwalletbotinfo
本方法同时支持 GET 和 POST 请求。
参数
无需任何参数。
响应
返回钱包机器人信息对象。
json
{
"ok": true,
"result": {
"bot_id": 123456789,
"bot_name": "WalletBot",
"wallet_address": "0xabcdef1234567890abcdef1234567890abcdef12",
"supported_currencies": ["USDT", "BTC", "ETH"],
"is_active": true
}
}错误码
| 错误码 | 描述 |
|---|---|
| 401 | Token 无效或已过期 |
| 403 | 该 Bot 非钱包机器人 |
| 500 | 服务器内部错误 |
