use getTransactionWithBlock.