Performs a dry run for the given contract method and arguments. Is used within contractQuery & contractTx for gas estimation.

  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • contract: ContractPromise
    • method: string
    • options: ContractOptions = ...
    • args: unknown[] = ...

    Returns Promise<ContractCallOutcome>