Skip to main content
The /v1/execute endpoint submits signed quotes for on-chain execution. After receiving a quote and signing the required payloads, this endpoint orchestrates the execution of your multi-chain operations via MEE nodes.

Overview

The execute endpoint:
  1. Accepts signed quotes - Takes the complete quote response with user signatures
  2. Submits to MEE network - Routes transaction to MEE nodes for orchestration
  3. Handles multi-chain execution - Manages cross-chain operations asynchronously
  4. Returns transaction hash - Provides supertransaction hash for tracking
The execute endpoint expects the complete quote response with an updated payloadToSign array containing your signatures. Simply spread the quote and override the payloadToSign field.

Complete Workflow

1

Get Quote

Request a quote from /v1/quote with your operations defined in composeFlows
2

Sign Payloads

Sign the payloads based on the returned quoteType:
  • permit: Sign EIP-712 typed data (gasless)
  • onchain: Send approval transaction and get hash
  • simple: Sign raw message
3

Execute

Submit the entire quote response with signed payloads to /v1/execute
4

Monitor

Track execution using the returned supertxHash on MEE explorer

Request Structure

Request Body

The request body is the complete quote response with an updated payloadToSign array:

Key Fields

Example Requests

Response

Returns execution status and transaction hash:

Response Fields

Monitoring Execution

After receiving the supertxHash, you can:
  1. Track on MEE Explorer: https://meescan.biconomy.io/details/{supertxHash}
  2. Wait for completion using MEE SDK:
For detailed monitoring guidance, see Monitor Execution & Completion.

Complete Example by Mode

With Permit Signature (Gasless Approval)

Error Handling

The endpoint returns appropriate HTTP status codes:

200 Success

400 Bad Request

500 Internal Server Error

Best Practices

Always validate fee amounts and expected outputs before signing:
Implement handlers for all three quote types:
For onchain quote type, always wait for transaction confirmation:
Track supertransaction completion using MEE SDK:
Check the success field and handle errors appropriately: