- contractTx(api, account, contract, method, options?, args?, statusCb?, signerOptions?): Promise<ContractTxResult>
Parameters
- api: ApiPromise
- account: string | IKeyringPair
- contract: ContractPromise
- method: string
- options: ContractOptions = ...
- args: unknown[] = ...
Optional
statusCb: ((result: ISubmittableResult) => void | Promise<void>)- (result): void | Promise<void>
Parameters
- result: ISubmittableResult
Returns void | Promise<void>
- signerOptions: Partial<SignerOptions> = ...