• Create a CBOR-compatible contract address from numeric index (and optional subindex).

    Returns

    CborContractAddress instance representing the provided (index, subindex).

    Throws

    If index or subindex is negative (negative).

    Throws

    if index of subindex exceed MAX_U64 (exceedsMaxValue).

    Parameters

    • index: NumLike

      Index of the contract (string | number | bigint accepted, coerced via BigInt()).

    • Optional subindex: NumLike

      Optional subindex of the contract (same coercion rules). If 0, the value is omitted.

    Returns CborContractAddress

Generated using TypeDoc