Skip to content

Make account_nfts to have NFTokenTaxon field to get only grouped NFTs #4363

@yashwanth2804

Description

@yashwanth2804

Current implementation on gets all the NFT objects for an account, could be better if we filter based on the tx object itself, instead of filtering in the client side

Summary

Add a extra field eg, nftaxon in account_nfts method

Motivation

Get only what we asked for, list of NFts

Solution

  let nfts = await client.request({
    method: "account_nfts",
    account: standby_wallet.classicAddress,
    limit: 400,
    nftaxon:1234 //new Taxon field
  })

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestUsed to indicate requests to add new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions