Integration guide

Integrate XRPSCAN in your application.

Do you work at a Bank, Financial Institution or a Cryptocurrency Exchange? Its easy to integrate XRPSCAN in your application. We support deep links for accounts, transactions, ledgers, amendments, NFTs and validator nodes. All pages support desktop as well as mobile layouts.

Account

To link to an account, construct a URL like this:

https://xrpscan.com/account/{ACCOUNT}

https://xrpscan.com/account/rGeyCsqc6vKXuyTGF39WJxmTRemoV3c97h

ACCOUNT in the XRP Ledger is identified by an address in the Base58 format. An account address has the following properties:

  • A string of length between 25 to 35 characters.

  • Starts with the character r.

  • Is case sensitive.

  • Uses alphanumeric characters, excluding the number 0 capital letter O, capital letter I, and lowercase letter l.

Transaction

To link to an transaction, construct a URL like this:

https://xrpscan.com/tx/{TRANSACTION_HASH}

https://xrpscan.com/tx/5A9E938DB7DA6193446A383898C7A66518E9FCE65DFFD82DF0B7E65844F3EB61

TRANSACTION_HASH in the XRP Ledger is identified by a 64 characters long string. A transaction hash has the following properties:

  • A string exactly 64 characters in length.

  • Hex character set: 0-9 and A-F.

  • Not case sensitive, but typically written in upper case letters.

Ledger

To link to a Transaction, construct a URL like this:

https://xrpscan.com/ledger/{LEDGER_INDEX}

https://xrpscan.com/ledger/81234567

LEDGER_INDEX in the XRP Ledger is identified by a 32 bit unsigned integer. string. A ledger index has the following properties:

  • A number between 32,570 and 4,294,967,295.

  • Must be less than the last closed ledger index.

NFT

To link to a NFT, construct a URL like this:

https://xrpscan.com/nft/{NFTOKEN_ID}

https://xrpscan.com/nft/000B00004B50699E253C5098DEFE3A0872A79D129172F4965B974D9E00000004

NFTOKEN_ID in the XRP Ledger is identified by a 64 characters long string. A NFToken ID has the following properties:

  • A string exactly 64 characters in length.

  • Hex character set: 0-9 and A-F.

Validator

To link to a Validator, construct a URL like this:

https://xrpscan.com/validator/{VALIDATOR_PUBLIC_KEY}

https://xrpscan.com/validator/nHDB2PAPYqF86j9j3c6w1F1ZqwvQfiWcFShZ9Pokg9q4ohNDSkAz

VALIDATOR_PUBLIC_KEY in the XRP Ledger is identified by upto 53 characters long string in Base68 format. A Validator public key has the following properties:

  • A string in Base58, upto 53 characters in length.

  • Starts with the character n, commonly followed by H.

  • Is case sensitive.

  • Uses alphanumeric characters, excluding the number 0 capital letter O, capital letter I, and lowercase letter l.

Amendment

To link to an Amendment, construct a URL like this:

https://xrpscan.com/amendment/{AMENDMENT_ID}

https://xrpscan.com/amendment/30CD365592B8EE40489BA01AE2F7555CAC9C983145871DC82A42A31CF5BAE7D9

AMENDMENT_ID in the XRP Ledger is identified by upto 64 charcters long string. An Amendment ID has the following properties:

  • A string exactly 64 characters in length.

  • Hex character set: 0-9 and A-F.

  • Case sensitive.

Last updated