From 4d6582e8c868ed35a71b4a8c7cf59332b0c7c752 Mon Sep 17 00:00:00 2001 From: George Date: Wed, 9 Oct 2024 16:20:16 -0400 Subject: [PATCH] Add transaction hash to getTransaction as well --- cmd/soroban-rpc/internal/methods/get_transaction.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/soroban-rpc/internal/methods/get_transaction.go b/cmd/soroban-rpc/internal/methods/get_transaction.go index e6882b96..cafbc5c4 100644 --- a/cmd/soroban-rpc/internal/methods/get_transaction.go +++ b/cmd/soroban-rpc/internal/methods/get_transaction.go @@ -111,6 +111,7 @@ func GetTransaction( response.FeeBump = tx.FeeBump response.Ledger = tx.Ledger.Sequence response.LedgerCloseTime = tx.Ledger.CloseTime + response.TransactionHash = tx.TransactionHash switch request.Format { case FormatJSON: