upvest v0.1.1 Upvest.Tenancy.Asset View Source

Handles operations related to Assets.

You can:

  • Retrieve an asset
  • List all assets
  • List specific number of assets

For more details see https://doc.upvest.co/reference#assets

Link to this section Summary

Functions

List all Asset

List specific number of Asset

Retrive a(n) Asset by its ID

Link to this section Types

Link to this type

t()

View Source
t() :: %Upvest.Tenancy.Asset{
  exponent: term(),
  id: term(),
  metadata: term(),
  name: term(),
  protocol: term(),
  symbol: term()
}

Link to this section Functions

List all Asset

List specific number of Asset

Link to this function

retrieve(client, id)

View Source
retrieve(Upvest.Client.t(), binary()) ::
  {:ok, Upvest.Tenancy.Asset.t()} | {:error, Upvest.error()}

Retrive a(n) Asset by its ID