I trying to get the metadata of a token 2022 using gill but this only return a empty object.
I using this method:
import {fetchMetadata} from 'gill/programs' const { data: dataA } = await fetchMetadata(client.rpc,tokenMintA) But this always return this object dont mind what address I send:
{ "key": 1, "updateAuthority": "1112ypLNWEBMaTDBbckFKKA7CdLNRXjyyjoeEKrj9Rq", "mint": "JBxB5pbbddafuMjSoCm4WsehW6F1X68eAJgFShoUgvaB", "data": { "name": "", "symbol": "", "uri": "", "sellerFeeBasisPoints": 0, "creators": { "__option": "None" } }, "primarySaleHappened": false, "isMutable": false, "editionNonce": { "__option": "None" }, "tokenStandard": { "__option": "None" }, "collection": { "__option": "None" }, "uses": { "__option": "None" }, "collectionDetails": { "__option": "None" }, "programmableConfig": { "__option": "None" } } Is there a param I missing in the fetchMetadata method?
or we have other way to get this metadata using gill?
Thanks in advance for the help💯