Skip to content

Commit 756e2cd

Browse files
docs: add multicall verbose to network API docs
1 parent a4641ec commit 756e2cd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/api-network.rst

+15
Original file line numberDiff line numberDiff line change
@@ -1900,6 +1900,21 @@ Multicall Attributes
19001900
... brownie.multicall.block_number
19011901
12733683
19021902
1903+
.. py:attribute:: Multicall.default_verbosity
1904+
1905+
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.
1906+
1907+
.. code-block:: python
1908+
1909+
>>> multicall.default_verbosity = True
1910+
1911+
You can also enable verbosity for individual multicalls by setting the `verbose` keyword:
1912+
1913+
.. code-block:: python
1914+
1915+
>>> with brownie.multicall(verbose=True):
1916+
...
1917+
19031918
Multicall Methods
19041919
*****************
19051920

0 commit comments

Comments
 (0)