Skip to content

SecurityWarning

Defined in: packages/sdk/src/decode/types.ts:193

A risk the wallet should show next to the decoded call.

message: string

Defined in: packages/sdk/src/decode/types.ts:196


optional path?: string

Defined in: packages/sdk/src/decode/types.ts:198

Field path the warning refers to, when it is about one field.


severity: "high" | "medium" | "low"

Defined in: packages/sdk/src/decode/types.ts:195


type: "untrusted_descriptor" | "no_trusted_attestation" | "infinite_approval" | "dangerous_permissions" | "untrusted_spender" | "ownership_change" | "proxy_upgrade" | "expired_deadline" | "selector_mismatch" | "missing_metadata" | "interpolation_failed"

Defined in: packages/sdk/src/decode/types.ts:194