[API] no method with name 'get_asset'

Started by monsterer, October 19, 2015, 07:11:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: monsterer on October 20, 2015, 07:04:50 AM
Any chance you could update the doc to show which commands are available to which client?
I actually tried to do that ..

CLI_wallet:
http://docs.bitshares.eu/api/#cli-wallet-api

Full Node/Witness Node
http://docs.bitshares.eu/api/#full-node-apis

Quote from: svk on October 20, 2015, 06:55:54 AM
Those docs are amazing, but they seem to be slightly out of date or just missing some calls. I couldn't find get_market_history in there for example.
The API docs are mostly automatically generated ... I will update the current graphene doxygen and deploy the new version
get_market_history is now there, but the source code does not show much comments about the call ..

monsterer

Quote from: xeroc on October 20, 2015, 05:47:24 AM
Quote from: monsterer on October 19, 2015, 09:02:48 PM
Ahhh, ok - so the commands are different between the different clients?
Yes
http://docs.bitshares.eu/api/index.html

Any chance you could update the doc to show which commands are available to which client?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

svk

Quote from: xeroc on October 20, 2015, 05:47:24 AM
Quote from: monsterer on October 19, 2015, 09:02:48 PM
Ahhh, ok - so the commands are different between the different clients?
Yes
http://docs.bitshares.eu/api/index.html

Those docs are amazing, but they seem to be slightly out of date or just missing some calls. I couldn't find get_market_history in there for example.
Worker: dev.bitsharesblocks

xeroc


monsterer

Quote from: xeroc on October 19, 2015, 07:13:36 PM
Connect to cli_wallet or do

get_object 1.3.x

With x being the asset id

Ahhh, ok - so the commands are different between the different clients?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc

Connect to cli_wallet or do

get_object 1.3.x

With x being the asset id

monsterer

Got a websocket connection to a witness node, and I can call some API functions, but I'm getting

no method with name 'get_asset'

When trying to call get_asset, and similar for most other API calls. What am I doing wrong?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads