Skip to content

docs: add missing TokenStandard import to Bulk Transfers examples - #2005

Open
callumweb3 wants to merge 1 commit into
ProjectOpenSea:mainfrom
callumweb3:patch-1
Open

docs: add missing TokenStandard import to Bulk Transfers examples#2005
callumweb3 wants to merge 1 commit into
ProjectOpenSea:mainfrom
callumweb3:patch-1

Conversation

@callumweb3

Copy link
Copy Markdown

Motivation

The Bulk Transfers examples in developerDocs/advanced-use-cases.md use TokenStandard.ERC721, TokenStandard.ERC1155, and TokenStandard.ERC20 without importing TokenStandard, making the code snippets non-functional when copied.

Evidence

Error without import: error TS2304: Cannot find name 'TokenStandard'
image

With import: success
image

Solution

Added by:

import { TokenStandard } from "@opensea/sdk";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant