Tooling
Module SDK
Modules
getColdStorageExecutionTime

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

getColdStorageExecutionTime

Get the timestamp when you are able to execute a queued execution on the account.

Usage

const executionTime = await getColdStorageExecutionTime({
  client,
  account,
  executionHash: '0x123...',
})

Parameters

client

  • Type: PublicClient

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

account

The account to get the cold storage execution time for.

executionHash

The hash of the execution to get the time for.

Returns

executionTime

  • Type: Promise<number>

The timestamp after which the queued execution can be executed.