Skip to content

use asset object in createListing#1905

Merged
ryanio merged 1 commit intoProjectOpenSea:mainfrom
binarycryptodev:createListing
Feb 17, 2026
Merged

use asset object in createListing#1905
ryanio merged 1 commit intoProjectOpenSea:mainfrom
binarycryptodev:createListing

Conversation

@binarycryptodev
Copy link
Contributor

The Private Orders example in advanced-use-cases.md was passing tokenAddress and tokenId at the top level, which does not match the opensea-js SDK signature. This PR updates the snippet to wrap them inside an asset object. The updated example now compiles and works correctly.

Copy link
Collaborator

@ryanio ryanio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@ryanio ryanio merged commit b607402 into ProjectOpenSea:main Feb 17, 2026
2 checks passed
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.

2 participants