BitShares Forum

Main => Technical Support => Topic started by: bitcoinerS on October 22, 2015, 06:18:33 pm

Title: cli command for transaction history
Post by: bitcoinerS on October 22, 2015, 06:18:33 pm
Hi,
How to I look up transaction history using a cli command? Thanks.
Title: Re: cli command for transaction history
Post by: roadscape on October 22, 2015, 07:06:05 pm
get_account_history nathan 10
Title: Re: cli command for transaction history
Post by: bitcoinerS on October 22, 2015, 07:29:39 pm
get_account_history nathan 10

I know I should have a transaction history as I made several successful transfers between my own accounts, but no history shows up..

unlocked >>> get_account_history bitcoiners 10
get_account_history bitcoiners 10

unlocked >>>
Title: Re: cli command for transaction history
Post by: bytemaster on October 22, 2015, 07:38:30 pm
get_account_history nathan 10

I know I should have a transaction history as I made several successful transfers between my own accounts, but no history shows up..

unlocked >>> get_account_history bitcoiners 10
get_account_history bitcoiners 10

unlocked >>>

It isn't a CLI wallet issue, you have not history nor balance here:  https://bitshares.openledger.info/#/account/bitcoiners

Title: Re: cli command for transaction history
Post by: bitcoinerS on October 22, 2015, 07:44:59 pm
get_account_history nathan 10

I know I should have a transaction history as I made several successful transfers between my own accounts, but no history shows up..

unlocked >>> get_account_history bitcoiners 10
get_account_history bitcoiners 10

unlocked >>>

It isn't a CLI wallet issue, you have not history nor balance here:  https://bitshares.openledger.info/#/account/bitcoiners

Yes, I am having troubles with my wallet as my balance and accounts do not show up in the gui, even though they show up in cli wallet. However I made several successful transfers between my own accounts using cli transfer command ( balances changed correctly after transfer), but no history shows up in cli...

Code: [Select]
unlocked >>> list_account_balances bitcoiners
list_account_balances bitcoiners
14697.01937 BTS
0.00000777 BTC
0.0265 USD

I tried another cli transfer and it went through, but no history record..

Code: [Select]
unlocked >>> list_account_balances bits
list_account_balances bits
1.36840 BTS
0.0027 USD

unlocked >>> transfer bitcoiners bits 14 BTS "test3" true

Code: [Select]
unlocked >>> list_account_balances bits
list_account_balances bits
15.36840 BTS
0.0027 USD

unlocked >>> get_account_history bitcoiners 10
get_account_history bitcoiners 10

unlocked >>> get_account_history bits 10
get_account_history bits 10

unlocked >>>
Title: Re: cli command for transaction history
Post by: xeroc on October 22, 2015, 07:58:39 pm
are you sure you connected your cli wallet to the actual network and not to the testnet?
type "info"
is your chain id: 4018d7844c78f6a6c41c6a552b898022310fc5dec06da467ee7905a8dad512c8 ??
Title: Re: cli command for transaction history
Post by: liangpeili on August 17, 2017, 03:45:53 am
Have you solved it yet? I have the same problem now. When login in to a cli wallent to wss://bitshares.openledger.info/ws , I can get the history of my account . But I have a full node,  the get_account_history returns nothing when connected to my full node.
Title: Re: cli command for transaction history
Post by: xeroc on August 17, 2017, 09:08:33 am
Have you solved it yet? I have the same problem now. When login in to a cli wallent to wss://bitshares.openledger.info/ws , I can get the history of my account . But I have a full node,  the get_account_history returns nothing when connected to my full node.
try

   wss://node.bitshares.eu

instead .. without /ws