Skip to content

Fulfilling Orders *currently listed* on Opensea #574

Answered by 0xAskar
0xAskar asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to figure it out with a friend! You can use the Retrieve Orders Opensea api call to get the order with the signature so then you're able to just need the buyer's signature.

       const buy = async() => {
            const provider = new ethers.providers.Web3Provider(window.ethereum);
            const seaport = new Seaport(provider);
            //get the asset from "Retrieve Assets from the api"
            // see the link https://docs.opensea.io/reference/getting-assets
            // then parse out the ["assets"]["seaport_sell_orders"]["protocol_data"]
            let full_order = output["assets"]["seaport_sell_orders"]["protocol_data"]
            if (typeof seaport !== "u…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 0xAskar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant