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
+68-4Lines changed: 68 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,9 +133,10 @@ This query calculates the SOL balance of a wallet at a specific block height by
133
133
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.
134
134
135
135
The query returns:
136
-
-**first**: minimum block height at which the wallet first received the token
137
-
-**last**: maximum block height at which the wallet most recently received the token
138
-
-**period**: the difference between `last` and `first` block heights, representing the *holding period in blocks* (you can convert this to time using block timestamps if needed)
136
+
137
+
-**first**: minimum block height at which the wallet first received the token
138
+
-**last**: maximum block height at which the wallet most recently received the token
139
+
-**period**: the difference between `last` and `first` block heights, representing the _holding period in blocks_ (you can convert this to time using block timestamps if needed)
139
140
140
141
Update `receiverAddress` with the target wallet and `currency` with the token mint address you want to analyze.
141
142
@@ -156,9 +157,72 @@ query MyQuery {
156
157
}
157
158
```
158
159
160
+
## Get Pumpfun Token Created by a Wallet From Historical Data
0 commit comments