Function contractCallDryRun
- contractCallDryRun(api, account, contract, method, options?, args?): Promise<ContractCallOutcome>
Parameters
- api: ApiPromise
- account: string | IKeyringPair
- contract: ContractPromise
- method: string
- options: ContractOptions = ...
- args: unknown[] = ...
Returns Promise<ContractCallOutcome>
Performs a dry run for the given contract method and arguments. Is used within
contractQuery
&contractTx
for gas estimation.