Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get current pen information.
static getPenInfo(): Promise<APIResponse<PenInfo>>;
APIResponse<PenInfo>
result
PenInfo
import { PluginCommAPI } from 'sn-plugin-lib'; export async function exampleGetPenInfo() { const res = await PluginCommAPI.getPenInfo(); if (!res.success) { throw new Error(res.error?.message ?? 'getPenInfo call failed'); } return res.result; }