zono
December 9, 2014, 3:02pm
1
Hi,
I did not get information about my asset from devtest . counterparty . io . I need to know the reason and how to fix it?
The followings are the results of curl and BlockScanAPI's response. I got GEMS's information normally.
[XZCOIN (my asset created at 12/9/2014 6:23:25 AM)]
curl http://devtest.counterparty.io:4000/api/ --user rpc:1234 -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript' --data-binary '{"jsonrpc":"2.0","id":0,"method":"get_asset_info","params": {"assets": ["XZCOIN"]}}'
{"result": [], "jsonrpc": "2.0", "id": 0}
[GEMZ]
curl http://devtest.counterparty.io:4000/api/ --user rpc:1234 -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript' --data-binary '{"jsonrpc":"2.0","id":0,"method":"get_asset_info","params": {"assets": ["GEMZ"]}}'
{"result": [{"owner": "1FUWt93FcNtWv2sqhGVK81QVgaGgPUaYis", "asset": "GEMZ", "divisible": true, "call_price": 0.0, "supply": 10000000000000000, "locked": true, "description": "The GEMS Mobile App", "issuer": "1FUWt93FcNtWv2sqhGVK81QVgaGgPUaYis", "callable": false, "call_date": 0}], "jsonrpc": "2.0", "id": 0}
Thanks,
Weird.
It could be that the test/dev server has not caught up with the recently created assets.
I don’t have a good explanation. I’d try it on my own server but it’s reindexing the blockchain so I can’t.
Maybe it’s best to continue under the assumption that it does work and recheck tomorrow or setup your own test/dev box.
It seems my guess was right, the server is not yet of maintenance.
It may happen within 24 hrs, but if you have a copy of blockchain, you can setup Federated Node, install Bitcoin Core with jmcorgan addrindex patch and reindex the blockchain all within 12 hours, so that may be slightly faster.
zono
December 10, 2014, 4:51am
5
Thank you so much for telling me that information. I will wait until the maintenance is done. (Setting up node seems to be complicated for me…)
zono
December 16, 2014, 10:35am
6
"devtest.counterparty.io" has been down since Dec 10... I want to try the counterparty API. When can I connect the server again?
http://status-backend.counterparty.io/
Thanks,
@zono the server will be updated with latest code today, so by tomorrow it should work fine.
zono
December 17, 2014, 1:43pm
8
@something Thank you so much for letting me know.