⚠️ Deprecation Notice
ModuleSDK was developed by Rhinestone and is no longer actively supported. For new projects, we recommend using the Rhinestone SDK instead.
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
- Type:
Account
The account to get the cold storage execution time for.
executionHash
- Type:
Hex(opens in a new tab)
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.