From 740faf5222eb4abca7921f4edfef57dc6bd33573 Mon Sep 17 00:00:00 2001 From: gregfromstl Date: Mon, 30 Dec 2024 07:35:36 -1000 Subject: [PATCH] Add erc20Value clarity to buyFromListing --- .../marketplace/direct-listings/write/buyFromListing.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts b/packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts index c28937d11d7..8e3a6b95143 100644 --- a/packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts +++ b/packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts @@ -34,6 +34,8 @@ export type BuyFromListingParams = { * * await sendTransaction({ transaction, account }); * ``` + * + * When using `buyFromListing` with Pay, the `erc20Value` will be automatically set to the listing currency. */ export function buyFromListing( options: BaseTransactionOptions,