Bundle Actions

Combine multiple lending and borrowing operations into one atomic blockchain transaction. This endpoint bundles several protocol actions—each defined by its specific call data—so that they all execute together (or not at all). The approach improves gas efficiency and minimizes the risk of partial execution, making it ideal for complex, multi-step transactions.

💡

Compute Unit Value: 45 (Fixed)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

The request body for a /defi/v1/lendborrow/bundleactions

The request body for a /defi/v1/lendborrow/bundleactions

string
enum

The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.

Allowed:
string
required

An array of strings, where each string represents a specific lending or borrowing operation to execute.

string
required

An array containing the encoded call data payloads corresponding to each action listed in the actions array. Each payload includes the parameters necessary for its respective operation.

string
required

Blockchain address of the sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance and will sign the transaction.

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.

string

Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost.

string

Defines the market or asset standard (e.g., USDC or WETH) to be used in the transaction. If not provided, the default market is set to USDC.

boolean

Flag to include a basis points fee transaction alongside the main transaction when set to true.

boolean

When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json