Skip to content

sendCompressedUserOperation

Submits a compressed user operation to the bundler.

Usage

example.ts
import { pimlicoBundlerClient } from "./client"
 
const userOpHash = await pimlicoBundlerClient.sendCompressedUserOperation({
    compressedUserOperation: "0x3c037f957fde5d87e35d5b8582f6c274343bcf3bc0e0037f957fde5d87e35d5b8582f6c2710d72fc2de0e27f4a6aa",
    inflatorAddress: "0x422f72B27819798986F41c1bede24e76114DE584",
    entryPoint: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
})
/**
 * "0x3c037f957fde5d87e35d5b8582f6c274343bcf3bc0e010d72fc2de0e27f4a6aa"
 */

Returns

  • Type: Hash

The user operation hash.

Parameters

compressedUserOperation

  • Type: Hex

The compressed user operation object.

inflatorAddress

  • Type: Address

The address of the inflator contract that will inflate the compressed user operation.

entryPoint

  • Type: Address

The address of the entry point contract.

JSON-RPC Method

pimlico_sendCompressedUserOperation