> ## Documentation Index
> Fetch the complete documentation index at: https://developers.particle.network/llms.txt
> Use this file to discover all available pages before exploring further.

# sendUserOperation

> Learn how to use the sendUserOperation JSON-RPC method.

## Contextualizing `sendUserOperation`

* `sendUserOperation` pushes a signed UserOperation to the network, in this case through the Particle Bundler. It takes:
  * UserOperation object.
  * `entrypointAddress` - string.

***

## Query example

```json JSON theme={null}
{
  "method": "eth_sendUserOperation",
  "params": [
    // user operation
    {
      "sender": "0x8Fb859E944561678be40Cdd2dB16551396c0b074",
      "nonce": "0x0150",
      "initCode": "0x",
      "callData": "0x9e5d4c49000000000000000000000000329a7f8b91ce7479035cb1b5d62ab41845830ce8000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000",
      "callGasLimit": "0xa13c",
      "verificationGasLimit": "0xe2d8",
      "maxFeePerGas": "0x7ca702cd",
      "maxPriorityFeePerGas": "0x7ca702b0",
      "paymasterAndData": "0x000031dd6d9d3a133e663660b959162870d755d4000000000000000000000000329a7f8b91ce7479035cb1b5d62ab41845830ce8000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000416665636080709b968ebec098bf71fb0e79b3b480cc9ff809f192afb478c84ec50ad2de74b93a67860542099b11a1b5dbfa9bc21a2790c58e10015ce992a02f411b00000000000000000000000000000000000000000000000000000000000000",
      "preVerificationGas": "0x011120",
      "signature": "0x7cc0a2ae350b79c5b189bd36d55ab6a2756097d6d37537e3ec2c26daaa82c6d909fed87ff9d79a6fa127bd798126259ee72fa9395ecbeb1f70ed22ca35983aea1c"
    },
    // entrypoint contract address
    "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
  ],
  "id": 1695717470,
  "jsonrpc": "2.0",
  "chainId": 80001
}
```


## OpenAPI

````yaml openapi-bundler POST /#eth_sendUserOperation
openapi: 3.0.0
info:
  title: Particle Network Bundler
  version: 1.0.0
servers:
  - url: https://bundler.particle.network
security: []
paths:
  /#eth_sendUserOperation:
    post:
      summary: sendUserOperation
      operationId: sendUserOperation
      requestBody:
        description: Request to send a user operation.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendUserOperationRequest'
      responses:
        '200':
          description: Successful response with the result of the user operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendUserOperationResponse'
components:
  schemas:
    SendUserOperationRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - eth_sendUserOperation
            params:
              type: array
              description: Parameters for sending a user operation.
              items:
                anyOf:
                  - type: object
                    properties:
                      sender:
                        type: string
                        description: Sender address.
                        example: 0xSenderAddress
                      nonce:
                        type: string
                        description: Nonce value.
                        example: '0x1'
                      initCode:
                        type: string
                        description: Initialization code, optional.
                        example: 0xInitCode
                      callData:
                        type: string
                        description: Call data.
                        example: 0xCallData
                      callGasLimit:
                        type: string
                        description: Gas limit for the call.
                        example: '0x5208'
                      verificationGasLimit:
                        type: string
                        description: Gas limit for verification.
                        example: '0x5208'
                      maxFeePerGas:
                        type: string
                        description: Maximum fee per gas unit.
                        example: '0x3B9ACA00'
                      maxPriorityFeePerGas:
                        type: string
                        description: Maximum priority fee per gas unit.
                        example: '0x3B9ACA00'
                      paymasterAndData:
                        type: string
                        description: Paymaster and data.
                        example: 0xPaymasterData
                      preVerificationGas:
                        type: string
                        description: Gas cost for pre-verification.
                        example: '0x5208'
                      signature:
                        type: string
                        description: Signature.
                        example: 0xSignature
                  - type: string
    SendUserOperationResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: string
              description: Transaction hash of the user operation.
              example: 0xTransactionHash
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The chain ID.
          example: 80001
        method:
          type: string
          description: API method being called.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      required:
        - jsonrpc
        - id
        - result
        - chainId
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        chainId:
          type: integer
          description: The chain ID.
          example: 80001
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}

````