Operations and Transactions

An Operation is the unit of write in CRE Connect. It packages one or more EVM transactions into a single, atomic, EIP-712-signed batch that a Smart Account executes on behalf of an application — without the application managing gas, nonces, or relayers. If any transaction in the batch reverts, the entire Operation reverts.

For the underlying signing mechanism and the on-chain execution model, see EIP-712 Signing and Smart Accounts.

Model

An Operation is a small, ordered structure:

FieldMeaning
Wallet operation IDA monotonically-increasing nonce-like value chosen by the application. Used to detect duplicates and to order operations.
AccountThe Smart Account address (the wallet) that will execute the Operation.
DeadlineA Unix timestamp after which the Operation must not be executed. Operations whose deadline has passed are not broadcast.
TransactionsAn ordered list of (to, value, data) triples — exactly the same shape as the standard EVM transaction call, except the sender is the Smart Account, not the EOA that signed the Operation.

End-to-end flow

Signing

Operations are signed with EIP-712 typed data. The CRE Connect EIP-712 domain identifies the Smart Account contract and the chain on which it lives — not just by chain ID, but as a CRE Connect-native authorization domain (see EIP-712 Signing for details).

The signing key can be any of the supported key-management options at launch — local ECDSA keys, AWS KMS, HashiCorp Vault, Fireblocks, Privy, or a custom signer. CRE Connect itself never holds private keys.

Lifecycle

A submitted Operation is observable through the channel's event stream. Its status enum has six values:

Status
Meaning
acceptedCRE Connect accepted the signed Operation; the workflow has not yet picked it up.
sendingThe workflow is preparing the on-chain write.
sentThe transaction has been broadcast to the chain.
broadcastingAwaiting inclusion in a block.
confirmedThe Smart Account emitted OperationExecuted and CRE Connect attested to it via an operation.status event. The on-chain transaction hash is available in the payload.
failedAn unrecoverable error prevented execution. The payload includes the failure reason.

Status transitions are themselves verifiable events — applications consume them through the same channel stream they use for on-chain data.

Atomicity

All transactions in a single Operation execute atomically: the Smart Account either executes every transaction successfully, or it reverts the entire batch. This is the guarantee that makes Operations a useful primitive for multi-step on-chain flows — for example, "approve token + call protocol contract + emit auxiliary log" — that would otherwise require careful retry handling on partial failure.

If an application needs all-or-some semantics (for example, several independent token transfers that should succeed independently), it should submit them as separate Operations — one Operation per transaction.

Get the latest Chainlink content straight to your inbox.