Skip to content
Fourohtwo

On-chain Address Profile

swishrjobs.com/v1/services/onchain-address-profile/authorize

On-chain Address Profile. Read one address's on-chain facts at a single block height: whether it has deployed bytecode (a contract) and how many bytes, its native balance, its USDC balance, and how many transactions it has sent. The block number, the block's timestamp and the RPC endpoint that answered travel with the answer, so the buyer can re-read the same block and check every figure.

BaseAnswering
POSThttps://swishrjobs.com/v1/services/onchain-address-profile/authorize

Uptime100% 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://swishrjobs.com/v1/services/onchain-address-profile/authorize", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"inputs":{"address":"0x40505Da32d7Ecbf67cFC7F2F7CBf7d33EaBe223E"},"requester":"buyer-agent","authorized_by":"buyer-agent","capability_id":"onchain-address-profile"}),
});
console.log(await res.json());

Example input

{
  "inputs": {
    "address": "0x40505Da32d7Ecbf67cFC7F2F7CBf7d33EaBe223E"
  },
  "requester": "buyer-agent",
  "authorized_by": "buyer-agent",
  "capability_id": "onchain-address-profile"
}

More from SwishrJobsProvider status