Skip to content

TypedString

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:64

A Typed that represents a UTF-8 sequence of bytes.

readonly _typedSymbol: Symbol;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:90

@_ignore:

Typed._typedSymbol


readonly type: string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:82

The type, as a Solidity-compatible type.

Typed.type


value: string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:68

The value.

Typed.value

get arrayLength(): null | number;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:132

Returns the length of the array type or -1 if it is dynamic.

Throws if the type is not an array.

null | number

Typed.arrayLength


get tupleName(): null | string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:126

Returns the tuple name, if this is a tuple. Throws otherwise.

null | string

Typed.tupleName

defaultValue(): string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:72

The default value for the string type is the empty string (i.e. "").

string

Typed.defaultValue


format(): string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:98

Format the type as a Human-Readable type.

string

Typed.format


isBigInt(): this is TypedBigInt;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:114

Returns true and provides a type guard is this is a [[TypedBigInt]].

this is TypedBigInt

Typed.isBigInt


isData(): this is TypedData;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:118

Returns true and provides a type guard is this is a [[TypedData]].

this is TypedData

Typed.isData


isString(): this is TypedString;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:122

Returns true and provides a type guard is this is a [[TypedString]].

this is TypedString

Typed.isString


maxValue(): string | number | bigint;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:110

The maximum value for numeric types.

string | number | bigint

Typed.maxValue


minValue(): string | number | bigint;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/typed.d.ts:106

The minimum value for numeric types.

string | number | bigint

Typed.minValue