diff --git a/docs/api-network.rst b/docs/api-network.rst index 439f8ca2b..0d2efa2a1 100644 --- a/docs/api-network.rst +++ b/docs/api-network.rst @@ -1900,6 +1900,21 @@ Multicall Attributes ... brownie.multicall.block_number 12733683 +.. py:attribute:: Multicall.default_verbosity + + Default verbosity setting for multicall. Set to ``False`` by default. If set to ``True``, the content of each batched call is printed to the console. This is useful for debugging, to ensure a multicall is performing as expected. + + .. code-block:: python + + >>> multicall.default_verbosity = True + + You can also enable verbosity for individual multicalls by setting the `verbose` keyword: + + .. code-block:: python + + >>> with brownie.multicall(verbose=True): + ... + Multicall Methods *****************