Skip to content

Commit 121a1dc

Browse files
authored
Merge branch 'bitquery:main' into main
2 parents e4d0240 + 726eee5 commit 121a1dc

2 files changed

Lines changed: 99 additions & 0 deletions

File tree

docs/Examples/Solana/transfers.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,105 @@ This query calculates the SOL balance of a wallet at a specific block height by
128128
}
129129
```
130130

131+
## Pumpfun Token Migrations on a specific date
132+
133+
Below API retrieves pump fun token migraions on a specific date.
134+
135+
Try the query [here](https://ide.bitquery.io/pumpfun-transfers-type-v1-to-pumpfun-migrations_1).
136+
137+
```
138+
{
139+
solana {
140+
transfers(
141+
options: {limit: 500}
142+
date: {is: "2024-10-18"}
143+
currency:{not:"SOL"}
144+
externalProgramId: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}
145+
transferType: {in: transfer}
146+
receiverAddress: {is: "39azUYFWPz3VHgKCf3VChUwbpURdCHRxjWVowf5jUJjg"}
147+
) {
148+
block {
149+
height
150+
timestamp {
151+
iso8601
152+
}
153+
}
154+
instruction {
155+
action {
156+
name
157+
}
158+
callPath
159+
external
160+
externalAction {
161+
name
162+
type
163+
}
164+
program {
165+
name
166+
id
167+
}
168+
externalProgram {
169+
id
170+
name
171+
}
172+
}
173+
currency {
174+
name
175+
symbol
176+
address
177+
}
178+
date {
179+
date
180+
}
181+
amount
182+
sender {
183+
address
184+
mintAccount
185+
type
186+
}
187+
receiver {
188+
address
189+
mintAccount
190+
type
191+
}
192+
transaction {
193+
signature
194+
signer
195+
}
196+
transferType
197+
}
198+
}
199+
}
200+
```
201+
202+
## Check if a pump fun token was launched in Mayhem mode - Historical Query
203+
204+
This query finds "Pump Fun" token launches in Mayhem mode by filtering for a transfer of exactly 1,000,000,000,000,000 units (1 Billion if adjusted to 6 decimal places) to the specified receiver and token mint. It returns currency info, amount, and transaction signature. In mayhem mode token, 1 Billion token supply is minted to `BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s` Mayhem Autonomous AI agent.
205+
Try out the API [here](https://ide.bitquery.io/check-if-a-pump-fun-token-was-in-mayhem-mode).
206+
207+
```
208+
query MyQuery {
209+
solana {
210+
transfers(
211+
amount:{is:1000000000000000}
212+
receiverAddress: {is: "BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s"}
213+
currency: {is: "8ZVajuCD45RHs53LaCLpnqeKY519Ns64XZd12ZcLpump"}
214+
){
215+
currency{
216+
name
217+
symbol
218+
decimals
219+
address
220+
}
221+
amount
222+
transaction{
223+
signature
224+
}
225+
}
226+
}
227+
}
228+
```
229+
131230
## Currency Sent and Received by an address between a time period
132231

133232
Below API will give you details on the aggreated currency sent and received by an address in a timeperiod.

static/img/favicon.ico

203 KB
Binary file not shown.

0 commit comments

Comments
 (0)