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 to execute multiple credit actions in a single atomic transaction.

owner
string
required

The owner's wallet address that controls the Credit Account.

chain
enum<string>
required

Target blockchain network where the bundled actions will execute.

Available options:
arbitrum,
base,
bsc,
ethereum,
hyperevm,
tempo
actions
CreditUserOperation · object[]
required

List of actions to bundle. Actions are executed in order.

Required array length: 1 - 20 elements
gas_sponsorship
boolean
default:false

If true, returns EIP-712 typed data for gas-sponsored execution.

Response

Successful Response

actions_count
integer
required

Number of individual transactions bundled in this execution.

Example:

3

transaction
UnsignedTransaction · object | null

Unsigned transaction for direct execution by the owner. Present when gas_sponsorship=false.

Example:
eip_712
BatchedSafeOperationsResponse · object | null

EIP-712 typed data for gas-sponsored execution. Present when gas_sponsorship=true. Owner must sign and submit to /gas_sponsorship/prepare.

Example: