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