Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Utility → Encode X-Address

AI-generated

Summary

Encodes an XRP classic address and destination tag as an X-Address using the selected network.

Inputs

  • Blockchain Type — Defaults to EVM in the UI, but the encode implementation uses XRP fields and a fixed XRP blockchain path.
  • Network (required) — XRP network to encode for: mainnet or testnet.
  • Classic Address (required) — XRP classic address to encode.
  • Tag — Optional destination tag; defaults to 0 and is sent as a required address-tag path segment.

Output shape

a single record

Returns the unwrapped single item from the API response. The request is a GET to the XRP encode-x-address endpoint, with the classic address and tag in the path.

Links

Discussion