我发现rpc调用中有两列。gasPrice: QUANTITY - gas price provided by the sender in Wei.effectiveGasPrice : QUANTITY - The sum of the base fee and tip paid per unit of gas.
有什么关系呢?我发现,对于某些事务,这两个值是相同的,但对于一些事务,它们是不同的。
tokensNumber} )MetaMask - RPC Error: Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559 Object
我们已经注意到,公分母的共同点是,它们都是在元问询上获得旧的类型0事务形式,而不是新的eip-1559格式,具有优先级等。