Hello, I am new to Moralis and I can’t seem to find a way on how to check whether the transaction is Success or Completed on Blockchain.
I have this code snippet below on what I want to achieve
     const { fetch, error, isFetching } = useWeb3Transfer({
        amount: Moralis.Units.Token(0.1, 18),
        receiver: '0x7A16424328fDA0ecEA1DE692164F7D2995354d9c',
        type: 'erc20',
        contractAddress: '0x2d7882beDcbfDDce29Ba99965dd3cdF7fcB10A1e',
    })
    const transfer = async () => {
        fetch().then(() => {
            // Do something - Save data on DB
            // I need to check first if the transaction is successful and not on pending status.
        })
    }
 
      
    

