Skip to content
LogoLogo

createAuthToken

Mint a node session token, so subsequent calls skip the nonce-and-sign round trip.

Usage

const  = await (, ) 
 
// … many calls later
await (, , ) 

Returns

  • Type: Promise<string>

The bearer token.

Parameters

signer

  • Type: Signer

nodeUri

  • Type: string

signal

  • Type: AbortSignal | undefined

See the Ocean Node client guide.