From 875f327a56da6c01feec61dd8e05e9dcfd43db3c Mon Sep 17 00:00:00 2001 From: Brian Ebert Date: Tue, 4 Nov 2025 11:02:56 -0600 Subject: [PATCH] Make result_meta_xdr optional in transaction response Changed result_meta_xdr from String to Option to allow for Horizon not sending field. --- stellar_rust_sdk/src/transactions/response.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stellar_rust_sdk/src/transactions/response.rs b/stellar_rust_sdk/src/transactions/response.rs index 3af8209..75ae825 100644 --- a/stellar_rust_sdk/src/transactions/response.rs +++ b/stellar_rust_sdk/src/transactions/response.rs @@ -137,7 +137,7 @@ pub struct TransactionResponse { /// A base64 encoded string of the raw `TransactionResult` XDR struct for this transaction. result_xdr: String, /// A base64 encoded string of the raw `TransactionMeta` XDR struct for this transaction - result_meta_xdr: String, + result_meta_xdr: Option, /// A base64 encoded string of the raw `L`edgerEntryChanges` XDR struct produced by taking fees for this transaction. fee_meta_xdr: String, /// The optional memo attached to a transaction.