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
@@ -128,150 +128,35 @@ This query calculates the SOL balance of a wallet at a specific block height by
128
128
}
129
129
```
130
130
131
-
## Historical Pump.fun Token creations on a specific date
131
+
## Holding Period of a Token by a Wallet
132
132
133
-
This query retrieves all pump.fun token creations on a specific date on Solana.
134
-
Try the query [here](https://ide.bitquery.io/Historical-pump-fun-created-coins#).
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.
-**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)
199
139
200
-
## Historical Pump.fun Token creations by a Dev on a specific date
140
+
Update `receiverAddress` with the target wallet and `currency` with the token mint address you want to analyze.
201
141
202
-
This query retrieves all pump.fun token creations by a Dev on a specific date on Solana.
203
-
Try the query [here](https://ide.bitquery.io/Historical-Pumpfun-created-coins-by-creator#).
0 commit comments