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
There is no way to know weather a function call (Near.call) was successful or not. This ends up with bad UX when the TX fails and we are unable to provide users with a clear next step e.g (fill account with balance, add access key, e.t.c)
It would be nice to be have and be able to await the Near.asyncCall so it waits until the tx is processed and has a status. This will let us create flows when the function calls errors out and retry logic.
I would like to redirect the user to their newly created indexer page, but I am unable to do so because I am unsure if the transaction to create the indexer was successful or not
Side note:
Also, at the moment, the <CommitButton> does not do any sort of error handling or take in an onError callback handler to deal with errors. That would be pretty helpful too. This has nothing to do with Near.call error handling.
The text was updated successfully, but these errors were encountered:
There is no way to know weather a function call (Near.call) was successful or not. This ends up with bad UX when the TX fails and we are unable to provide users with a clear next step e.g (fill account with balance, add access key, e.t.c)
It would be nice to be have and be able to await the
Near.asyncCall
so it waits until the tx is processed and has a status. This will let us create flows when the function calls errors out and retry logic.Side note:
Also, at the moment, the
<CommitButton>
does not do any sort of error handling or take in anonError callback
handler to deal with errors. That would be pretty helpful too. This has nothing to do with Near.call error handling.The text was updated successfully, but these errors were encountered: