From 5d08ceedf2ebfed9594887be9bfd381cfdd9c44a Mon Sep 17 00:00:00 2001 From: Marc Garreau Date: Tue, 4 Jan 2022 14:37:59 -0700 Subject: [PATCH] add docs for common bsc question --- docs/web3.eth.rst | 8 ++++++++ newsfragments/2289.doc.rst | 1 + 2 files changed, 9 insertions(+) create mode 100644 newsfragments/2289.doc.rst diff --git a/docs/web3.eth.rst b/docs/web3.eth.rst index 9ff4183334..569373a05f 100644 --- a/docs/web3.eth.rst +++ b/docs/web3.eth.rst @@ -3,6 +3,14 @@ web3.eth API .. py:module:: web3.eth +.. warning:: Whoa there, Binance Smart Chain user! Web3.py is an Ethereum-specific library, + which now defaults to "type 2" transactions as of the London network upgrade. BSC apparently + does not support these newer transaction types. + + From issues opened, it seems BSC transactions must include ``gasPrice``, but not ``type``, + ``maxFeePerGas``, or ``maxPriorityFeePerGas``. If you have trouble beyond that, please find an + appropriate BSC forum to raise your question. + .. py:class:: Eth The ``web3.eth`` object exposes the following properties and methods to diff --git a/newsfragments/2289.doc.rst b/newsfragments/2289.doc.rst new file mode 100644 index 0000000000..43373be0b7 --- /dev/null +++ b/newsfragments/2289.doc.rst @@ -0,0 +1 @@ +Address common BSC usage question