slp-list
Version:
List token holders and balances at any block height
11 lines (10 loc) • 842 B
TypeScript
import { Big } from "big.js";
import { TxoResponse } from ".";
export declare class SlpdbQueries {
static GetAddressListFor(tokenId: string, upToBlockHeight: number, displayValueAsString?: boolean): Promise<Map<string, string> | Map<string, Big>>;
static GetCoinListFor(tokenId: string, upToBlockHeight: number, coinAgeStartBlock?: number): Promise<TxoResponse[]>;
static GetAddressList(txos: TxoResponse[], displayValueAsString?: boolean): Promise<Map<string, string> | Map<string, Big>>;
static GetUnspentTxosCreatedBefore(blockHeight: number, forTokenId: string): Promise<TxoResponse[]>;
static GetConfirmedTxosCreatedBeforeButSpentLaterThan(blockHeight: number, forTokenId: string): Promise<TxoResponse[]>;
static GetMempoolTxosCreatedAtOrBefore(blockHeight: number, forTokenId: string): Promise<TxoResponse[]>;
}