Explorer: Support Fungible Asset token standard (#24630)

* feat: Support Fungible Asset token standard

* fix formatting
This commit is contained in:
Michael Hess 2022-05-05 08:33:56 -07:00 committed by GitHub
parent f6e8e16691
commit e5feb1fb45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ export default function isMetaplexNFT(
data?.parsed.type === "mint" &&
data?.nftData &&
mintInfo?.decimals === 0 &&
parseInt(mintInfo.supply) === 1
(parseInt(mintInfo.supply) === 1 ||
data?.nftData?.metadata?.tokenStandard === 1)
);
}