Skip to content
docs

decodeCall

decodeCall(call, known?): DecodedCall

Defined in: index.ts:206

Decode one call offline: ERC-20 transfer, approve, Permit2, operator approvals and known selectors. Calldata that is not hex bytes is undecodable, and a permit whose arguments cannot be read is unparsedApproval (both warnings in checksFor), never a plain call.

PreviewCall

Record<string, string> = {}

DecodedCall