machine.soundiq.io/storefront/v1/capabilities/hash.compute/1.0.0/invoke
Compute a SHA-256 digest for customer-supplied UTF-8 or base64-decoded bytes through a stable machine endpoint. Returns the reproducible digest through a receipted external execution.
POST
https://machine.soundiq.io/storefront/v1/capabilities/hash.compute/1.0.0/invokeUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://machine.soundiq.io/storefront/v1/capabilities/hash.compute/1.0.0/invoke", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"consumer_id":"example-agent","data":"bluecap-marketplace-test","encoding":"utf-8","invocation_context":{}}),
});
console.log(await res.json());Example input
{
"consumer_id": "example-agent",
"data": "bluecap-marketplace-test",
"encoding": "utf-8",
"invocation_context": {}
}