Skip to content

Conversation

@aditya1702
Copy link
Contributor

What

  • Add the graphql schema to support account balance queries

Why

Part of the account balances milestone: https://github.com/stellar/wallet-backend/milestone/13

Known limitations

N/A

Issue that this PR addresses

Closes #361

@aditya1702 aditya1702 changed the base branch from main to update-token-cache November 13, 2025 18:55
tokenType: TokenType!
}

type NativeBalance implements Balance {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious why the native balance would not just be a SACBalance?

Copy link
Contributor Author

@aditya1702 aditya1702 Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NativeBalance would not have the authorized and clawback fields right? It is extracted from the AccountEntry ledger entry which only has the actual balance: https://github.com/stellar/go/blob/474a86a2e96a/xdr/xdr_generated.go#L3831. So those would be specific to non-native SAC contracts

@aditya1702 aditya1702 requested a review from a team November 13, 2025 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add graphql API schema for balances query

3 participants