참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.A contract method on a Contract.
Extends
BaseContractMethod<A,R,D>
Extended by
Type parameters
Parameters
Returns
Promise<D>
A promise resolving to the result of the call.
Source
contract/types.ts:206Properties
Methods
estimateGas()
args.
Parameters
Returns
Promise<bigint>
A promise resolving to the estimated gas.
Inherited from
BaseContractMethod.estimateGas
Source
contract/types.ts:190getFragment()
args. This can be used to resolve ambiguous method names.
Parameters
Returns
FunctionFragment
The constrained fragment.
Inherited from
BaseContractMethod.getFragment
Source
contract/types.ts:155populateTransaction()
args.
Parameters
Returns
Promise<ContractTransaction>
A promise resolving to the populated transaction.
Inherited from
BaseContractMethod.populateTransaction
Source
contract/types.ts:163send()
args.
Parameters
Returns
Promise<ContractTransactionResponse>
A promise resolving to the transaction response.
Inherited from
BaseContractMethod.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
BaseContractMethod.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
BaseContractMethod.staticCallResult
