Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function getAccessTokenExpiration(): Promise<null | number>;
Gets the expiration time of the access token for the current user.

Returns

Promise<null | number> The expiration time of the access token for the current user, or null if no user is signed in.

Example

const accessTokenExpiration = await getAccessTokenExpiration();