<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: XrpSonar</title>
    <description>The latest articles on DEV Community by XrpSonar (@xrpsonar).</description>
    <link>https://dev.to/xrpsonar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4250016%2F093236c2-b55c-48c5-8735-81a450e063be.jpg</url>
      <title>DEV Community: XrpSonar</title>
      <link>https://dev.to/xrpsonar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xrpsonar"/>
    <language>en</language>
    <item>
      <title>How to measure who is accumulating XRP from the ledger (and why a deposit to an exchange is not a sale)</title>
      <dc:creator>XrpSonar</dc:creator>
      <pubDate>Tue, 17 Nov 2026 14:04:54 +0000</pubDate>
      <link>https://dev.to/xrpsonar/how-to-measure-who-is-accumulating-xrp-from-the-ledger-and-why-a-deposit-to-an-exchange-is-not-a-25a8</link>
      <guid>https://dev.to/xrpsonar/how-to-measure-who-is-accumulating-xrp-from-the-ledger-and-why-a-deposit-to-an-exchange-is-not-a-25a8</guid>
      <description>&lt;p&gt;ost XRP "whale alerts" show you a single transfer: &lt;em&gt;50 million XRP moved from an unknown wallet to an exchange&lt;/em&gt;. Then the comments start: it must be a sale, it must be a buy, it must be nothing.&lt;/p&gt;

&lt;p&gt;A transfer alone cannot answer any of that. What it can't tell you is whether a wallet ended the week with &lt;strong&gt;more or less XRP than it started with&lt;/strong&gt;. That is a different question, and the XRP Ledger can answer it exactly.&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea: compare balances, not transfers
&lt;/h2&gt;

&lt;p&gt;Instead of counting payments, compare a wallet's balance today with its balance at a fixed point in the past. For example, today's balance against the close of a reference day, in UTC.&lt;/p&gt;

&lt;p&gt;This avoids three common traps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Round trips.&lt;/strong&gt; A wallet that sends 100M XRP out and receives 100M back looks busy in an alert feed but has a change of zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Internal moves.&lt;/strong&gt; Exchanges shuffle XRP between their own wallets all day. Those are not flows. Counting them inflates every number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custody and bridges.&lt;/strong&gt; A big deposit can be a custody move, not a purchase.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Reading a balance from the ledger
&lt;/h2&gt;

&lt;p&gt;You only need the public API. With the &lt;code&gt;xrpl&lt;/code&gt; library:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Client&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'xrpl'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// A full-history public server, so you can also ask about past ledgers.&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Client&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'wss://s2.ripple.com'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;now&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;request&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'account_info'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;account&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'rEXAMPLE...'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;      &lt;span class="c1"&gt;// any XRP Ledger address&lt;/span&gt;
  &lt;span class="n"&gt;ledger_index&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'validated'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;balanceXrp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;now&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;account_data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Balance&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mf"&gt;1e6&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// drops → XRP&lt;/span&gt;

&lt;span class="c1"&gt;// The same call with a past ledger_index gives the balance back then.&lt;/span&gt;
&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;disconnect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;Balance&lt;/code&gt; is in drops (1 XRP = 1,000,000 drops). For the past value, find the ledger index that closed at your reference time and pass it as &lt;code&gt;ledger_index&lt;/code&gt;. The difference between the two numbers is the real change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Naming wallets without guessing
&lt;/h2&gt;

&lt;p&gt;A balance change is only useful if you know who it belongs to. The rule I follow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A name comes from a public source: the known accounts that XRPScan publishes, or an exchange list.&lt;/li&gt;
&lt;li&gt;A name is a public identification, not a guarantee. An exchange can have wallets nobody has identified yet.&lt;/li&gt;
&lt;li&gt;Unnamed wallets stay unnamed. They are shown by address only. &lt;strong&gt;Never assign a guessed owner.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Exchange totals then only add wallets that are really on the exchange list. Wallets named after a person, a project or a bridge are shown, but separately.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the data shows this week
&lt;/h2&gt;

&lt;p&gt;These are the changes between today's balance and the close of &lt;strong&gt;November 10, 2026 (UTC)&lt;/strong&gt;, read from the ledger (live table: &lt;a href="https://xrpsonar.com/xrp-whale-accumulation" rel="noopener noreferrer"&gt;xrpsonar.com/xrp-whale-accumulation&lt;/a&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Exchanges combined:&lt;/strong&gt; −117.4M XRP. Binance −111.2M (now 2.52B), Bithumb −26M, while Robinhood added +38.8M (now 2.41B).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ripple's known wallets:&lt;/strong&gt; −47.4M XRP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Whales:&lt;/strong&gt; 93 increased their balance, 81 reduced it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unnamed wallets:&lt;/strong&gt; two added +133.1M and +120.6M XRP, and one reduced −212M XRP.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notice what the table does &lt;em&gt;not&lt;/em&gt; say. It doesn't say that someone bought, or that someone sold. A wallet adding balance does not prove a purchase: it may be an internal or custody movement. We only report what the ledger records.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits worth stating
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A balance change is not intent. It is the starting point for a question, not the answer.&lt;/li&gt;
&lt;li&gt;Names are incomplete. Some exchange wallets are still unidentified, so exchange totals are a floor, not a ceiling.&lt;/li&gt;
&lt;li&gt;Seven days and thirty days are different stories. A wallet can be up over 30 days and down over 7. Look at both.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The comparison is published as a free table, updated every 3 hours, in six languages, and the data is licensed CC BY 4.0, so you can reuse it with a link to the source. Each page has a "Cite this data" block with a ready-made source line.&lt;/p&gt;

&lt;p&gt;If you build something on top of this, I would like to hear what you would want to measure next.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Data from the XRP Ledger. Not financial advice.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>xrp</category>
      <category>blockchain</category>
      <category>crypto</category>
      <category>data</category>
    </item>
  </channel>
</rss>
