Skip to content
docs

KnownWriteMethod

KnownWriteMethod = "sendTransaction" | "transfer" | "signTransaction" | "sign" | "signTypedData" | "signPermit" | "approve" | "signRaw" | "signNep413" | "signBuilt" | "signTonProof" | "signTonConnectData" | "sendSerialized" | "signCompiled" | "signTransactionMessage" | "revokeDelegation" | "sendSerializedTransaction"

Defined in: kit/src/policies.ts:18

Account methods the policies guard — everything that produces a signature or a broadcast. The known surface is listed; any other method whose name starts with sign, send, approve, revoke or transfer (camelCase boundary) is refused outright behind the wrapper: the policies cannot read what an unlisted method signs (a chain package’s internal helper takes its recipient somewhere the rules never look — scan 2026-10-27 F1), so a new signing method must be listed here, with its intent, before it is reachable. Opting a method out is an explicit, reviewed entry in UNGUARDED_WRITES.