diff --git a/package.json b/package.json index 48b7f125d..c4adb94e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opensea-js", - "version": "8.0.7", + "version": "8.0.8", "description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data", "license": "MIT", "author": "OpenSea Developers", diff --git a/src/sdk.ts b/src/sdk.ts index f01c48b36..6734e1219 100644 --- a/src/sdk.ts +++ b/src/sdk.ts @@ -28,6 +28,7 @@ import { import { getDefaultConduit, getOfferPaymentToken, + getListingPaymentToken, getSeaportAddress, } from "./utils/utils"; @@ -101,7 +102,9 @@ export class OpenSeaSDK { // Cache decimals for offer and listing payment tokens to skip network request const offerPaymentToken = getOfferPaymentToken(this.chain).toLowerCase(); - const listingPaymentToken = getOfferPaymentToken(this.chain).toLowerCase(); + const listingPaymentToken = getListingPaymentToken( + this.chain, + ).toLowerCase(); this._cachedPaymentTokenDecimals[offerPaymentToken] = 18; this._cachedPaymentTokenDecimals[listingPaymentToken] = 18;