pub fn extract_scval_from_contract_data(
ledger_entries: &GetLedgerEntriesResponse,
context: &str,
) -> Result<ScVal, StellarTransactionUtilsError>Expand description
Extract ScVal from contract data entry.
Parses the first entry from GetLedgerEntriesResponse and extracts the ScVal from ContractDataEntry.
§Arguments
ledger_entries- Response from get_ledger_entriescontext- Context string for error messages and logging
§Returns
ScVal from contract data or error if extraction fails