Hi all I’m using this server url: https://auove3impct1.usemoralis.com:2053/ and whenever the OpenSea post order executes it responds with a 502 error. Please see attached console log:
Please help and let me know.Hi,
What is the payload that you send, on what chain?
any message in that response?
{“network”:“testnet”,“tokenAddress”:“0x447e265c12b0d8456f49676bbeeef8ee0e1a905c”,“tokenId”:2,“tokenType”:“ERC721”,“userAddress”:“0x55b5f999f01afb57c1a12eedadfa60ac20568839”,“startAmount”:“0.3”,“endAmount”:“0.29”,“expirationTime”:1657224512,"_ApplicationId":“UTXuksOchvpn3kDAheA0Oz8Z6mIrvDoRe5V483NC”,"_ClientVersion":“js1.8.1”,"_InstallationId":“d2515cf2-b48f-4281-91a2-3139f21535fd”,"_SessionToken":“r:234234”} on rinkeby!
same data as this post:
?
We are working together on this project actually
try to use WEI for that amount, instead of 0.29 to be something like 290000000000000 (this is not the exact value, only an example)
I have converted it to wei
{“network”:“testnet”,“tokenAddress”:“0x447e265c12b0d8456f49676bbeeef8ee0e1a905c”,“tokenId”:4,“tokenType”:“ERC721”,“userAddress”:“0x55b5f999f01afb57c1a12eedadfa60ac20568839”,“startAmount”:“300000000000000000”,“endAmount”:“290000000000000000”,“expirationTime”:1657303169,"_ApplicationId":“UTXuksOchvpn3kDAheA0Oz8Z6mIrvDoRe5V483NC”,"_ClientVersion":“js1.8.0”,"_InstallationId":“eb809d5c-1dab-403f-8303-60113e76dc63”,"_SessionToken":“r:35875a4fe040830442e849de6a5d717a”}
still postOrder is failing
request payload for post order is
{“message”:"{“types”:{“EIP712Domain”:[{“name”:“name”,“type”:“string”},{“name”:“version”,“type”:“string”},{“name”:“chainId”,“type”:“uint256”},{“name”:“verifyingContract”,“type”:“address”}],“Order”:[{“name”:“exchange”,“type”:“address”},{“name”:“maker”,“type”:“address”},{“name”:“taker”,“type”:“address”},{“name”:“makerRelayerFee”,“type”:“uint256”},{“name”:“takerRelayerFee”,“type”:“uint256”},{“name”:“makerProtocolFee”,“type”:“uint256”},{“name”:“takerProtocolFee”,“type”:“uint256”},{“name”:“feeRecipient”,“type”:“address”},{“name”:“feeMethod”,“type”:“uint8”},{“name”:“side”,“type”:“uint8”},{“name”:“saleKind”,“type”:“uint8”},{“name”:“target”,“type”:“address”},{“name”:“howToCall”,“type”:“uint8”},{“name”:“calldata”,“type”:“bytes”},{“name”:“replacementPattern”,“type”:“bytes”},{“name”:“staticTarget”,“type”:“address”},{“name”:“staticExtradata”,“type”:“bytes”},{“name”:“paymentToken”,“type”:“address”},{“name”:“basePrice”,“type”:“uint256”},{“name”:“extra”,“type”:“uint256”},{“name”:“listingTime”,“type”:“uint256”},{“name”:“expirationTime”,“type”:“uint256”},{“name”:“salt”,“type”:“uint256”},{“name”:“nonce”,“type”:“uint256”}]},“domain”:{“name”:“Wyvern Exchange Contract”,“version”:“2.3”,“chainId”:4,“verifyingContract”:“0xdd54d660178b28f6033a953b0e55073cfa7e3744”},“primaryType”:“Order”,“message”:{“maker”:“0x55b5f999f01afb57c1a12eedadfa60ac20568839”,“exchange”:“0xdd54d660178b28f6033a953b0e55073cfa7e3744”,“taker”:“0x0000000000000000000000000000000000000000”,“makerRelayerFee”:“250”,“takerRelayerFee”:“0”,“makerProtocolFee”:“0”,“takerProtocolFee”:“0”,“feeRecipient”:“0x5b3256965e7c3cf26e11fcaf296dfc8807c01073”,“feeMethod”:1,“side”:1,“saleKind”:1,“target”:“0x447e265c12b0d8456f49676bbeeef8ee0e1a905c”,“howToCall”:0,“calldata”:“0x23b872dd00000000000000000000000055b5f999f01afb57c1a12eedadfa60ac2056883900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004”,“replacementPattern”:“0x000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000”,“staticTarget”:“0x0000000000000000000000000000000000000000”,“staticExtradata”:“0x”,“paymentToken”:“0x0000000000000000000000000000000000000000”,“basePrice”:“300000000000000000000000000000000000”,“extra”:“10000000000000000000000000000000000”,“listingTime”:“1657299477”,“expirationTime”:“1657303169”,“salt”:“75881639447718648994744769966839365430216416546271016294301609840938728010806”,“nonce”:0}}",“orderSide”:1,“signature”:“0x5e6b128c604ef14d84ad4353647d8a2de1715c86935737b93dca698170fb81e24fed92bdbc66bdfe080087ca61f14a1c1a415b0f33ccc9fa643d5333eb72292f1c”,"_ApplicationId":“UTXuksOchvpn3kDAheA0Oz8Z6mIrvDoRe5V483NC”,"_ClientVersion":“js1.8.0”,"_InstallationId":“eb809d5c-1dab-403f-8303-60113e76dc63”,"_SessionToken":“r:35875a4fe040830442e849de6a5d717a”}
Response:
{“code”:141,“error”:{“status”:502,“headers”:{“x-powered-by”:“Express”,“access-control-allow-origin”:"*",“content-type”:“application/json; charset=utf-8”,“content-length”:“14”,“etag”:“W/“e-Tj8n9olBUMQK0x0qT7YAC46tguk””,“x-response-time”:“1307.651ms”,“date”:“Fri, 08 Jul 2022 16:59:47 GMT”,“connection”:“close”},“buffer”:{“type”:“Buffer”,“data”:[123,34,101,114,114,111,114,34,58,116,114,117,101,125]},“text”:"{“error”:true}",“data”:{“error”:true}}}