Skip to content

Commit fdf3d5b

Browse files
authored
[Portal] Fix: Add erc20Value clarity to buyFromListing (#5854)
1 parent 31d11fa commit fdf3d5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/thirdweb/src/extensions/marketplace/direct-listings/write/buyFromListing.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export type BuyFromListingParams = {
3434
*
3535
* await sendTransaction({ transaction, account });
3636
* ```
37+
*
38+
* When using `buyFromListing` with Pay, the `erc20Value` will be automatically set to the listing currency.
3739
*/
3840
export function buyFromListing(
3941
options: BaseTransactionOptions<BuyFromListingParams>,

0 commit comments

Comments
 (0)