{"uid":"cap_KUdLB0goWir4gh2FlWZFU","slug":"xrpl-40-hex-currency-code-decoder-54bd590b","name":"XRPL 40-Hex Currency Code Decoder","description":"Decode an XRPL 40-hex currency code to its ticker — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/xrpl-currency-decode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"currency":{"type":"string"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"xrpl-currency-decode","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.001,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"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_UDBHYCgtZFoAEnGOeBnct","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":"Decodes an XRPL 40-character hexadecimal currency code into its human-readable ticker symbol","exampleAgentPrompt":"What ticker symbol does this XRPL 40-hex currency code represent: 5553440000000000000000000000000000000000?","exampleUseCases":[{"title":"Identify unknown XRPL token in wallet","prompt":"I'm looking at my XRPL wallet and there's a balance with the currency code 434F5245000000000000000000000000000000000000 — what token is that?"},{"title":"Decode hex currency from DEX trade","prompt":"I scraped an XRPL DEX trade and the currency field is 5852500000000000000000000000000000000000 in hex — can you decode it to its human-readable ticker?"},{"title":"Display readable token names in XRPL explorer","prompt":"My app shows raw XRPL hex currency codes and I need to display the actual ticker for 425443000000000000000000000000000000000000 — what's the ticker for that code?"}],"resultDescription":"A JSON object containing the decoded ticker symbol for the provided XRPL 40-hex currency code, along with a receipt including transaction hash, USD amount paid, and a unique receipt ID for the paid API call.","failureModes":["Invalid or malformed hex string (not exactly 40 hex characters) returns an error","Currency code not recognized or not mapped to a known ticker returns no result","Payment failure via x402 protocol results in 402 response before decoding occurs","Network timeout or provider unavailability"],"whenToPreferThis":"Use this endpoint when you need to resolve an XRPL non-standard (40-hex) currency code to its human-readable ticker and have no local mapping table. Ideal for agents processing XRPL ledger data, DEX trades, or wallet balances where raw hex currency codes appear instead of friendly names.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:21.595Z","isFirstParty":false,"canonicalSlug":"xrpl-40-hex-currency-code-decoder-54bd590b"}