$AI on HyperEVM
Quote and build unsigned buy/sell transactions for $AI on its HyperEVM bonding curve. No keys held.
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- LOW在 ai_build_sell_tx 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"agent-rail": {
"url": "https://thetickeris.ai/mcp"
}
}
}遠端端點
https://thetickeris.ai/mcpstreamable-http它能做什麼
工具清單
工具(5)
🟢ai_market
Read-only snapshot of the $AI/HYPE AiCurve: price, sold, retired, circulating, reserve, supply, sell fee (read live from chain), contracts, chain id, rpc, and the fee/no-guarantee disclosure. Takes no amount; for a price on a specific amount use ai_quote_buy (the recommended first call) or ai_quote_sell.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"chainId": {
"type": "integer"
},
"rpc": {
"type": "string"
},
"contracts": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"curve": {
"type": "string"
}
},
"required": [
"token",
"curve"
]
},
"priceHype": {
"type": "string"
},
"priceHypeWei": {
"type": "string"
},
"sold": {
"type": "string"
},
"retired": {
"type": "string"
},
"circulating": {
"type": "string"
},
"supply": {
"type": "string"
},
"reserveHype": {
"type": "string"
},
"sellFeeBps": {
"type": "integer"
},
"disclosure": {
"type": "string"
}
},
"required": [
"chainId",
"rpc",
"contracts",
"priceHype",
"sold",
"supply",
"sellFeeBps",
"disclosure"
]
}🟢ai_quote_buy(hype)
Recommended first call for a new agent: quote how much $AI a given amount of HYPE buys right now, before slippage. Read-only, no wallet needed, no key, no transaction. To buy it for real, call ai_build_buy_tx next with the same hype amount.
輸入結構描述
{
"type": "object",
"properties": {
"hype": {
"type": "string",
"description": "HYPE amount as a decimal string, e.g. \"1.5\" (max 10000)"
}
},
"required": [
"hype"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"tokensOut": {
"type": "string"
},
"disclosure": {
"type": "string"
}
},
"required": [
"tokensOut",
"disclosure"
]
}🟢ai_quote_sell(ai)
Quote how much HYPE a given amount of $AI returns right now, net of the on-chain sell fee. Use it to preview a sell; it returns no transaction. To get the calldata, call ai_build_sell_tx with the same ai amount.
輸入結構描述
{
"type": "object",
"properties": {
"ai": {
"type": "string",
"description": "$AI amount as a decimal string, e.g. \"1000\" (max 1000000000)"
}
},
"required": [
"ai"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"hypeOut": {
"type": "string"
},
"disclosure": {
"type": "string"
}
},
"required": [
"hypeOut",
"disclosure"
]
}🟢ai_build_buy_tx(hype, slippage_bps, from)
Build an unsigned buy transaction against the AiCurve contract. Returns calldata only; the caller signs and sends it. Includes an estimated gas limit when `from` is given. The minimum $AI out is the live quote minus slippage_bps, so a price move past that tolerance makes the tx revert instead of filling worse. Use ai_quote_buy to preview without building; use ai_build_sell_tx to sell.
輸入結構描述
{
"type": "object",
"properties": {
"hype": {
"type": "string",
"description": "HYPE amount to spend, decimal string, max 10000"
},
"slippage_bps": {
"type": "integer",
"description": "Slippage tolerance in basis points, 0-5000, default 200"
},
"from": {
"type": "string",
"description": "0x sender address; when given the tx includes a gas estimate"
}
},
"required": [
"hype"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"tx": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
},
"data": {
"type": "string"
},
"gas": {
"type": "string"
},
"from": {
"type": "string"
}
},
"required": [
"chainId",
"to",
"value",
"data"
]
},
"quote": {
"type": "object",
"properties": {
"tokensOut": {
"type": "string"
},
"minTokensOut": {
"type": "string"
},
"slippageBps": {
"type": "integer"
}
},
"required": [
"tokensOut",
"minTokensOut",
"slippageBps"
]
},
"disclosure": {
"type": "string"
}
},
"required": [
"tx",
"quote",
"disclosure"
]
}🟢ai_build_sell_tx(ai, from, slippage_bps)
Build the unsigned transaction(s) to sell $AI: an approve first if allowance is insufficient, then the sell. Returns calldata only; the caller signs and sends, in order. When an approve is included, send the sell after the approve is mined and estimate its gas then. The minimum HYPE out is the net quote minus slippage_bps. Use ai_quote_sell to preview without building; use ai_build_buy_tx to buy.
輸入結構描述
{
"type": "object",
"properties": {
"ai": {
"type": "string",
"description": "$AI amount to sell, decimal string, max 1000000000"
},
"from": {
"type": "string",
"description": "0x seller address, required to check allowance and estimate gas"
},
"slippage_bps": {
"type": "integer",
"description": "Slippage tolerance in basis points, 0-5000, default 200"
}
},
"required": [
"ai",
"from"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object",
"properties": {
"step": {
"type": "string",
"enum": [
"approve",
"sell"
]
},
"tx": {
"type": "object",
"properties": {
"chainId": {
"type": "string"
},
"to": {
"type": "string"
},
"value": {
"type": "string"
},
"data": {
"type": "string"
},
"gas": {
"type": "string"
},
"from": {
"type": "string"
}
},
"required": [
"chainId",
"to",
"value",
"data"
]
},
"note": {
"type": "string"
}
},
"required": [
"step",
"tx"
]
}
},
"quote": {
"type": "object",
"properties": {
"hypeOut": {
"type": "string"
},
"minHypeOut": {
"type": "string"
},
"slippageBps": {
"type": "integer"
}
},
"required": [
"hypeOut",
"minHypeOut",
"slippageBps"
]
},
"disclosure": {
"type": "string"
}
},
"required": [
"steps",
"quote",
"disclosure"
]
}社群
證據