It looks like the provider getTransaction method throws an 'RPC Error' while the transaction is pending confirmation. Looking at the comments for the function it looks like that method should return a TransactionResponse but it looks like a Transaction object is being returned.
It looks like the provider getTransaction method throws an 'RPC Error' while the transaction is pending confirmation. Looking at the comments for the function it looks like that method should return a TransactionResponse but it looks like a Transaction object is being returned.