Fees

Execution Fees

When you execute a task in Mimic, several automated services work behind the scenes — fetching data, validating results, and submitting transactions. Each of these steps has a small cost, combined into what we call the execution fee.

All fees are settled off-chain using Mimic USD Credits, our internal payment system. It can funded anytime with any token from any supported chain.

The exact composition of the total charge for your execution includes:

Concept
Description
Formula

Trigger

Cost of initiating the execution. Cron-based executions pay a small fixed trigger fee; event-based triggers can vary depending on on-chain monitoring.

Cron: 0.00004

Event: 0.1

Relayers

The relayer runs the off-chain task, executes its logic, and confirms the resulting output (intents). Each task is compiled to WASM and executed deterministically by relayers. To ensure fairness Mimic tracks the amount of fuel used during the execution — similar to how gas works on Ethereum.

Base: 0.00004

Fuel: 0.7257 Gwei × unit

Oracles

When the execution needs off-chain data, Mimic’s oracle network provides it. Each data query (e.g., price, subgraph, token list) adds a small cost.

RPC: 0.00000235

Price: 0.0004

Tokens: 0.012

Subgraph: 0.00004235

Validators

Validators verify that the execution results are correct and compliant. Each signature in the validation process incurs a small fee.

Base: 0.00004235

Fuel: 0.7257 Gwei × unit

Intents

If your execution produces multiple output intents (transfers, swaps, or calls), each one adds a minimal per-intent fee.

Per intent: 0.000801

Protocol

A small percentage of the subtotal is added as a protocol fee, which supports the maintenance and operation of Mimic Protocol.

0%

Solver Fees

In addition to the execution fee, solver fees apply when an intent must be fulfilled by an external solver.

Developers can specify how these are paid when creating an intent, through the intent's maxFee property on their task code. Solver fees are separate from execution fees and are negotiated between the protocol and the solver fulfilling the intent.

If preferred, solvers can also be paid using Mimic USD Credits, letting you cover both execution and solver costs from the same off-chain balance. Below is a simplified example showing how to pay solver fees directly with credits:

import { DenominationToken, TokenAmount, TransferBuilder } from '@mimicprotocol/lib-ts'

export default function main(): void {
  const builder = TransferBuilder.forChain(1) // Ethereum mainnet

  // Add any transfers your task requires here...

  // Set the solver's maximum fee, paid in Mimic Credits (denominated in USD)
  // Pay up to 0.5 USD worth of credits
  builder
    .addMaxFee(TokenAmount.fromStringDecimal(DenominationToken.USD(), '0.5')) 
    .build()
    .send()
}

This tells the protocol that the solver can be compensated with up to 0.5 USD worth of Mimic Credits. The credits are automatically deducted from your balance when the solver fulfills the intent.

FAQs

Q: Do I need to hold tokens to pay these fees? No. All payments are off-chain using Mimic Credits. You can fund credits from any token or chain at any time.

Q: Can solver fees exceed the execution fee? Yes — solver fees are independent, and their amount depends on the complexity or competitiveness of the intent.

Q: Are protocol fees always 0%? Currently yes, but this may change as the network scales.

Last updated