Skip to content

Commit

Permalink
Add to python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 6, 2023
1 parent 769d416 commit 19c1330
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bindings/python/iota_sdk/wallet/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,14 @@ def implicit_account_creation_address(self) -> str:
'implicitAccountCreationAddress'
)

def implicit_accounts(self) -> List[OutputData]:
"""Returns the implicit accounts of the wallet.
"""
outputs = self._call_account_method(
'implicitAccounts'
)
return [from_dict(OutputData, o) for o in outputs]

def incoming_transactions(self) -> List[TransactionWithMetadata]:
"""Returns all incoming transactions of the account.
"""
Expand Down

0 comments on commit 19c1330

Please sign in to comment.