注意: このページはまだ日本語に翻訳されていません。以下は英語の原文です。A pure or view method on a Contract.
Extends
ContractMethod<A,R,R>
Type parameters
Parameters
Returns
Promise<R>
A promise resolving to the result of the call.
Source
contract/types.ts:217Properties
Methods
estimateGas()
args.
Parameters
Returns
Promise<bigint>
A promise resolving to the estimated gas.
Inherited from
ContractMethod.estimateGas
Source
contract/types.ts:190getFragment()
args. This can be used to resolve ambiguous method names.
Parameters
Returns
FunctionFragment
The constrained fragment.
Inherited from
ContractMethod.getFragment
Source
contract/types.ts:155populateTransaction()
args.
Parameters
Returns
Promise<ContractTransaction>
A promise resolving to the populated transaction.
Inherited from
ContractMethod.populateTransaction
Source
contract/types.ts:163send()
args.
Parameters
Returns
Promise<ContractTransactionResponse>
A promise resolving to the transaction response.
Inherited from
ContractMethod.send
Source
contract/types.ts:182staticCall()
args and return the value.
If the return value is a single type, it will be dereferenced and returned directly, otherwise the full Result
will be returned.
Parameters
Returns
Promise<R>
A promise resolving to the result of the static call.
Inherited from
ContractMethod.staticCall
Source
contract/types.ts:174staticCallResult()
args and return the Result without any dereferencing.
Parameters
Returns
Promise<Result>
A promise resolving to the Result of the static call.
Inherited from
ContractMethod.staticCallResult
