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

Stellar: amount is missing in account merge type #761

Open
gutenye opened this issue Nov 13, 2018 · 3 comments
Open

Stellar: amount is missing in account merge type #761

gutenye opened this issue Nov 13, 2018 · 3 comments
Labels
horizon-api Issues or features related to the Horizon API

Comments

@gutenye
Copy link

gutenye commented Nov 13, 2018

Steps:

  1. merge account from A to B
  2. load payments from B

It returns { type: 'account_merge', type_i: 8, account: 'x', into: 'x' },no amount field.

My question is:

  1. If I calculate the balance from the history, it failed as I don't know how much funds are received with account_merge type.
  2. It must leave a trace in the network, otherwise, how can others validate the balance from history?
@bartekn
Copy link
Contributor

bartekn commented Nov 13, 2018

You can find the amount in Effects for Operation endpoint.

@tomerweller
Copy link
Contributor

tomerweller commented Aug 8, 2019

This is the direct reason why exchanges are not accepting account merges, even though they listen to the payments endpoint. Perhaps we should reopen.

@bartekn bartekn reopened this Aug 8, 2019
@bartekn
Copy link
Contributor

bartekn commented Aug 8, 2019

@ire-and-curses we can think about it for the new API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
horizon-api Issues or features related to the Horizon API
Projects
None yet
Development

No branches or pull requests

4 participants