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

Add is_mine property to listtokens rpc method #923

Closed
sakdeniz opened this issue Feb 5, 2022 · 1 comment · Fixed by #930
Closed

Add is_mine property to listtokens rpc method #923

sakdeniz opened this issue Feb 5, 2022 · 1 comment · Fixed by #930
Assignees

Comments

@sakdeniz
Copy link

sakdeniz commented Feb 5, 2022

Currently listtokens method returns all available tokens in the blockchain.

I think it is necessary to add the is_mine attribute to every token object so that we can understand which of these tokens belongs to the wallet owner.

Sample :

  {
    "version": 0,
    "is_mine":true,
    "id": "777896868f6b80710b42923a0ad51bf6ff73fb0cbd727ad2d617c4c338683fca",
    "pubkey": "99259540dc2fae3fd6c3205be105f202c8416fe87433833f810ac255c422d26a78c4d3e594949f0ec17e820265b15f9a",
    "name": "Baby NAV",
    "token_code": "BNAV",
    "current_supply": "200.00",
    "max_supply": "100000000.00",
    "balance": "0.00"
  },
@mxaddict
Copy link
Contributor

mxaddict commented Feb 5, 2022

I can work on this unless @aguycalled is already working on it.

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

Successfully merging a pull request may close this issue.

3 participants