Kujira.Token.Meta (kujira v0.1.80)

Metadata for a token

Summary

Types

@type t() ::
  %Kujira.Token.Meta{
    coingecko_id: String.t() | nil,
    decimals: non_neg_integer(),
    name: String.t(),
    png: String.t() | nil,
    svg: String.t() | nil,
    symbol: String.t()
  }
  | Kujira.Token.Meta.Error.t()

Functions

Link to this function

from_token(channel, token)

@spec from_token(GRPC.Channel.t(), Kujira.Token.t()) :: {:ok, t()}