fcl-js
fcl-js copied to clipboard
Create `useFlowTransaction` for transaction data
Currently, useFlowTransactionStatus returns the transaction status. But, we also need to introduce a new hook called useFlowTransaction which returns the transaction data.
Note: there was previously a hook called this so make sure to add JSDoc comments mentioning that.