android 端 ETH gas used 獲取流程

一、在發送ETH 或 token交易時,構建好交易須要知道當前交易使用多少gas,能夠經過網絡接口獲取。html 二、接口爲"eth_estimateGas",能夠使用web3j 包,android項目中能夠配置 android implementation ('org.web3j:core:3.3.1-android'){         exclude group: 'com.fasterxm
相關文章
相關標籤/搜索