Skip to content
Fourohtwo

Compute keccak256 (the EVM/Solidity hash

402.com.tr/api/x402/hash

Compute keccak256 (the EVM/Solidity hash — event topics, function selectors, mapping keys) or sha256 of any input. Pass input=text for UTF-8, or 0x-hex to hash raw bytes; algo=keccak256 (default) or sha256. Returns the digest and, for keccak, the 4-byte function selector. Pure compute, no chain, sub-cent — the commodity hashing call the whole x402 ecosystem hammers, served at the floor. Not financ

BaseSolanaAnswering
GEThttps://402.com.tr/api/x402/hash

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://402.com.tr/api/x402/hash?algo=keccak256&input=Transfer%28address%2Caddress%2Cuint256%29");
console.log(await res.json());

Example input

{
  "algo": "keccak256",
  "input": "Transfer(address,address,uint256)"
}

More from HashProvider status