Skip to main content
POST
Python (SDK)

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Body

application/json

Request model for batching user operations.

Used for smart account batching and 5792 batching.

chain
enum<string>
default:arbitrum
required
Available options:
arbitrum,
base,
ethereum
Example:

"arbitrum"

sender
string
required

The address of the transaction sender.

Example:

"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"

operations
UserOperation · object[]
required

List of possible user operations

Example:
estimate_gas
boolean
default:true

Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.

Example:

true

Response

Successful Response

operations
UserOperationResponse · object[]
required

List of user operations to be batched and executed by the smart account.