Skip to content

eth_sendUserOperation

Send a user operation to the bundler.

request example

{
  "jsonrpc": "2.0",
  "id": 0,
  "method": "eth_sendUserOperation",
  "params": [
    {
      "sender": "0x2aE4CA6C56FEb873e7D60F3dee3388C9eAB09837",
      "nonce": "0x943b65046f8e438e8cb465c30be7f1a40000000000000000",
      "initCode": "0x",
      "callData": "0x519454470000000000000000000000004bc54260ec3617b3f73fdb1fa22417ed109f372c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e40fe1597f0000000000000000000000000d3f6ec061a5565512c2bb04897d7190c88e822c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000002ae4ca6c56feb873e7d60f3dee3388c9eab09837000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
      "callGasLimit": "0x19000",
      "verificationGasLimit": "0x17f96",
      "preVerificationGas": "0x754e1",
      "maxFeePerGas": "0x7b585d2",
      "maxPriorityFeePerGas": "0x6422c40",
      "paymasterAndData": "0x4fd9098af9ddcb41da48a1d78f91f1398965addc0000651f847a0000651f85a6000000000000000000000000000000000000000090f640103c6f736b3726ac02378705dfc72e08ac07344c00417e3675a66de444655a7ba9fb99ea6dbfe772c2e5a075d4cd06a51b53bd13865390f8d0dfa0e6da1c",
      "signature": "0x00000000825681fcec822b31acfd842cbeac7288a17a50ac619754558ea7f85146412fc109e8b83330f6f1668a64f7e2022a7b1cd4f54098c10ec7f3cb65c13b69dfd2201c"
    },
    "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"
  ]
}

response exmaple

{
  "id": 0,
  "jsonrpc": "2.0",
  "result": "0x3356e0dc28511337610d66f2c9e957b9512f8e360447085586eaadece2bf2bdb"
}

The result is UserOperationHash.