diff options
-rw-r--r-- | internal/ethapi/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 2226bebb1..1be3bb413 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -683,6 +683,7 @@ func (s *PublicBlockChainAPI) GetBlockReceiptsByHash(ctx context.Context, blockH resp := make([]map[string]interface{}, 0, len(receipts)) for _, receipt := range receipts { fields := map[string]interface{}{ + "transactionHash": receipt.TxHash, "gasUsed": hexutil.Uint64(receipt.GasUsed), "cumulativeGasUsed": hexutil.Uint64(receipt.CumulativeGasUsed), "contractAddress": nil, |