Skip to main content

Stellar Effects API

Inspect Stellar ledger effects — state changes triggered by transactions, trades, and other operations — using the Bitquery GraphQL API.

Get Latest Stellar Network Effects

Return the most recent Stellar ledger effects for a given date, with operation type, effect name, detail payload, account address, and the originating transaction.

Variations: Shift the date filter for a different day, raise limit for more rows, or add an effect filter (e.g., account_credited) to isolate a specific type. See query features for sorting options.

query MyQuery {
stellar(network: stellar) {
effects(options: {limit: 10, desc: "timestamp.time"}, date: {is: "2024-07-16"}) {
address {
address
}
operation {
name
}
effect
details
order
timestamp {
time
}
transaction {
hash
sender
index
}
}
}
}


Filter Stellar Ledger Effects by Effect Type

Narrow Stellar effects to a single type using the effect argument — here, account_credited — to track incoming asset credits for any account. Run the query on the IDE.

Variations: Swap account_credited for account_debited, trustline_created, trade, or other effect names. Add an address filter to scope results to one account.

query MyQuery {
stellar(network: stellar) {
effects(
options: {limit: 10, desc: "timestamp.time"}
date: {is: "2024-07-16"}
effect: {is: "account_credited"}
) {
address {
address
}
operation {
name
}
effect
details
order
timestamp {
time
}
transaction {
hash
sender
index
}
}
}
}