AI compute oracle · BOT Chain · block 32171224
| # | Requester | Model | Fee | Status | Age | Tx |
|---|---|---|---|---|---|---|
| 146 | 0xb8a5…Dd03 | echo:v1 | 0.01 | Fulfilled | 149h ago | 0xea10…281e |
| 145 | 0xb8a5…Dd03 | echo:v1 | 0.01 | Fulfilled | 340h ago | 0x6a70…665c |
| 144 | 0xb8a5…Dd03 | echo:v1 | 0.01 | Fulfilled | 455h ago | 0xc2dd…f20f |
| 143 | 0xaf59…C599 | echo:v1 | 0.01 | Fulfilled | 1117h ago | 0xbe84…ffa1 |
| 142 | 0x5C74…E1cF | 0x3930…bfc6 | 0.018 | Fulfilled | 1193h ago | 0x1ab1…bfa4 |
| 141 | 0xe560…7B65 | 0xe97c…8dce | 0.018 | Fulfilled | 1218h ago | 0x5582…6d78 |
| 140 | 0x5C74…E1cF | 0x3930…bfc6 | 0.018 | Fulfilled | 1219h ago | 0x0ed4…f695 |
| 139 | 0x3a15…B755 | 0xc768…1e3f | 0.018 | Fulfilled | 1219h ago | 0x00b1…6b02 |
| 138 | 0xD196…AbDC | 0xd971…787e | 0.018 | Fulfilled | 1219h ago | 0x9aa5…badb |
| 137 | 0x90b2…7559 | 0xd3fd…5f14 | 0.018 | Fulfilled | 1219h ago | 0x569e…7802 |
HTTP gateway · one call, on-chain round trip (run your own: gateway/ in the repo):
curl -X POST http://localhost:8791/v1/query \
-H 'content-type: application/json' \
-H 'x-api-key: <issued-key>' \
-d '{"model":"echo:v1","prompt":"hello"}'JS SDK (registry publish pending; install from the repo tarball):
npm i https://raw.githubusercontent.com/DruxAMB/bot-oracle/main/dist/bot-oracle-sdk-0.1.1.tgzimport { OracleClient } from "@bot-oracle/sdk";
const o = new OracleClient({ rpcUrl, chainId: 677, coordinator, models, signer });
const value = await o.priceOf(OracleClient.modelId("echo:v1"));
const { requestId } = await o.request({ modelId: OracleClient.modelId("echo:v1"), prompt: "hello", value });
await o.awaitResult(requestId);
const text = await o.getResult(requestId);