Tooling
Module SDK
Modules
getOwnableValidatorThreshold

⚠️ 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)

getOwnableValidatorThreshold

Get the current threshold of the ownable validator.

Usage

const threshold = await getOwnableValidatorThreshold({
  client,
  account,
})

Parameters

client

  • Type: PublicClient

The rpc client to use for the chain you want to query.

account

The account to get the threshold for.

Returns

threshold

The current threshold on the ownable validtor.