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 NFT query api: ListNftApproveAll #73

Open
elonkusk opened this issue Mar 3, 2022 · 0 comments
Open

Add NFT query api: ListNftApproveAll #73

elonkusk opened this issue Mar 3, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@elonkusk
Copy link
Member

elonkusk commented Mar 3, 2022

Support ListNftApproveAll:

  • Because some account don't know that it's delegated to approve all token of other account

  • Input:

          message NftTokenApproveAllQuery{
            bytes owner_address = 1;
          }
    
  • Ouput:

          message NftTokenApproveAllResult{
            bytes owner_address = 1;
            repeated NftAccountTokenRelation approve_list= 2;
          }
    
         //use NftAccountTokenRelation but should keep this fields
          message NftAccountTokenRelation{
            bytes owner = 1; //owner account
            int64 total = 4; //total token delegated
          }
    
@elonkusk elonkusk added the enhancement New feature or request label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants