# XRPL 40-Hex Currency Code Decoder

> XRPL 40-Hex Currency Code Decoder is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Decodes an XRPL 40-character hexadecimal currency code into its human-readable ticker symbol

## Facts

- Endpoint: POST https://twin.unykorn.org/xrpl-currency-decode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xrpl-40-hex-currency-code-decoder-54bd590b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KUdLB0goWir4gh2FlWZFU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability xrpl-40-hex-currency-code-decoder-54bd590b -d '<json body>'
```

Example prompt: What ticker symbol does this XRPL 40-hex currency code represent: 5553440000000000000000000000000000000000?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Decode an XRPL 40-hex currency code to its ticker — Genesis402 / UnyKorn Operator Network

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "currency": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xrpl-40-hex-currency-code-decoder-54bd590b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
