filled in gettxout
param check from empty to isset to properly handle int(0) as a parameter