From fdf3d5bd9dcf14b74f24265889c902fc9b206619 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 30 Dec 2024 11:36:25 -0600 Subject: [PATCH] [Portal] Fix: Add erc20Value clarity to buyFromListing (#5854) --- .../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,