Type Alias BundleId

Source
pub type BundleId = String;
Expand description

BundleId is expected to be a hash of the contained transaction signatures: fn derive_bundle_id(transactions: &[VersionedTransaction]) -> String { let mut hasher = Sha256::new(); hasher.update(transactions.iter().map(|tx| tx.signatures[0]).join(“,”)); format!(“{:x}”, hasher.finalize()) }

Aliased Type§

struct BundleId { /* private fields */ }