Create a CBOR-compatible contract address from numeric index (and optional subindex).
CborContractAddress instance representing the provided (index, subindex).
If index or subindex is negative (negative).
if index of subindex exceed MAX_U64 (exceedsMaxValue).
Index of the contract (string | number | bigint accepted, coerced via BigInt()).
Optional
Optional subindex of the contract (same coercion rules). If 0, the value is omitted.
0
Generated using TypeDoc
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).