Skip to main content
  • Snap

snap_getInterfaceState

Parameters

id

string

The interface id.

Returns

Record<string, { addresses: `${string}:${string}:${string}`[]; accountId: string } | { name: string; size: number; contentType: string; contents: string } | { symbol: string; name: string; asset: `${string}:${string}/${string}:${string}` } | boolean | Record<string, { addresses: `${string}:${string}:${string}`[]; accountId: string; } | { name: string; size: number; contentType: string; contents: string; } | { symbol: string; name: string; asset: `${string}:${string}/${string}:${string}`; } | boolean | string | null> | string | null>

The result returned by the snap_getInterfaceState method, which is the state of the interface.