watch_src20_events_with_key
Watch SRC20 events with an explicit viewing key
Signatures
def watch_src20_events_with_key(
w3: Web3,
*,
viewing_key: Bytes32,
token_address: ChecksumAddress | None = None,
on_transfer: TransferCallback | None = None,
on_approval: ApprovalCallback | None = None,
on_error: ErrorCallback | None = None,
poll_interval: float = 2.0,
from_block: int | str = "latest",
) -> SRC20EventWatcher
async def async_watch_src20_events_with_key(
w3: AsyncWeb3,
*,
viewing_key: Bytes32,
...same keyword args...
) -> AsyncSRC20EventWatcherParameters
Parameter
Type
Default
Description
Returns
Example
Notes
See Also
Last updated

