sendRawUserOperation
Calls eth_sendUserOperation
and returns the hash of the sent UserOperation
(UO).
Usage
example.ts
import { client } from "./client";
const hash = await client.sendRawUserOperation(
{
// ... signed raw user operation
},
"0xEntryPointAddress"
);
Returns
Promise<Hash>
the hash of the sent UO
Parameters
request: UserOperationRequest
The user operation to send
entryPoint: Address
The address of the entry point to send the user operation to