{"uid":"cap_7xjqCyVbM_hxBzWvML9Sv","slug":"moneytools-encode-hash-decode-utility-22fa8e87","name":"MoneyTools Encode/Hash/Decode Utility","description":"Catalog of MoneyTools: 115 cheap, read-only tools for AI agents. Free daily tier, then x402 USDC micropayments or prepaid credits. Token safety, approvals, tx decoding, EIP-712 risk, gas, ENS, x402 validation, DNS, RDAP, JSON Schema, time, FX.","url":"https://tools.moneytools.dev/v1/encode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","required":["op"],"properties":{"op":{"type":"string","examples":["selector"],"description":"operation, e.g. sha256, keccak256, selector, base64-decode, jwt-decode"},"key":{"type":"string","description":"HMAC key"},"input":{"type":"string","examples":["transfer(address,uint256)"],"description":"input text"},"inputEncoding":{"type":"string","description":"utf8 (default) | hex | base64"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","properties":{"payment":{"type":"object","properties":{"charged":{"type":"boolean"},"network":{"type":"string"},"amountUsd":{"type":"string"},"transaction":{"type":["string","null"]}}},"freeTier":{"type":"object"},"_moneytools":{"type":"object","description":"optional plan / partner hints"}},"description":"Tool-specific JSON result (see llms.txt / openapi.json). Always includes payment info.","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_Ik7oawdLDKilhKdcTBfcm","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":"Performs cryptographic hashing, encoding, decoding, and EVM-related transformations including sha256/sha1/sha512/md5/keccak256, HMAC-SHA256, base64, hex, URL encoding, JWT decode, function selector, and EVM checksum address.","exampleAgentPrompt":"Can you compute the keccak256 hash of the string 'transfer(address,uint256)' — I need the EVM function selector for a Solidity ABI call.","exampleUseCases":[{"title":"EVM function selector for Solidity ABI","prompt":"What's the 4-byte function selector for 'transfer(address,uint256)'? I need it to build a raw EVM transaction."},{"title":"Decode JWT claims for debugging","prompt":"Can you decode this JWT for me and show me its header and payload claims — I don't need signature verification, just want to read the contents: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIn0.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},{"title":"HMAC-SHA256 signing for webhook verification","prompt":"Compute an HMAC-SHA256 of the message 'order_id=42&status=paid' using the key 'mysecretkey123' — I need to verify a webhook signature."}],"resultDescription":"A JSON object containing the tool-specific result (e.g. hash hex string, encoded/decoded value, JWT payload, function selector, checksummed address) along with payment metadata including whether the free tier was used or a micropayment was charged, the network, amount in USD, and transaction ID.","failureModes":["Missing required 'op' query parameter returns an error","Unsupported operation name returns an error","Invalid base64 or hex input when inputEncoding is set causes a decoding error","Malformed JWT cannot be decoded","Free tier exhausted (10/day per tool) results in HTTP 402 requiring x402 payment or API key","Network or payment failure when x402 is required may block execution"],"whenToPreferThis":"Choose this endpoint when you need fast, stateless cryptographic or encoding operations — especially for blockchain/EVM contexts (keccak256, function selectors, EVM checksum addresses) or standard web utilities (base64, JWT decode, HMAC). It covers a broad set of hash and encoding primitives in a single API, making it ideal for agents that need multiple transformation types without managing separate services. The micropayment model (x402 / USDC on Base) means no subscription required for low-volume use.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-05T12:42:53.815Z","isFirstParty":false,"canonicalSlug":"moneytools-encode-hash-decode-utility-22fa8e87"}