return effectiveGasPrice in GetTransactionReceipt

This commit is contained in:
i-norden
2023-04-14 17:33:27 +08:00
committed by roysc
parent db4bd5183e
commit ec6707c6ab
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -623,6 +623,7 @@ func (pea *PublicEthAPI) localGetTransactionReceipt(ctx context.Context, hash co
"contractAddress": nil,
"logs": receipt.Logs,
"logsBloom": receipt.Bloom,
"effectiveGasPrice": (*hexutil.Big)(receipt.EffectiveGasPrice),
}
// Assign receipt status or post state.