Add gettransaction to btcctl.