Skip to content
docs

actionKey

actionKey(a): "stake" | "createAccount" | "deployContract" | "functionCall" | "transfer" | "addKey" | "deleteKey" | "deleteAccount" | "signedDelegate" | "deployGlobalContract" | "useGlobalContract"

Defined in: wallet-near/src/borsh.ts:123

The one key an action object has. Two keys (a deleteAccount next to a functionCall) is no action: whichever a reader picks, another reader may pick the other (scan 2026-10-27 F6).

NearAction

"stake" | "createAccount" | "deployContract" | "functionCall" | "transfer" | "addKey" | "deleteKey" | "deleteAccount" | "signedDelegate" | "deployGlobalContract" | "useGlobalContract"