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

    Type Alias ShardLayoutV2

    Counterpart to ShardLayoutV2 composed of maps with string keys to aid serde serialization.

    type ShardLayoutV2 = {
        boundary_accounts: AccountId[];
        id_to_index_map: { [key: string]: number };
        index_to_id_map: { [key: string]: number };
        shard_ids: ShardId[];
        shards_parent_map?: { [key: string]: number } | null;
        shards_split_map?: { [key: string]: number[] } | null;
        version: number;
    }
    Index

    Properties

    boundary_accounts: AccountId[]
    id_to_index_map: { [key: string]: number }
    index_to_id_map: { [key: string]: number }
    shard_ids: ShardId[]
    shards_parent_map?: { [key: string]: number } | null
    shards_split_map?: { [key: string]: number[] } | null
    version: number