我正在尝试获取 BSC 代币的购买或销售税,但我还没有找到方法。我通过(在本例中为 pancakeswap)查询 DEX router_contract.functions.getAmountsOut(web3.toWei(1, 'Ether'), [ buying_token_address, pair_token]).call(),但我相信这个值不包括代币税。
router_contract.functions.getAmountsOut(web3.toWei(1, 'Ether'), [ buying_token_address, pair_token]).call()
有谁知道如何计算税金?
python ethereum erc20 web3py bep20
bep20 ×1
erc20 ×1
ethereum ×1
python ×1
web3py ×1