Get the supertransaction quote for instructions
Overview
The/v1/mee/quote
endpoint takes instructions generated from other endpoints (intent
, intent-simple
, build
, or compose
) and returns a quote with fee details and payloads to sign. Users can optionally specify a fee token to pay for gas in any of 10,000+ supported ERC-20 tokens.
How It Works
The quote endpoint:- Accepts instructions - Takes the instruction array from previous endpoint responses
- Calculates fees - Determines gas costs and orchestration fees
- Supports fee tokens - Optional
feeToken
parameter enables gas payment in 10,000+ ERC-20 tokens - Returns signable payloads - Provides the data that needs to be signed for execution
Request Structure
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
mode | string | Yes | Execution mode: smart-account , eoa , or eoa-7702 |
ownerAddress | string | Yes | EOA wallet address (owner of the orchestrator account) |
instructions | array | Yes | Instructions array from previous endpoints (min 1 item) |
feeToken | object | No | Token for gas payment (if not specified, sponsorship will be used) |
fundingTokens | array | No | Tokens to deposit for MEE fusion execution |
authorizations | array | No | EIP-7702 authorization signatures for delegation |
lowerBoundTimestamp | number | No | Lower bound timestamp for user operation |
upperBoundTimestamp | number | No | Upper bound timestamp for user operation |
Fee Token Configuration
ThefeeToken
parameter allows gas payment in ERC-20 tokens:
Funding Tokens
Optional array for token deposits:EIP-7702 Authorization
For EOA delegation:Example Request
Response
Returns a quote with fee details and payloads to sign:Response Fields
Field | Type | Description |
---|---|---|
ownerAddress | string | Owner wallet address |
fee | object | Fee details including amount, token, and chain |
quoteType | string | Type of signature required: permit , onchain , or simple |
quote | object | MEE network compatible quote information |
quote.hash | string | Supertransaction hash |
quote.node | string | EVM address of the node providing the quote |
quote.commitment | string | Node’s commitment hash |
quote.paymentInfo | object | Payment details for the transaction |
quote.userOps | array | Array of MEE UserOperation objects |
payloadToSign | array | Payloads that need to be signed |