---
title: "Send User Ops"
method: POST
path: "/defi/v1/aa/senduserops"
tags: ["aa"]
---

# Send User Ops

`POST /defi/v1/aa/senduserops`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/aa/senduserops`
- Auth: API key in header `X-API-Key`

This endpoint generates and returns the necessary paymaster parameters for account abstraction. It constructs a user operation payload including sender, recipient, gas, and call data details which can be submitted to execute transactions on the blockchain.

> 💡 
**Compute Unit Value:** `15` (Fixed)

## Request body

- AaSenduseropsRequest: The request body for a /defi/v1/aa/senduserops
  - `chainId` '1' | '56' | '43114' | '137' | '250' | '10' | '11155420' | '42161' | '421614' | '25' | '338' | '84532' | '8453' | '43113' | '97' | '80002' | '300' | '324': The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
  - `chainSymbol` string: The abbreviated chain name for queries or transactions.
  - `userOps` string[], required: Array of user operation objects as per ERC-4337. Defines one or more operations to bundle.
  - `bundler` string, required: The address of the bundler or beneficiary responsible for executing the user operations.
  - `gas` string: Maximum number of gas units to allocate for the transaction, as an integer string (e.g., '200000'). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
