decodeUserOp
decodeUserOp(
op,options?):Promise<DecodedOperation>
Defined in: packages/sdk/src/decode/decodeUserOp.ts:130
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.
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<DecodedOperation>
Throws
Section titled “Throws”InvalidInputError INVALID_ADDRESS, INVALID_HEX,
INVALID_CALLDATA, or INVALID_CHAIN_ID when sender or callData is not usable.