This repository was archived by the owner on Feb 9, 2024. It is now read-only.
useink@1.4.1
Add error to callback function arguments for a tx.
tx.signAndSend(args, options, (result, api, error) => console.error(error));This gives the user opportunity to handle failures if a tx fails or if a user rejects the signature.