Skip to content

Commit f02061c

Browse files
committed
2 parents ad7b4de + bcf9120 commit f02061c

File tree

3 files changed

+125
-5
lines changed

3 files changed

+125
-5
lines changed

docs/Examples/Solana/transfers.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,34 @@ Try the query [here](https://ide.bitquery.io/pumpfun-transfers-type-v1-to-pumpfu
342342
}
343343
```
344344

345+
## Check if a pump fun token was launched in Mayhem mode - Historical Query
346+
347+
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.
348+
Try out the API [here](https://ide.bitquery.io/check-if-a-pump-fun-token-was-in-mayhem-mode).
349+
350+
```
351+
query MyQuery {
352+
solana {
353+
transfers(
354+
amount:{is:1000000000000000}
355+
receiverAddress: {is: "BwWK17cbHxwWBKZkUYvzxLcNQ1YVyaFezduWbtm2de6s"}
356+
currency: {is: "8ZVajuCD45RHs53LaCLpnqeKY519Ns64XZd12ZcLpump"}
357+
){
358+
currency{
359+
name
360+
symbol
361+
decimals
362+
address
363+
}
364+
amount
365+
transaction{
366+
signature
367+
}
368+
}
369+
}
370+
}
371+
```
372+
345373
## Currency Sent and Received by an address between a time period
346374

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

docs/Examples/stellar/stellar-tradeeffects-api.md

Lines changed: 97 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,105 @@
1-
# Stellar Trade Effects API
1+
---
2+
title: Stellar Trades API
3+
description: Access comprehensive Stellar Trade API with Effects and Price
4+
slug: /blockchain/Stellar/trade-effects-api
5+
keywords:
6+
- Stellar Trade Effects API
7+
- Stellar DEX API
8+
- Stellar trading API
9+
- Stellar blockchain API
10+
- Stellar GraphQL API
11+
- Stellar trade data
12+
- Stellar token swaps
13+
- Stellar DEX trades
14+
- Stellar trading analytics
15+
- Stellar API documentation
16+
- Stellar blockchain data API
17+
- Stellar asset trading
18+
- Stellar orderbook API
19+
- Stellar liquidity pools
20+
- free stellar api
21+
- stellar data api
22+
---
223

3-
A successful trade operation will yield zero or more effects. These effects represent specific changes that occur in the ledger.
24+
# Stellar Trades API
425

526

6-
## Latest Trade Effects on Stellar
27+
## What are Stellar Trade Effects?
728

8-
You can run the query [here](https://ide.bitquery.io/Latest-Trade-Effects-on-Stellar)
29+
A successful trade operation on the Stellar network will yield zero or more effects. These effects represent specific changes that occur in the ledger as a result of trading activities. Trade effects capture detailed information about asset exchanges.
30+
31+
## Getting Started
32+
33+
New to Bitquery? Here's how to get started:
34+
35+
1. **[Create a free account](https://ide.bitquery.io/)** - Get instant access to our GraphQL IDE
36+
2. **[Generate your Access token](https://docs.bitquery.io/docs/authorisation/how-to-generate/)** - Required for API access
37+
38+
Need help crafting a query or subscription? Message us on [support](https://t.me/Bloxy_info).
939

40+
### Trades of a Token on Stellar
41+
42+
This query retrieves trade effects for a specific token on the Stellar network. The `priceAmount` field represents the sell asset per buy asset ratio, providing you with accurate pricing information for each trade.
43+
44+
**Key Features:**
45+
- Filter by buy currency name
46+
- Time range filtering
47+
- USD value conversions for both buy and sell amounts
48+
- Complete currency and issuer information
49+
- Transaction context with block and hash
50+
51+
[Run Query](https://ide.bitquery.io/AQUA-Stellar-Trades)
52+
53+
```graphql
54+
query {
55+
stellar(network: stellar) {
56+
tradeEffects(
57+
options: { desc: "block", asc: "transaction.index", limit: 10, offset: 0 }
58+
time: { since: "2025-11-24T01:05:00.000Z", till: "2025-11-25T13:35:00.999Z" }
59+
buyCurrencyName: { is: "AQUA [GBNZILSTVQZ4R7IKQDGHYGY2QXL5QOFJYQMXPKWRRM5PAV7Y4M67AQUA]" }
60+
) {
61+
timestamp {
62+
time(format: "%Y-%m-%d %H:%M:%S")
63+
}
64+
block
65+
transaction {
66+
hash
67+
index
68+
}
69+
sellAmount
70+
sell_amount_usd: sellAmount(in: USD)
71+
sellCurrency {
72+
symbol
73+
name
74+
}
75+
sellIssuer {
76+
address
77+
annotation
78+
}
79+
buyAmount
80+
priceAmount
81+
buy_amount_usd: buyAmount(in: USD)
82+
buyCurrency {
83+
symbol
84+
name
85+
}
86+
buyIssuer {
87+
address
88+
annotation
89+
}
90+
}
91+
}
92+
}
1093
```
94+
95+
### Latest Trade Effects on Stellar
96+
97+
This query retrieves the most recent trade effects on the Stellar network, providing comprehensive information about each trade including seller addresses, operation details, and complete currency information.
98+
99+
100+
You can run the query [here](https://ide.bitquery.io/Latest-Trade-Effects-on-Stellar)
101+
102+
```graphql
11103
query MyQuery {
12104
stellar(network: stellar) {
13105
tradeEffects(
@@ -48,5 +140,5 @@ query MyQuery {
48140
}
49141
}
50142
}
143+
```
51144

52-
```

static/img/favicon.ico

203 KB
Binary file not shown.

0 commit comments

Comments
 (0)