Go: Stellar: amount is missing in account merge type

Created on 13 Nov 2018  路  3Comments  路  Source: stellar/go

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' }锛宯o 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?
horizon-api

Most helpful comment

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

All 3 comments

You can find the amount in Effects for Operation endpoint.

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

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

Was this page helpful?
0 / 5 - 0 ratings