You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Examples/Solana/transfers.md
+45-42Lines changed: 45 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,33 +101,6 @@ query MyQuery {
101
101
}
102
102
```
103
103
104
-
## SOL Balance of an address at a specific height
105
-
106
-
This query calculates the SOL balance of a wallet at a specific block height by fetching all native SOL (represented by "-" in Bitquery v1) sent and received transactions up to that height. `received - sent` is the balance of the address.
This query calculates how long a wallet has been holding a specific token by looking at the first and last transfer block heights for that token into the wallet. It is useful for analyzing token holding behavior, vesting, or eligibility for airdrops and loyalty programs.
@@ -319,22 +292,57 @@ query MyQuery {
319
292
}
320
293
```
321
294
322
-
## Currency Sent and Received by an address between a time period
295
+
## Currency Sent and Received by an address
296
+
297
+
Below API will give you details on the aggreated currency sent and received by an address.
298
+
Try the API [here](https://ide.bitquery.io/currency-sent-and-received-by-an-address#).
Below API will give you details on the aggreated currency sent and received by an address in a timeperiod.
325
-
Try the API [here](https://ide.bitquery.io/currency-sent-and-received-by-an-address-between-a-time_1).
331
+
This query calculates the balance of a wallet at a specific date by fetching all transfers sent and received transactions up to that height. `received - sent` is the balance of the address.
0 commit comments