re-frame-web3-fx icon indicating copy to clipboard operation
re-frame-web3-fx copied to clipboard

on-success-n

Open mudgen opened this issue 7 years ago • 3 comments

The addition of these is great:

:on-tx-hash-n
:on-tx-hash-error-n
:on-tx-success-n
:on-tx-error-n
:on-tx-receipt-n

Can you also add :on-success-n and on-error-n ?

They would be put to good use.

mudgen avatar Sep 12 '18 23:09 mudgen

:on-tx-success-n and :on-tx-error-n probably does what you looking for

madvas avatar Sep 13 '18 03:09 madvas

They do not work for calling read functions on contracts. Those work for transactions that modify state. They do not work for calls on contracts that only read. What is need is on-success-n.

mudgen avatar Sep 13 '18 04:09 mudgen

ah I see, I misunderstood

madvas avatar Sep 13 '18 04:09 madvas