Skip to content

decodeUserOp

decodeUserOp(op, options?): Promise<DecodedOperation>

Defined in: packages/sdk/src/decode/decodeUserOp.ts:31

Decode an ERC-4337 UserOperation for eth-infinitism Simple Account only.

  • execute(dest, value, data) → one child; root mirrors the child’s source / confidence / trust / intent (inner contract, not EntryPoint).
  • executeBatch → N children; root joins intents with " and ".

Other account factories are out of scope.

UserOpInput

DecodeOptions

Promise<DecodedOperation>