Skip to content

WrappedFallback

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:165

A Fallback or Receive function on a Contract.

WrappedFallback(overrides?): Promise<ContractTransactionResponse>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:166

A Fallback or Receive function on a Contract.

ParameterType
overrides?Omit<TransactionRequest, "to">

Promise<ContractTransactionResponse>

estimateGas(overrides?): Promise<bigint>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:191

Estimate the gas to send a transaction to the contract fallback.

For non-receive fallback, data may be overridden.

ParameterType
overrides?Omit<TransactionRequest, "to">

Promise<bigint>


populateTransaction(overrides?): Promise<ContractTransaction>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:173

Returns a populated transaction that can be used to perform the fallback method.

For non-receive fallback, data may be overridden.

ParameterType
overrides?Omit<TransactionRequest, "to">

Promise<ContractTransaction>


send(overrides?): Promise<ContractTransactionResponse>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:185

Send a transaction to the contract fallback.

For non-receive fallback, data may be overridden.

ParameterType
overrides?Omit<TransactionRequest, "to">

Promise<ContractTransactionResponse>


staticCall(overrides?): Promise<string>;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/contract/types.d.ts:179

Call the contract fallback and return the result.

For non-receive fallback, data may be overridden.

ParameterType
overrides?Omit<TransactionRequest, "to">

Promise<string>