- contractQuery(api, address, contract, method, options?, args?): Promise<ContractCallOutcome>
Parameters
- api: ApiPromise
- address: string
- contract: ContractPromise
- method: string
- options: ContractOptions = ...
- args: unknown[] = ...
Returns Promise<ContractCallOutcome>
Calls a given non-mutating contract method (query) with maximum possible gas limit.