"get_asset_info" does not return my asset. Hostname is devtest.counterparty.io

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,
19
[Block Scan API]

http://api.blockscan.com/api2?module=asset&action=info&name=XZCOIN

{
  status: "success",
  message: "Asset Information",
  data: [
    {
      asset: "XZCOIN",
      issuer: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2",
      createdon: "12/9/2014 6:23:25 AM",
      owner: "17sdLuNtD7ZpFCVZ3Doz58fwxFF6i6CKk2",
      divisible: "False",
      callable: "False",
      calldate: "0",
      callprice: "0",
      locked: "False",
      description: "",
      circulation: "100000",
      assetid: "284740885"
    }
  ]
}
15

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.

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…)

0
0
"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.

@something Thank you so much for letting me know.