注意: 此页面尚未翻译成中文。以下内容为英文原版。A Fallback or Receive function on a Contract.
Parameter | Type | Description |
---|---|---|
overrides ? | Omit <TransactionRequest , "to" > | The transaction overrides. |
Promise
<ContractTransactionResponse
>
A promise resolving to the transaction response.
data
may be overridden.
Parameter | Type | Description |
---|---|---|
overrides ? | Omit <TransactionRequest , "to" > | The transaction overrides. |
Promise
<bigint
>
A promise resolving to the estimated gas.
data
may be overridden.
Parameter | Type | Description |
---|---|---|
overrides ? | Omit <TransactionRequest , "to" > | The transaction overrides. |
Promise
<ContractTransaction
>
A promise resolving to the populated transaction.
data
may be overridden.
Parameter | Type | Description |
---|---|---|
overrides ? | Omit <TransactionRequest , "to" > | The transaction overrides. |
Promise
<ContractTransactionResponse
>
A promise resolving to the transaction response.
data
may be overridden.
Parameter | Type | Description |
---|---|---|
overrides ? | Omit <TransactionRequest , "to" > | The transaction overrides. |
Promise
<string
>
A promise resolving to the result of the call.