{"uid":"cap_IxnWxbSwiMjm4ewMUYozK","slug":"finmath-keccak256-hash-ae210268","name":"finmath Keccak256 Hash","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/keccak256","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"input"},"encoding":{"type":"string","description":"encoding"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"input":"Transfer(address,address,uint256)"},"response":{"meta":{"tool":"keccak256","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":{"hash":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"}}},"exampleRequest":{"input":"Transfer(address,address,uint256)"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8f39bcMIDdY_yg2q8vqkz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Keccak-256 cryptographic hash of an input string, as used in Ethereum and other EVM-compatible blockchains.","exampleAgentPrompt":"Compute the Keccak-256 hash of the string 'Transfer(address,address,uint256)' so I can get the Ethereum event topic hash.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'result' field containing the keccak256 hash (typically as a hex string) of the provided input, along with a 'meta' object with call metadata.","failureModes":["Missing required 'input' field returns validation error","Invalid encoding value may cause a processing error","Empty string input may return the keccak256 of empty bytes","Network timeout from Cloudflare Worker edge"],"whenToPreferThis":"Use this endpoint when you need a deterministic, exact Keccak-256 hash — especially for Ethereum ABI signatures, event topics, or any EVM-compatible hashing — without relying on an LLM's error-prone arithmetic or a local crypto library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:34:20.035Z","isFirstParty":false}