This commit is contained in:
2026-04-25 22:53:36 +02:00
parent b034fdf1c4
commit 60b8841895
8 changed files with 695 additions and 15 deletions

View File

@@ -261,6 +261,23 @@ impl HttpEndpointPool {
)
.await
}
/// Executes `getTransaction` through the pool and returns the raw result value.
pub async fn get_transaction_raw_for_role(
&self,
required_role: &str,
signature: std::string::String,
config: std::option::Option<serde_json::Value>,
) -> Result<serde_json::Value, crate::KbError> {
let client_result = self
.select_client_for_role_and_method(required_role, "getTransaction")
.await;
let client = match client_result {
Ok(client) => client,
Err(error) => return Err(error),
};
client.get_transaction_raw(signature, config).await
}
}
fn kb_pool_build_optional_config_only_params(