ModuleSDK
Modules
getColdStorageExecutionTime

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.