(transaction: Deferrable<TransactionRequest>)
| 341 | } |
| 342 | |
| 343 | async sendTransaction (transaction: Deferrable<TransactionRequest>): Promise<TransactionResponse> { |
| 344 | const userOp = await this._createUserOperation(transaction) |
| 345 | // get response BEFORE sending request: the response waits for events, which might be triggered before the actual send returns. |
| 346 | const response = await this.userEventResponse(userOp) |
| 347 | await this.sendUserOp(userOp) |
| 348 | return response |
| 349 | } |
| 350 | |
| 351 | async syncAccount (): Promise<void> { |
| 352 | if (this._account == null) { |
no test coverage detected