MCPcopy
hub / github.com/eth-infinitism/account-abstraction / sendTransaction

Method sendTransaction

src/AASigner.ts:343–349  ·  view source on GitHub ↗
(transaction: Deferrable<TransactionRequest>)

Source from the content-addressed store, hash-verified

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) {

Callers 7

entrypoint.test.tsFile · 0.80
fundFunction · 0.80
runop.tsFile · 0.80
deployMethod · 0.80
deployFactoryMethod · 0.80
runTestMethod · 0.80

Calls 2

_createUserOperationMethod · 0.95
userEventResponseMethod · 0.95

Tested by

no test coverage detected