Deejay's Scripts Documentation
  • Getting started
    • Introduction
    • Environment Set-up
    • Import and install our Scripts
    • Scripts overview
    • Setting .env
  • Scripts
    • â„šī¸Get Token Info
    • ✅Check Ownership
    • 🔗Associate / Dissociate Tokens
    • đŸĒ™Create Fungible Token
    • âš’ī¸Mint Additional Fungible Tokens
    • 🎆Burn Fungible Tokens
    • 🔨Create Non-Fungible Token
    • đŸ”ĨBurn Non-Fungible Tokens
    • â„ī¸Freeze Non-Fungible Tokens
    • 🤝NFT Transfer between two owned accounts
    • 🔑Update Private Key
    • 🔍Track Hedera NFTs
    • â˜ ī¸Token Graveyard
Powered by GitBook
On this page
  • Usage
  • Arguments
  1. Scripts

Get Token Info

Get Token Info is used to get basic information about a token [and can pull metadata].

Usage

In your Node.js command prompt terminal, you can use

node getTokenInfo.mjs -t [-v] [-swap] [-testnet] [-s ] [-img] -t -s

Arguments

-t for Token id, for example -t 0.0.123456. if not specified look for all tokens in given wallet

-v - optional - for verbose (debug)

-swap for swaps out line breaks in metadata found

-testnet for using the script on Hedera Testnet

-s for Serial, check wallets owning specified serials (comma seperated or - for range e.g. 2,5,10 or 1-10)

-img to get the image only

PreviousSetting .envNextCheck Ownership

Last updated 2 years ago

â„šī¸