You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please explain the rationale behind having it return void?
It is certainly an oversight. There is no reason not to return BatchId in the response. However, do note that the BatchId does not change after the topup or dilute operations. It should be the same BatchId that you pass to these functions.
Additionally, how can I determine the success of my topUp operation?
You can monitor GET /transactions via the getAllPendingTransactions method to wait for all transactions to finish. After that, your Bee node should pick up the new batch values for your postage batch. You will not see the new amount on your batch right after the topup operation finishes, but it should update to the new values within a minute or two.
Is it possible to modify the return value to match the API result or come close to it?
Looking at the topUp functions, it’s anticipated to return void while invoking the stamps.topUp function, which is expected to return a Batch ID.
The text was updated successfully, but these errors were encountered: