near-api-js - v7.4.0
    Preparing search index...

    Type Alias TrieSplit

    The result of splitting a memtrie into two possibly even parts, according to memory_usage stored in the trie nodes.

    NOTE: This is an artificial value calculated according to TRIE_COST. Hence, it does not represent actual memory allocation, but the split ratio should be roughly consistent with that.

    type TrieSplit = {
        boundary_account: AccountId;
        left_memory: number;
        right_memory: number;
    }
    Index
    boundary_account: AccountId

    Account ID representing the split path

    left_memory: number

    Total memory_usage of the left part (excluding the split path)

    right_memory: number

    Total memory_usage of the right part (including the split path)