Skip to content

FallbackFragment

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:373

A Fragment which represents a method.

new FallbackFragment(
guard,
inputs,
payable): FallbackFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:378

ParameterType
guardany
inputsreadonly ParamType[]
payableboolean

FallbackFragment

Fragment.constructor
readonly inputs: readonly ParamType[];

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:231

The inputs for the fragment.

Fragment.inputs


readonly payable: boolean;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:377

If the function can be sent value during invocation.


readonly type: FragmentType;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:227

The type of the fragment.

Fragment.type

format(format?): string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:382

Returns a string representation of this fallback as %%format%%.

ParameterType
format?FormatType

string

Fragment.format


static from(obj): FallbackFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:386

Returns a new FallbackFragment for %%obj%%.

ParameterType
objany

FallbackFragment

Fragment.from


static isConstructor(value): value is ConstructorFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:248

Returns true if %%value%% is a [[ConstructorFragment]].

ParameterType
valueany

value is ConstructorFragment

Fragment.isConstructor


static isError(value): value is ErrorFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:252

Returns true if %%value%% is an [[ErrorFragment]].

ParameterType
valueany

value is ErrorFragment

Fragment.isError


static isEvent(value): value is EventFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:256

Returns true if %%value%% is an [[EventFragment]].

ParameterType
valueany

value is EventFragment

Fragment.isEvent


static isFragment(value): value is FallbackFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:391

Returns true and provides a type guard if %%value%% is a FallbackFragment.

ParameterType
valueany

value is FallbackFragment


static isFunction(value): value is FunctionFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:260

Returns true if %%value%% is a [[FunctionFragment]].

ParameterType
valueany

value is FunctionFragment

Fragment.isFunction


static isStruct(value): value is StructFragment;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:264

Returns true if %%value%% is a [[StructFragment]].

ParameterType
valueany

value is StructFragment

Fragment.isStruct