snap_getInterfaceState
Parameters
id
stringThe interface id.
Returns
{ [x: string]: string | boolean | { addresses: `${string}:${string}:${string}`[]; accountId: string; } | { symbol: string; name: string; asset: `${string}:${string}/${string}:${string}`; } | { name: string; size: number; contentType: string; contents: string; } | Record<string, string | boolean | { addresses: `${string}:${string}:${string}`[]; accountId: string; } | { symbol: string; name: string; asset: `${string}:${string}/${string}:${string}`; } | { name: string; size: number; contentType: string; contents: string; } | null> | null; }
The result returned by the snap_getInterfaceState method, which is the state of the interface.