Skip to content

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.

ParameterTypeDescription
clientClient<Transport, Chain>The client to use.
optionsGetExpiryOptionsThe options to use.

Promise<bigint>

The account info including funds, lockup details, and available balance.

  • ReadContractErrorType if the read contract fails.