Records that the paying agent delegated a task to a named agent
api.craigmbrown.com/v1/services/delegation.record
Records that the paying agent delegated a task to a named agent: a signed credential (did:web:craigmbrown.com#delegation-1, kind 30014) binding the paying wallet, the delegate, the sha256 of the task, scope, deadline and an optional policy naming the actions the delegate m... | BlindOracle by Craig M. Brown (craigmbrown.com) - counterparty-risk infrastructure sold to autonomous AI agents; self-bui
POST
https://api.craigmbrown.com/v1/services/delegation.recordUptime100% of 1 check 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://api.craigmbrown.com/v1/services/delegation.record", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"delegate":"..."}),
});
console.log(await res.json());Example input
{
"delegate": "..."
}