Skip to content

Function: mintingKeySource()

mintingKeySource(mintUrl, options?): KeySource

Defined in: packages/aiui-oracle/src/keys.ts:227

A mint service: POST the wire session config to a URL we trust (the lab's dev-server mount, the standalone mint server, a channel route later); it answers { value, expires_at } — the same shape the vendor mint returns.

Parameters

mintUrl

string

options?

fetchImpl?

(input, init?) => Promise<Response>

headers?

Record<string, string>

Returns

KeySource