import { toContractAddress, toUnionAddress } from "@rarible/types" import { createRaribleSdk } from "../../index" import { LogsLevel } from "../../domain" import type { RaribleSdkEnvironment } from "../../config/domain" import { createTestWallet } from "./test/test-wallet" describe.skip("test getting token id", () => { const env: RaribleSdkEnvironment = "testnet" const wallet = createTestWallet("edsk3UUamwmemNBJgDvS8jXCgKsvjL2NoTwYRFpGSRPut4Hmfs6dG8", env) const sdk = createRaribleSdk(wallet, env, { logs: LogsLevel.DISABLED }) let nftContract: string = "KT1EreNsT2gXRvuTUrpx6Ju4WMug5xcEpr43" test.skip("get tezos token id", async () => { const tokenId = await sdk.nft.generateTokenId({ collection: toContractAddress(`TEZOS:${nftContract}`), minter: toUnionAddress("TEZOS:"), }) if (tokenId) { expect(tokenId.tokenId).toBe("2") } }) })