isExpired
function isExpired(client, options): Promise<boolean>;Defined in: packages/synapse-core/src/session-key/actions.ts:52
Check if the session key is expired.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
client | Client<Transport, Chain> | The client to use. |
options | IsExpiredOptions | The options to use. |
Returns
Section titled “Returns”Promise<boolean>
The account info including funds, lockup details, and available balance.
Throws
Section titled “Throws”- ReadContractErrorType if the read contract fails.