Compact Transaction Identifier (CTID) Tool
Encode and decode XRP Ledger Compact Transaction Identifiers (CTIDs)
Decode CTID
Enter a CTID to decode it into its components
Encode CTID
Enter transaction details to generate a CTID
About CTIDs
What is a CTID?
A Compact Transaction Identifier (CTID) is a 64-bit identifier that uniquely identifies a validated transaction across any XRPL network. Unlike transaction hashes, CTIDs are network-aware and include the ledger index and transaction position.
CTID Structure
- • 4 bits: Prefix nibble (C, D, E, or F)
- • 28 bits: Ledger index where the transaction was validated
- • 16 bits: Transaction index within the ledger
- • 16 bits: Network ID identifying the network
When to Use CTIDs
CTIDs are ideal for cross-network transaction references, sidechain interactions, and when you need a more compact identifier than a full transaction hash. They're particularly useful in e-commerce applications and for transaction syncing across different XRPL networks.