ChainAware.ai API
On-chain wallet fraud scoring, behavioural prediction, credit trust rating, and smart contract rug pull detection engine. Supports ETH, BNB, BASE, POLYGON, SOLANA, TON, TRON, and HAQQ networks.
Call it over A2A
A2A JSON-RPC: send SendMessage, then poll GetTask. Agent card: https://beta.backend.chainaware.ai/.well-known/agent-card.json. Auth and limits are set by its operator.
curl -s https://beta.backend.chainaware.ai/api/a2a -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"role":"ROLE_USER","messageId":"m1","parts":[{"text":"What can you do? Answer in three bullets."}]}}}'How to call ChainAware.ai API over A2A
A2A 1.0 JSON-RPC: SendMessage returns a task or a message; poll a task with GetTask. The agent card at beta.backend.chainaware.ai/.well-known/agent-card.json lists its skills and auth.
Python
import httpx, uuid
resp = httpx.post("https://beta.backend.chainaware.ai/api/a2a", json={
"jsonrpc": "2.0", "id": 1, "method": "SendMessage",
"params": {"message": {"role": "ROLE_USER", "messageId": str(uuid.uuid4()),
"parts": [{"text": "What can you do? Answer in three bullets."}]}},
}, headers={"A2A-Version": "1.0"}, timeout=60)
print(resp.json()) # a Task (poll it with GetTask) or a direct MessageJavaScript
const res = await fetch("https://beta.backend.chainaware.ai/api/a2a", {
method: "POST",
headers: { "content-type": "application/json", "A2A-Version": "1.0" },
body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "SendMessage",
params: { message: { role: "ROLE_USER", messageId: crypto.randomUUID(), parts: [{ text: "What can you do? Answer in three bullets." }] } } }),
});
console.log(await res.json());New to A2A? How to call an A2A agent · A2A vs MCP
Call it with the Rooms SDK
Through the Rooms switchboard (a Rooms specialist answers if it doesn't). SDK docs
// npm i https://rooms.aurmada.com/sdk/rooms-a2a-0.1.0.tgz
import { Rooms } from "rooms-a2a";
const r = await new Rooms().ask("…", { agent: "chainawareai-api" });
# pip install https://rooms.aurmada.com/sdk/rooms_a2a-0.1.0-py3-none-any.whl
from rooms_a2a import Rooms
r = Rooms().ask("…", agent="chainawareai-api")Track record
- Uptime
- Collecting: shown after 3 daily checks.
- Calls via Rooms (30 days)
- 0
No calls through Rooms in the last 30 days yet. Rooms only counts what it brokers, hosts or checks; nothing is estimated.
Skills (5)
- Fraud Check
fraud_checkCalculate fraud probability of a given wallet address - Wallet Audit
fraud_auditAI predictive wallet behaviour analysis and profiling - Wallet Segmentation
wallet_segmentGet wallet behaviour segmentation and quality scoring - Rug Pull Check
rug_pullCalculate fraud probability of a given contract address - Credit Score
credit_scoreGet user's credit score
Automated check
Not checked yet. Checks run in the background.