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

Check Ownership

Used to query ownership of tokens and produce audit snapshots.

Usage

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

node checkOwnership.mjs [-w [-zero]] [-t [-s ] -ex ] [-r] [-audit] [-auditserials [-hodel [-epoch XXX]]] [-v] [-version]

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)

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

-w if not specified will look for all wallets on token

-zero only show zero balances for wallet specified

-ex 0.0.XXXX,0.0.YYYY to exclude wallets from display

-threshold minimum ownership [default: 1]

-r show token royalties associated

-audit a simple token ownership audit output - saves to file

-auditserials is a simple serials ownership audit output - saves to file

-hodl used with auditserials to get hodl data per serial

-epoch XXXX used with hodl to exclude anyoe buying post date/time

PreviousGet Token InfoNextAssociate / Dissociate Tokens

Last updated 2 years ago

âœ