Kujira.Token (kujira v0.1.80)
Metadata for tokens on the Kujira Blockchain
Summary
Functions
Fetches token information for a specific denom. Will fetch and cache the trace from the chain directly, then query and cache the chain-registry for all other token information
Types
@type t() :: %Kujira.Token{ denom: String.t(), meta: Kujira.Token.Meta.t(), trace: Kujira.Token.Trace.t() | nil }
Functions
Link to this function
from_denom(t1, t2)
@spec from_denom(GRPC.Channel.t(), String.t()) :: {:ok, t()} | {:error, GRPC.RPCError.t()}
Fetches token information for a specific denom. Will fetch and cache the trace from the chain directly, then query and cache the chain-registry for all other token information