Verify an IOTA notarization
agentsvc.io/api/v1/proxy/iota-verify
Verify an IOTA notarization: give the object id or transaction digest of any notarization on the IOTA mainnet (ours or anyone's, official IOTA Notarization package) and optionally the text, SHA-256 or URL to check. Returns the stored hash or data, creation time from the ledger, lock status (can it be changed or deleted), owner, and matches true or false for your content. Read-only, no wallet neede
POST
https://agentsvc.io/api/v1/proxy/iota-verifyUptime100% 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://agentsvc.io/api/v1/proxy/iota-verify", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"hash":"bb3439622eacaa526ed0f61b628a441e4810128bb54b6925291ac4e1e265a9b1","object_id":"0xe066dc18e19ea75b0acf51c10fde1af2012e93bc42a697589c0544fef092a151"}),
});
console.log(await res.json());Example input
{
"hash": "bb3439622eacaa526ed0f61b628a441e4810128bb54b6925291ac4e1e265a9b1",
"object_id": "0xe066dc18e19ea75b0acf51c10fde1af2012e93bc42a697589c0544fef092a151"
}