@nftgo/gorarity
Version:
An algorithm to calculate rarity of NFT(how special it is), based on Jaccard Distance.
16 lines (15 loc) • 428 B
TypeScript
export declare class EVMContractTokenIdentifier {
private _contractAddress;
private _tokenId;
constructor(contractAddress: string, tokenId: number);
get tokenId(): number;
get contractAddress(): string;
static fromDict(dict: {
contractAddress: string;
tokenId: number;
}): EVMContractTokenIdentifier;
toDict(): {
contractAddress: string;
tokenId: number;
};
}