Skip to content

Commit

Permalink
docs: Add note about method behaviour for accounts which have not opt…
Browse files Browse the repository at this point in the history
…ed in
  • Loading branch information
tristanmenzel committed Apr 6, 2024
1 parent 41800a9 commit 12282b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stubs/algopy-stubs/_reference.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -239,14 +239,16 @@ class Asset:
```
"""
def balance(self, account: Account, /) -> UInt64:
"""Amount of the asset unit held by this account
"""Amount of the asset unit held by this account. Fails if the account has not
opted in to the asset.
```{note}
Asset and supplied Account must be an available resource
```
"""
def frozen(self, account: Account, /) -> bool:
"""Is the asset frozen or not
"""Is the asset frozen or not. Fails if the account has not
opted in to the asset.
```{note}
Asset and supplied Account must be an available resource
Expand Down

0 comments on commit 12282b9

Please sign in to comment.