Skip to content

API Proposal for Retrieving Tokens from Managed Wallet #11

@gormaaen

Description

@gormaaen

With the new Managed Wallet feature one of the most useful (and likely most used) queries will be 'return all Tokens belonging to this list of Colletions in this Player's managed wallet' . Executing this basic query today requires ALOT of framents/sub queries either starting with GetWallet or GetTokens.

Suggestion 1: Add a .SetExternalID and/or a .SetAddress to the GetToken API request. This will still require a 2-3 level dive in Edges/Nodes to get the Tokens but atleast only for the requested ones.

Suggestion 2: Add a .SetCollections to GetWallet as this would also give the desired result. The good thing here is that the returned Tokens will only be one level down in the Edge/Node tree.

Suggestion 3. Create a new query altogether GetTokensInWallet (or something to that effect) with a .SetCollections and SetExternalID/SetAddress params and then return a clean Connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions