Skip to content

Address

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / arc4 / Address

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:438

A 32 byte Algorand Address

[index: uint64]: Byte

new Address(value?): Address

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:446

Create a new Address instance

An Account, base 32 address string, or the address bytes

string | bytes | Account

Address

Arc4ArrayBase.constructor

get bytes(): bytes

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:97

Retrieve the encoded bytes for this type

bytes

Arc4ArrayBase.bytes


get length(): uint64

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:240

Returns the current length of this array

uint64

Arc4ArrayBase.length


get native(): Account

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:453

Returns an Account instance for this Address

Account

[iterator](): IterableIterator<Byte>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:277

Returns an iterator for the items in this array

IterableIterator<Byte>

Arc4ArrayBase.[iterator]


at(index): Byte

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:249

Returns the item at the given index. Negative indexes are taken from the end.

Uint64Compat

The index of the item to retrieve

Byte

Arc4ArrayBase.at


entries(): IterableIterator<readonly [uint64, Byte]>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:284

Returns an iterator for a tuple of the indexes and items in this array

IterableIterator<readonly [uint64, Byte]>

Arc4ArrayBase.entries


keys(): IterableIterator<uint64>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:291

Returns an iterator for the indexes in this array

IterableIterator<uint64>

Arc4ArrayBase.keys


slice(): DynamicArray<Byte>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:256

Internal

Create a new Dynamic array with all items from this array

DynamicArray<Byte>

Arc4ArrayBase.slice

slice(end): DynamicArray<Byte>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:262

Internal

Create a new DynamicArray with all items up till end. Negative indexes are taken from the end.

Uint64Compat

An index in which to stop copying items.

DynamicArray<Byte>

Arc4ArrayBase.slice

slice(start, end): DynamicArray<Byte>

Defined in: packages/algo-ts/src/arc4/encoded-types.ts:269

Internal

Create a new DynamicArray with items from start, up until end Negative indexes are taken from the end.

Uint64Compat

An index in which to start copying items.

Uint64Compat

An index in which to stop copying items

DynamicArray<Byte>

Arc4ArrayBase.slice