snip.api.token¶
Functions
|
Get the metadata of a token. |
Classes
Metadata of a token. |
Module Functions
- snip.api.token.get_metadata(token: Token) TokenMetadata¶
Get the metadata of a token.
This performs a request to the deployment defined in the token to retrieve the metadata of the token.
- Parameters:
token (Token) – The token to retrieve the metadata from.
- Returns:
The metadata of the token.
- Return type:
- Raises:
AuthenticationException – If the token is invalid.