From 37e4a06ab4fc7cec29120c1e5f58d65ffd428b4e 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 556f23cd..1d56206c 100644 --- a/cmd/soroban-rpc/internal/methods/get_transaction.go +++ b/cmd/soroban-rpc/internal/methods/get_transaction.go @@ -138,6 +138,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: