참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.A Fallback or Receive function on a Contract.
Parameters
| Parameter | Type | Description |
|---|---|---|
overrides? | Omit<TransactionRequest, "to"> | The transaction overrides. |
Returns
Promise<ContractTransactionResponse>
A promise resolving to the transaction response.
Source
contract/types.ts:271Methods
estimateGas()
data may be overridden.
Parameters
| Parameter | Type | Description |
|---|---|---|
overrides? | Omit<TransactionRequest, "to"> | The transaction overrides. |
Returns
Promise<bigint>
A promise resolving to the estimated gas.
Source
contract/types.ts:311populateTransaction()
data may be overridden.
Parameters
| Parameter | Type | Description |
|---|---|---|
overrides? | Omit<TransactionRequest, "to"> | The transaction overrides. |
Returns
Promise<ContractTransaction>
A promise resolving to the populated transaction.
Source
contract/types.ts:281send()
data may be overridden.
Parameters
| Parameter | Type | Description |
|---|---|---|
overrides? | Omit<TransactionRequest, "to"> | The transaction overrides. |
Returns
Promise<ContractTransactionResponse>
A promise resolving to the transaction response.
Source
contract/types.ts:301staticCall()
data may be overridden.
Parameters
| Parameter | Type | Description |
|---|---|---|
overrides? | Omit<TransactionRequest, "to"> | The transaction overrides. |
Returns
Promise<string>
A promise resolving to the result of the call.
