Skip to content

v11.1.1

Choose a tag to compare

@ryanio ryanio released this 29 May 17:41

What's Changed

  • fix: correct GetSwapQuoteArgs to match the swap quote endpoint. getSwapQuote now takes { fromChain, fromAddress, toChain, toAddress, quantity, address, slippage?, recipient? }, matching GET /api/v2/swap/quote. The previous { tokenIn, tokenOut, amount, chain } shape did not map to the endpoint's query params. (#364)

Full Changelog: ProjectOpenSea/opensea-devtools@sdk-v11.1.0...sdk-v11.1.1