Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset info update failure? #31

Open
cryptcoin-junkey opened this issue Sep 25, 2021 · 3 comments
Open

Asset info update failure? #31

cryptcoin-junkey opened this issue Sep 25, 2021 · 3 comments

Comments

@cryptcoin-junkey
Copy link
Member

This issue was escalated from monaparty/counterparty-lib#72

@cryptcoin-junkey
Copy link
Member Author

cryptcoin-junkey commented Sep 25, 2021

It looks the server working fine wrong.

At least the owner should be ME47twVPSbFmsSqDESS4G27viMe5659fuQ.

On Monaparty westeurope node.

$ curl -q localhost:4100 --data-binary '{ "jsonrpc": "2.0", "method": "get_assets_info", "params": { "assetsList": ["XABOVECLOWDS"]}, "id": 1 }' 2>/dev/null | jq .
{
  "result": [
    {
      "assetgroup": null,
      "issuer": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "description": "",
      "reassignable": true,
      "supply": 50,
      "vendable": true,
      "fungible": true,
      "listed": true,
      "asset": "XABOVECLOWDS",
      "locked": true,
      "asset_longname": null,
      "owner": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "divisible": false
    }
  ],
  "jsonrpc": "2.0",
  "id": 1
}

On Monaparty eastus node.

curl -q localhost:4100 --data-binary '{ "jsonrpc": "2.0", "method": "get_assets_info", "params": { "assetsList": ["XABOVECLOWDS"]}, "id": 1 }' 2>/dev/null | jq .
{
  "id": 1,
  "result": [
    {
      "fungible": true,
      "reassignable": true,
      "description": "",
      "vendable": true,
      "asset": "XABOVECLOWDS",
      "divisible": false,
      "listed": true,
      "assetgroup": null,
      "owner": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "issuer": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "supply": 50,
      "asset_longname": null,
      "locked": true
    }
  ],
  "jsonrpc": "2.0"
}

@cryptcoin-junkey
Copy link
Member Author

It seems there is no support for sweep messages ...

@wakiyamap
Copy link

My server result. I write it for reference.

curl -q localhost:4100 --data-binary '{ "jsonrpc": "2.0", "method": "get_assets_info", "params": { "assetsList": ["XABOVECLOWDS"]}, "id": 1 }' 2>/dev/null | jq .
{
  "result": [
    {
      "asset": "XABOVECLOWDS",
      "assetgroup": null,
      "asset_longname": null,
      "divisible": false,
      "owner": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "locked": true,
      "reassignable": true,
      "issuer": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "description": "",
      "supply": 50,
      "listed": true,
      "fungible": true,
      "vendable": true
    }
  ],
  "jsonrpc": "2.0",
  "id": 1
}
{
  "id": 1,
  "result": [
    {
      "description": "",
      "locked": true,
      "issuer": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "listed": true,
      "fungible": true,
      "reassignable": true,
      "asset_longname": null,
      "divisible": false,
      "assetgroup": null,
      "vendable": true,
      "asset": "XABOVECLOWDS",
      "owner": "MGdFSDkJr7xq5e7GtDJaxkQmPraModaBcm",
      "supply": 50
    }
  ],
  "jsonrpc": "2.0"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants