更新时间:2024-03-06 GMT+08:00
        
          
          
        
      
      
      
      
      
      
      
      
  
      
      
      
        
eth_maxPriorityFeePerGas
简介
返回每个Gas的费用,这是您可以支付多少优先费用或“小费”的估计,以获得当前区块中包含的交易。该API所消耗的计算单元为109。
参数说明
此方法不接受任何参数。
返回值
十六进制代码编码的当前区块中包含交易的每项 gas 费用。
请求样式
curl https://your-http-endpoint/v1/<API-KEY> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","id":1}'
 
   父主题: 共享版
  
  
    