agent/request_id library

Classes

ToHashable

Functions

compareLists<T extends Comparable<T>>(List<T> a, List<T> b) int
compareListsBy<T>(List<T> a, List<T> b, int compare(T a, T b)) int
concat(List<BinaryBlob> bs) BinaryBlob
hash(Uint8List data) BinaryBlob
hashString(String value) BinaryBlob
hashValue(dynamic value) BinaryBlob
requestIdOf(Map<String, dynamic> request) RequestId
Get the RequestId of the provided ic-ref request. RequestId is the result of the representation-independent-hash function. https://sdk.dfinity.org/docs/interface-spec/index.html#hash-of-map @param request - ic-ref request to hash into RequestId
requestIdToHex(RequestId requestId) String