Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 0108487

Browse files
Adam MajmudarAdam Majmudar
authored andcommitted
Fix approval docs
1 parent 7d223eb commit 0108487

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

thirdweb/core/classes/erc_1155.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def set_approval_for_all(self, operator: str, approved: bool) -> TxReceipt:
318318
319319
```python
320320
operator = "{{wallet_address}}"
321-
approved = "0x..."
321+
approved = true
322322
323323
receipt = contract.erc1155.set_approval_for_all(operator, approved)
324324
```

thirdweb/core/classes/erc_721.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def set_approval_for_all(self, operator: str, approved: bool) -> TxReceipt:
367367
368368
```python
369369
operator = "{{wallet_address}}"
370-
approved = "0x..."
370+
approved = true
371371
372372
receipt = contract.erc721.set_approval_for_all(operator, approved)
373373
```

0 commit comments

Comments
 (0)