Tooling
Module SDK
Modules
acceptanceCommandTemplates

⚠️ Deprecation Notice

ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.

Rhinestone SDK Documentation (opens in a new tab)

acceptanceCommandTemplates

Get the command templates used for guardian acceptance emails. These templates define the structure of valid acceptance commands.

Usage

const templates = await acceptanceCommandTemplates({
  client: publicClient,
})

Parameters

client

  • Type: PublicClient

The public client instance used to interact with the blockchain.

Returns

templates

  • Type: Promise<readonly (readonly string[])[]>

Returns a two-dimensional array of strings representing acceptance command templates.

If the contract call fails, returns an empty array.