This is the result when I click the “Create Sell Order” button
you can also click on payload tab there
it looks like it uses an oder version of Moralis SDK, 0.0.104, you could try with 0.0.184, also you could paste as text that payload
How can I do that? Can you explain me?
{network: "mainnet", tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb", tokenId: "926",…}
endAmount: 0.5
expirationTime: 1642716466
network: "mainnet"
startAmount: 1
tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb"
tokenId: "926"
tokenType: "ERC721"
userAddress: "0xc092d93795ed6610ecfa9d454d534af3e029375b"
_ApplicationId: "wYSxHFNeSKgj9hUDnBCQJ5dg5XR0xZpIsFG0Vl2w"
_ClientVersion: "js0.0.104"
_InstallationId: "96ca8672-4b18-4c6c-9209-e8805e92210b"
_SessionToken: "r:cb5a1d0c177a0ed8725b28a08751bb11"
{network: "mainnet", tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb", tokenId: "926",…}
network: "mainnet"
tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb"
tokenId: "926"
_ApplicationId: "wYSxHFNeSKgj9hUDnBCQJ5dg5XR0xZpIsFG0Vl2w"
_ClientVersion: "js0.0.104"
_InstallationId: "96ca8672-4b18-4c6c-9209-e8805e92210b"
_SessionToken: "r:cb5a1d0c177a0ed8725b28a08751bb11"
usually there is a line like this that you add in your html file:
<script src="https://unpkg.com/[email protected]/dist/moralis.js"></script>
you can also try to update opensea plugin in case that it is not the latest version
How can I do that with .js file? Sorry for this question. I am not programmer. I tried to find solution in google, but I did’t understand how do that.
Thank you for your reply.
I ran the command you wrote. But the error did not disappear, but a message appeared stating (yellow) that I am not using the latest version of the SDK.
I repeated the command with a recommended version number:
yarn add [email protected]
After that, all yellow messages disappeared.
But with the buttons, the red errors remained.
Create Sell Order
Playload
{network: "mainnet", tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb", tokenId: "926",…}
endAmount: 0.5
expirationTime: 1642748647
network: "mainnet"
startAmount: 1
tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb"
tokenId: "926"
tokenType: "ERC721"
userAddress: "0xc092d93795ed6610ecfa9d454d534af3e029375b"
_ApplicationId: "wYSxHFNeSKgj9hUDnBCQJ5dg5XR0xZpIsFG0Vl2w"
_ClientVersion: "js1.0.7"
_InstallationId: "96ca8672-4b18-4c6c-9209-e8805e92210b"
_SessionToken: "r:f3093fd0259dd590f5c82d8cf1fe15bc"
Get Asset and Get Order same error
Playload:
{network: "mainnet", tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb", tokenId: "926",…}
network: "mainnet"
tokenAddress: "0xA905736754e8Caf16020849b370bA056d372e6Cb"
tokenId: "926"
_ApplicationId: "wYSxHFNeSKgj9hUDnBCQJ5dg5XR0xZpIsFG0Vl2w"
_ClientVersion: "js1.0.7"
_InstallationId: "96ca8672-4b18-4c6c-9209-e8805e92210b"
_SessionToken: "r:f3093fd0259dd590f5c82d8cf1fe15bc"
I also checked the version of the OpenSea plugin.
In the admin panel, version 0.0.83. Same as on the plugin page: https://moralis.io/plugins/opensea/
it looks like I get same error, it seems to be a restriction from OpenSea
What can I do with this? How to fix it?
Hey @Den
This is not something you can fix yourself since the error comes directly from OpenSea.
We just contacted them asking to investigate.
Fingers crossed, let’s see what they say.
Any news on this issue?
Hey Dani
Same issue here.
Is this possibly due to the API restrictions OS put in place just recently? There is a slot in the plugin config for OS API key, but it says optional. I suspect it’s not optional any more. The problem is of course that OS is pretty much not handing out API keys any more. To get a key you need to tell them what you want to do and link to your project. How can we link to a project if we haven’t built it yet? Catch 22 here.
I have same problem here when trying to access some resource by address which is posted in opensea…
This makes a lot of functionality in Moralis for NFTs broken now, doesn’t it? OS only giving out keys now if you can show a live project website or github, how we’re supposed to do that in development phase I don’t know.
Moralis NFT API works perfectly https://docs.moralis.io/moralis-server/web3-sdk/nft-api
Opensea plug-in is not moralis tech - it’s just a wrapper around their API so when they have issues the plug-in won’t work - moralis has no control over that