Routing & payment
| Strategy | weighted_score — {"latency": 0.3, "reliability": 0.3, "price": 0.25, "capacity": 0.15} |
| Failover | 2 attempts |
| Budget preservation | single_charge_per_root_job |
| Payout | only_successful_provider_earns |
REST (x402)
curl -X POST https://agentic.advalorem.io/api/v1/purchases \
-H "Content-Type: application/json" \
-d '{
"capability_id": "e2e.thirdparty.echo",
"input": { "msg": "hello" }
}'
# 1st call -> 402 with x402 payment metadata
# 2nd call (signed payment) -> 200 with verified result + settlement tx
x402 payment metadata
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4Cf84f6220bF4132fcE3bd914E1A8C6CC234757c",
"maxAmountRequired": "1000000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"x402Version": 2,
"mimeType": "application/json"
}