Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement getAccount using getLedgerEntry #42

Merged
merged 2 commits into from
Jan 25, 2023
Merged

Conversation

paulbellamy
Copy link
Contributor

@paulbellamy paulbellamy commented Jan 25, 2023

Part of stellar/go#4716

Turns out we can implement getAccount in the client just using the getLedgerEntry endpoint of soroban-rpc.

This also changes the return type to an Account to be easier to use with txn building, matching #41

@paulbellamy paulbellamy merged commit ecae2c5 into main Jan 25, 2023
@paulbellamy paulbellamy deleted the 4716/review-endpoints branch January 25, 2023 16:54
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.

2 participants