origin-js icon indicating copy to clipboard operation
origin-js copied to clipboard

Create `options` object with callbacks

Open sparrowDom opened this issue 7 years ago • 0 comments

As a proper rework of the idea tested in this PR: https://github.com/OriginProtocol/origin-js/pull/546 we should have an options object parameter in each origin-js method that has optional properties transactionHashCallback & confirmationCallback. In an attempt to unify the api approach how we deal with calls that result in ethereum transactions.

sparrowDom avatar Sep 26 '18 08:09 sparrowDom