This won't work without knowing all transaction inputs...