opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

createBuyOrder returning Unable to get current owner from smart contract

Open mncn opened this issue 5 years ago • 6 comments

I'm trying to make an offer through createBuyOrder method to a ERC1155 created by createFactorySellOrders but I'm getting "Unable to get current owner from smart contract". Any ideas?

  const offer = await seaport.createBuyOrder({
      asset: order.asset,
      accountAddress,
      startAmount: parseFloat(amount),
      sellOrder: order,
      schemaName,
  });

Response: Error: Unable to get current owner from smart contract at OpenSeaPort.eval (seaport.js?8b9d:1587)

Everything seems fine when I make an offer on testnets.opensea.io, but got this when trying with the API.

mncn avatar Mar 21 '21 18:03 mncn

Same here. I am having the same error but with using the function seaport.getAssetBalance(). Please let me know if you have found the solution to this. Thank you

swarlezbarkley avatar Apr 01 '21 17:04 swarlezbarkley

Did you guys figure it out? Im getting this issue now @mncn @swarlezbarkley

kzitouni avatar Feb 16 '22 00:02 kzitouni

same when using rinkeby chain

ruskid avatar Feb 16 '22 15:02 ruskid

Just wanted to check in, is this still an ongoing issue for you all?

esteban-OpenSea avatar Mar 21 '22 17:03 esteban-OpenSea

the same to me,how to solve it?

ahjohnwon avatar Jul 05 '22 16:07 ahjohnwon

@esteban-OpenSea I still have this issue in the current opensea-js. What is the solution around it? This issue also occurs in: getAssetBalance

xCozmox avatar Mar 29 '23 21:03 xCozmox