BitShares Forum

Main => Technical Support => Topic started by: monsterer on October 06, 2014, 08:27:21 am

Title: no rpc blockchain_list_markets?
Post by: monsterer on October 06, 2014, 08:27:21 am
I'm trying to get a list of valid markets via RPC, as is displayed in the client.

Since there is no direct command for this, I assumed that a market is simply a combination of any quote asset and any base asset. However, when trying 'blockchain_market_status AUD CAD' in the console, I just get an asset error.

Any ideas?

Cheers, Paul.
Title: Re: no rpc blockchain_list_markets?
Post by: vikram on October 10, 2014, 08:17:05 pm
Will add a command for this when we get a chance: https://github.com/BitShares/bitshares_toolkit/issues/843
Title: Re: no rpc blockchain_list_markets?
Post by: xeroc on October 10, 2014, 08:27:02 pm
I'm trying to get a list of valid markets via RPC, as is displayed in the client.

Since there is no direct command for this, I assumed that a market is simply a combination of any quote asset and any base asset. However, when trying 'blockchain_market_status AUD CAD' in the console, I just get an asset error.

Any ideas?

Cheers, Paul.
I somewhere saw that for that call the first asset needs to have a lower asset ID than the second one .. flipping is not yet available in the core