Appearance
Interface: TokensApi
The methods of Talkline.tokens.
Methods
introspect()
ts
introspect(token): Promise<Introspection>;POST /v1/tokens/introspect: verifies a token as signaling will — and spends it.
Parameters
| Parameter | Type |
|---|---|
token | string |
Returns
Promise<Introspection>
mint()
ts
mint(body): Promise<MintedToken>;POST /v1/tokens: minted by the server, a round trip that mintToken does not cost.
Parameters
| Parameter | Type |
|---|---|
body | MintTokenRequest |
Returns
Promise<MintedToken>