SDK
SDK, fork tests, MCP
Solidity
IAsync.sol (types, IAsyncReceiver, IAsyncRouter), AsyncClient.sol, MockAsyncRouter.sol, QuickVault.sol (the sample consumer).
viem
import { createPublicClient, http, parseAbi } from "viem";
const router = "0x…"; // AsyncRouter on Elysium (published at deploy)
const abi = parseAbi([
"function receiptOf(uint256) view returns ((uint8,uint64,uint64,int64,uint64,uint64,uint8,bytes32))",
"event ReceiptPosted(uint256 indexed intentId, address indexed relayer, (uint8,uint64,uint64,int64,uint64,uint64,uint8,bytes32) receipt)",
]);
const client = createPublicClient({ transport: http("https://rpc.elysium.kinetiq.xyz") });
client.watchContractEvent({ address: router, abi, eventName: "ReceiptPosted", onLogs: console.log });HTTP API
POST /api/send | One round trip (sandbox mode today). Body {"kind":"take|sweep|post"}. |
GET /api/quote | market, side, usd: what an IOC would fill on the live book. |
GET /api/receipt?q= | An intent id or a sandbox receipt code. |
GET /api/calldata | Calldata for request(intent). |
MCP server
Keyless, Streamable HTTP, at https://asyncium.com/mcp. Tools: quote_intent, sandbox_intent, receipt, request_calldata.
claude mcp add --transport http asyncium https://asyncium.com/mcp