我在投币支付网关上工作,我想生成带有地址和金额的二维码。如何通过地址在谷歌图表api中传递金额?
这段代码非常适合比特币:
<img width="220" height="220" src="https://blockchain.info/qr?data=ethereum:<?php echo $result['result']['address']; ?>?amount=<?php echo $result['result']['amount']; ?>%26label=example%2520label">
但这两者都没有通过地址获得金额
<center><img width="220" height="220" alt="bitcoin" src="http://chart.apis.google.com/chart?cht=qr&chs=500x500&chl=Ethereum:<?php echo $result['result']['address']; ?>&chld=H|0"></center>
<center><img width="220" height="220" alt="bitcoin" src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl=ethereum:0x<?php echo $result['result']['address']; ?>&choe=UTF-8"></center>`