Source and Destination Tags (2024)

Table of Contents
Rationale Use Cases See Also

Last updated

Edit

Source tags and destination tags are a feature of XRP Ledger payments that can indicate specific purposes for payments from and to multi-purpose addresses. Source and destination tags do not have direct on-ledger functionality; source and destination tags merely provide information about how off-ledger systems should process a payment. In transactions, both source and destination tags are formatted as 32-bit unsigned integers.

Destination tags indicate the beneficiary or destination for a payment. For example, a payment to an exchange or stablecoin issuer address can use a destination tag to indicate which customer to credit for the amount of the payment in that business's own systems. A payment to a merchant could indicate what item or cart the payment is buying.

Source tags indicate the originator or source of a payment. Most commonly, a Source Tag is included so that the recipient of the payment knows where to send a return, or "bounced", payment. When returning an incoming payment, you should use the source tag from the incoming payment as the destination tag of the outgoing (return) payment.

The practice of giving customers the ability to send and receive transactions from your XRP Ledger address using another interface is called providing hosted accounts. Hosted accounts typically use source and destination tags for each customer.

Tip: An X-address combines a classic address with a tag into a single address that encodes both. If you are showing a deposit address to customers, it may be easier for your customers to use an X-address rather than making them keep track of two pieces of information. (The tag in an X-address acts as a source tag when sending and a destination tag when receiving.)

Rationale

In other distributed ledgers, it is common to use different deposit addresses for each customer. In the XRP Ledger, an address must be a funded, permanent account to receive payments. Using this approach in the XRP Ledger wastefully consumes resources of all servers in the network, and is costly because the reserve amount must be set aside indefinitely for each address.

Source and destination tags provide a more lightweight way to map deposits and payments to individual customers.

Use Cases

A business may want to use source and destination tags for several purposes:

  • Direct mappings to customer accounts.
  • Matching return payments to the outgoing payments that prompted them.
  • Mapping payments to quotes that expire.
  • Providing disposable tags that customers can generate for specific deposits.

To prevent overlap while protecting privacy, a business can divide the total range of tags available into sections for each purpose, then assign tags in an unpredictable order within the range. For example, use a cryptographic hash function like SHA-256, then use the modulo operator to map the output to the size of the relevant section. To be safe, check for collisions with old tags before using a new tag.

Assigning tags in numerical order provides less privacy to customers. Since all XRP Ledger transactions are public, assigning tags in this way can make it possible to guess which tags correspond to various users' addresses or to derive information about users' accounts based on the tags used.

For an XRP Ledger address that may receive payments intended for several customer accounts, receiving a payment without a destination tag can be a problem: it is not immediately obvious which customer to credit, which can require a manual intervention and a discussion with the sender to figure out who was the intended recipient. To reduce cases like this, you can enable the RequireDest setting. That way, if a user forgets to include a destination tag in a payment, the XRP Ledger rejects their payment instead of giving you money you don't know what to do with. The user can then send the payment again, using the tag as they should have.

See Also

Previous page

Next page

Source and Destination Tags (2024)
Top Articles
Here's How to Learn a Trade and Get Hired
Use Netstat Application to See Listening Ports in Windows
Workday Latech Edu
30 Insanely Useful Websites You Probably Don't Know About
Puretalkusa.com/Amac
Apply A Mudpack Crossword
Boat Jumping Female Otezla Commercial Actress
Which Is A Popular Southern Hemisphere Destination Microsoft Rewards
LeBron James comes out on fire, scores first 16 points for Cavaliers in Game 2 vs. Pacers
The Blind Showtimes Near Showcase Cinemas Springdale
Walgreens On Nacogdoches And O'connor
Lqse-2Hdc-D
800-695-2780
Busted Barren County Ky
Procore Championship 2024 - PGA TOUR Golf Leaderboard | ESPN
All Obituaries | Buie's Funeral Home | Raeford NC funeral home and cremation
Sizewise Stat Login
If you bought Canned or Pouched Tuna between June 1, 2011 and July 1, 2015, you may qualify to get cash from class action settlements totaling $152.2 million
Espn Horse Racing Results
Lisas Stamp Studio
At&T Outage Today 2022 Map
25 Best Things to Do in Palermo, Sicily (Italy)
Rs3 Ushabti
Bocca Richboro
Haunted Mansion Showtimes Near Epic Theatres Of West Volusia
Jesus Revolution Showtimes Near Regal Stonecrest
Cor Triatriatum: Background, Pathophysiology, Epidemiology
Bolly2Tolly Maari 2
Giantbodybuilder.com
Pronóstico del tiempo de 10 días para San Josecito, Provincia de San José, Costa Rica - The Weather Channel | weather.com
Issue Monday, September 23, 2024
Advance Auto Parts Stock Price | AAP Stock Quote, News, and History | Markets Insider
South Florida residents must earn more than $100,000 to avoid being 'rent burdened'
How to Use Craigslist (with Pictures) - wikiHow
Marine Forecast Sandy Hook To Manasquan Inlet
Family Fare Ad Allendale Mi
Bay Focus
ENDOCRINOLOGY-PSR in Lewes, DE for Beebe Healthcare
Myanswers Com Abc Resources
Prior Authorization Requirements for Health Insurance Marketplace
Entry of the Globbots - 20th Century Electro​-​Synthesis, Avant Garde & Experimental Music 02;31,​07 - Volume II, by Various
Armageddon Time Showtimes Near Cmx Daytona 12
Alpha Labs Male Enhancement – Complete Reviews And Guide
Does Target Have Slime Lickers
Ehome America Coupon Code
The Many Faces of the Craigslist Killer
Gander Mountain Mastercard Login
Msatlantathickdream
Mike De Beer Twitter
Marion City Wide Garage Sale 2023
Inside the Bestselling Medical Mystery 'Hidden Valley Road'
Syrie Funeral Home Obituary
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6008

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.