Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
正如标题所说,我正在尝试获取 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()
有谁知道如何计算税款?
谢谢