Skip to content

Latest commit

 

History

History
79 lines (45 loc) · 1.56 KB

File metadata and controls

79 lines (45 loc) · 1.56 KB

@soulwallet/decoder / Modules

@soulwallet/decoder

Table of contents

Enumerations

Classes

Interfaces

Type Aliases

Functions

Type Aliases

Result

Ƭ Result<T, E>: Ok<T, E> | Err<T, E>

Defines a Result type, which can be either Ok or Err.

Type parameters

Name
T
E

Defined in

soulwallet-result/lib.esm/Result.d.ts:4

Functions

DecodeUserOp

DecodeUserOp(chainId, entrypoint, userOperations): Promise<Result<DecodeResult[], Error>>

Decode the transaction data (userOp.calldata, interaction from soulwallet contract only).

Parameters

Name Type Description
chainId number
entrypoint string contract address
userOperations IUserOperation -

Returns

Promise<Result<DecodeResult[], Error>>

{Promise<Result<DecodeResult[], Error>>}

Static

Memberof

Decoder

Defined in

soulwallet-decoder/src/decoder.ts:169