ModuleSDK
Modules
acceptanceCommandTemplates

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.