Closed Deveshb15 closed 2 years ago
This is the entire error data basically
"data": {
"error": true,
"data": {
"code": 500003,
"message": "Cannot generate a valid web3 transaction payload",
"details": {
"method": "fulfillOrder",
"network": "rinkeby",
"userAddress": "0xaf74a825b50f5aabd894960781717b6c8f0787dd",
"order": {
"hash": "0x4bea3366996ad77746cde8c94a5438383644572b4c8e0278052888d5769f1d81",
"cancelledOrFinalized": false,
"markedInvalid": false,
"metadata": {
"asset": {
"id": "1",
"address": "0xe087347de9d3c9e95f7b5ca3fc1b324db7a33992"
},
"schema": "ERC721"
},
"quantity": "1",
"exchange": "0xdd54d660178b28f6033a953b0e55073cfa7e3744",
"makerAccount": {
"user": 26473,
"profile_img_url": "https://storage.googleapis.com/opensea-static/opensea-profile/31.png",
"address": "0xf44bfa57b61459ca40a3ca21fb809d09088804ed",
"config": ""
},
"takerAccount": {
"user": 803,
"profile_img_url": "https://storage.googleapis.com/opensea-static/opensea-profile/1.png",
"address": "0x0000000000000000000000000000000000000000",
"config": ""
},
"maker": "0xf44bfa57b61459ca40a3ca21fb809d09088804ed",
"taker": "0x0000000000000000000000000000000000000000",
"makerRelayerFee": "0",
"takerRelayerFee": "250",
"makerProtocolFee": "0",
"takerProtocolFee": "0",
"makerReferrerFee": "0",
"waitingForBestCounterOrder": false,
"feeMethod": 1,
"feeRecipientAccount": {
"user": 3282,
"profile_img_url": "https://storage.googleapis.com/opensea-static/opensea-profile/28.png",
"address": "0x5b3256965e7c3cf26e11fcaf296dfc8807c01073",
"config": ""
},
"feeRecipient": "0x5b3256965e7c3cf26e11fcaf296dfc8807c01073",
"side": 0,
"saleKind": 0,
"target": "0x45b594792a5cdc008d0de1c1d69faa3d16b3ddc1",
"howToCall": 1,
"calldata": "0xfb16a5950000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f44bfa57b61459ca40a3ca21fb809d09088804ed000000000000000000000000e087347de9d3c9e95f7b5ca3fc1b324db7a339920000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000",
"replacementPattern": "0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"staticTarget": "0x0000000000000000000000000000000000000000",
"staticExtradata": "0x",
"paymentToken": "0xc778417e063141139fce010982780140aa0cd5ab",
"basePrice": "40000000000000000",
"extra": "0",
"currentBounty": "400000000000000",
"currentPrice": "40000000000000000",
"createdTime": "1655133897",
"listingTime": "1655133897",
"expirationTime": "1655393184",
"salt": "8.8520655321894513329332713882033619331147685875091767732820388828312764608179e+76",
"v": 28,
"r": "0x445a4d40bbbd8844282d0ae8359b57f15ff1c7930c62cf9bfd1455f891b5dc98",
"s": "0x313b3d164e5fa288c8aa15685a32a56e206a16d9e3f45ca8d946daf6836916ba",
"paymentTokenContract": {
"name": null,
"symbol": "WETH",
"decimals": 18,
"address": "0xc778417e063141139fce010982780140aa0cd5ab",
"imageUrl": null,
"ethPrice": "1.000000000000000",
"usdPrice": null
},
"asset": {
"tokenId": "1",
"tokenAddress": "0xe087347de9d3c9e95f7b5ca3fc1b324db7a33992",
"name": "DevSnek #1",
"description": "Demo using a small collection of Space Sneks components",
"owner": {
"user": {
"username": null
},
"profile_img_url": "https://storage.googleapis.com/opensea-static/opensea-profile/27.png",
"address": "0x7a8789bfba12a4fe7858b059755795de8c7c4443",
"config": ""
},
"assetContract": {
"name": "SnekLord",
"description": null,
"type": "non-fungible",
"schemaName": "ERC721",
"address": "0xe087347de9d3c9e95f7b5ca3fc1b324db7a33992",
"tokenSymbol": "SLN",
"buyerFeeBasisPoints": 0,
"sellerFeeBasisPoints": 250,
"openseaBuyerFeeBasisPoints": 0,
"openseaSellerFeeBasisPoints": 250,
"devBuyerFeeBasisPoints": 0,
"devSellerFeeBasisPoints": 0,
"imageUrl": null,
"externalLink": null
},
"collection": {
"createdDate": "2022-03-29T07:24:48.159Z",
"name": "SnekLord",
"description": null,
"slug": "sneklord",
"hidden": false,
"featured": false,
"featuredImageUrl": null,
"displayData": {
"card_display_style": "contain",
"images": []
},
"paymentTokens": [],
"openseaBuyerFeeBasisPoints": 0,
"openseaSellerFeeBasisPoints": 250,
"devBuyerFeeBasisPoints": 0,
"devSellerFeeBasisPoints": 0,
"payoutAddress": null,
"imageUrl": null,
"largeImageUrl": null,
"externalLink": null,
"wikiLink": null
},
"orders": null,
"sellOrders": null,
"buyOrders": null,
"imageUrl": "https://lh3.googleusercontent.com/xM1yCw8ROTMduQSv0wA0SUVFy79Zsii3s-n28IbfIdP3gJ2mHjgG4SCLGrzdstHG3ygU5EPDM3JLkwOyyjdsCwNAuAk-GqjEdatn4g=s250",
"imagePreviewUrl": "https://lh3.googleusercontent.com/xM1yCw8ROTMduQSv0wA0SUVFy79Zsii3s-n28IbfIdP3gJ2mHjgG4SCLGrzdstHG3ygU5EPDM3JLkwOyyjdsCwNAuAk-GqjEdatn4g=s250",
"imageUrlOriginal": "ipfs://QmYY7BW6FJDxdDpk1rar45teNXFtJDvsJDvUCxHgNKUwcN/1.png",
"imageUrlThumbnail": "https://lh3.googleusercontent.com/xM1yCw8ROTMduQSv0wA0SUVFy79Zsii3s-n28IbfIdP3gJ2mHjgG4SCLGrzdstHG3ygU5EPDM3JLkwOyyjdsCwNAuAk-GqjEdatn4g=s128",
"externalLink": "https://twitter.com/Deveshb15",
"openseaLink": "https://testnets.opensea.io/assets/rinkeby/0xe087347de9d3c9e95f7b5ca3fc1b324db7a33992/1",
"numSales": 0,
"lastSale": null,
"backgroundColor": null,
"transferFee": null,
"transferFeePaymentToken": null
}
},
"error": "Could not check ERC20 allowance"
}
Updated the plugin and restarted the server it worked lol:)
I have been trying to fulfill an order using the opensea plugin but I get this error
I have used this snippet for fulfilling this order:
In this I have authenticated the user and used his userAddress, for orders I receive this from getOrders
So I tried attaching the entire order once, didn't work, so added order.orders basically the orders array but didn't work, So tried the order.orders[0] i.e. the first object in the orders array still got the same error, console shows this error
Am I missing something over here?