Skip to content
Fourohtwo

iot.halowerk.com/v1/edge-compute-bid

Filters caller-supplied bids by CPU, memory and latency constraints, computes workload cost from quoted unit prices, and ranks feasible candidates by total cost then latency. It does not contact providers, attest hardware or place a bid.

BaseAnswering
POSThttps://iot.halowerk.com/v1/edge-compute-bid

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://iot.halowerk.com/v1/edge-compute-bid", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"candidates":[{"available_cpu_seconds":300,"available_memory_gb_seconds":1000,"latency_ms":24,"price_per_cpu_second":0.00002,"price_per_memory_gb_second":0.000004,"provider":"edge-a"},{"available_cpu_seconds":1000,"available_memory_gb_seconds":1000,"latency_ms":41,"price_per_cpu_second":0.000015,"price_per_memory_gb_second":0.000006,"provider":"edge-b"}],"cpu_seconds":120,"max_latency_ms":50,"mem),
});
console.log(await res.json());

Example input

{"candidates":[{"available_cpu_seconds":300,"available_memory_gb_seconds":1000,"latency_ms":24,"price_per_cpu_second":0.00002,"price_per_memory_gb_second":0.000004,"provider":"edge-a"},{"available_cpu_seconds":1000,"available_memory_gb_seconds":1000,"latency_ms":41,"price_per_cpu_second":0.000015,"price_per_memory_gb_second":0.000006,"provider":"edge-b"}],"cpu_seconds":120,"max_latency_ms":50,"mem