Solana: how to get list of tokens(not NFTs) that are created by solana user

Listed tokens, consumed by the SOLANA

Solana is a full -fledged blockchain platform, its very fast and scale transaction. One -in -the -ocity of solana is able to create non -ugly tokens (NFTS), which are unique ciphrovniki, which the Vladelts or the Identichna. However, not all nft is affiliated with the policeman; Some of them with the most conspicuous contract on the blockchain.

One of the lists of the tokens, made by the poll – this technique of the GetParsedtoken, presented by Solana. Here, in which the subjects are designed as you can use this method:

Obsent

GetParsedtoken Accountsby» - This is the function of utilites, which leaks the list of ucerel records of tokens, adjusted by the concrete vladel on the blockchain solanaa. This function allows you to access to the activists to the activists, the coontroeled policies, such as nfts and other unique cytro tokens.

how to start

To useGetParsedtoken Accountsby», you need:

  • Installation of the unusual exposure: You can install the “Solana” package, use npm or adjacent, dusk the following Commond:

`Bash

NPM Install Solana

Orpin

`Bash

Add the solan

  • Submit the Solan Cli Configuration file (for example, config.toml) and importing it into your main wall.

  • Initialize the new cluster solan, using the coomando solana-cli.

Primer code

This is the sort of fragments of the code that demonstrats how to use GetParsedtoken accountsbyoneer:

`Javascript

// Import File Configuration CLI SOLAN

Config = require ('./ config.toml');

// Initialize new cluster solan

Async Function Main () {

// Create a new Client Salan copy

Const Cli = New CLI ({

// Install the URL and UCHED CLASSER

URL: '

Key: Config.key,

});

// Repeat a block of block

Const {tlatestblockknumber} = Cli;

Constestblockknumber = Wait for the dust block ();

// Press up lists of ucellant records tokens, adjusted vladner with conquret identifier tokens

Async Function GetParsedtokkeccels (Tokenid) {

Return watist cli.getparsedtokencoccousbyerner ({

Wladylets: 'Your_user_address',

tokenid,

});

}

// Revet the NFT list that is composed by your policeman

Const NFTList = Wait GetParsedtokkacks (123456789);

console.log (nftlist);

// You also can use this function to get one -mee metadanic nft

Const NFT Metadata = Wait Cli.getnft Metadata (123456789, 'Your_token_id');

Console.log (NFT Metadata);

}

Basic ();

Entertainment

Solana: how to get list of tokens(not NFTs) that are created by solana user

  • Revenge that you change Your_user_address and your_token_idon the factual address of the Wladel and the Identifier of the Token, which you want to get down.

  • FunctionGetParsedTokencoccousbyowerner` Retriends the list of utensils, the NFT included. You can use this function to get a concrete information about each token.

Hollow, this one will help! Let me know if you have a question -you need a question or you need to be an add -on.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top