- class AddressBook(**kwargs)¶
Implements the addressbook api endpoints.
- add(address: str | Address, label: str, **kwargs) AddressBookEntryModel ¶
Adds an entry to the address book.
- remove(label: str, **kwargs) AddressBookEntryModel ¶
Removes an entry from the address book.
- __call__(skip: int | None = None, take: int | None = None, **kwargs) List[AddressBookEntryModel] ¶
Gets the address book entries with option to implement pagination.
skip (int, optional) – The number of entries to skip.
take (int, optional) – The maximum number of entries to take.
A list of address book entries.
- Return type:
APIError – Error thrown by node API. See message for details.
If neither skip or take arguments are specified, returns the entire address book. An address book can be accessed from a wallet, but it is a standalone feature, which is not attached to any wallet.