Txbox v0.1.0 Txbox.Transactions.Meta View Source

Transaction metadata embedded schema module.

The transaction metadata is a structured schema for describing human readable metadata about the transaction. The following attributes can be set:

  • :title - The title of the transaction.
  • :description - A short description of the transaction.
  • :image - The url of an approriate preview image for the transaction.
  • :link - The full permalink URL to access the transaction.
  • :content - Markdown formatted content of the transaction.

Link to this section Summary

Types

t()

Transaction metadata schema

Link to this section Types

Specs

t() :: %Txbox.Transactions.Meta{
  content: String.t(),
  description: String.t(),
  image: String.t(),
  link: String.t(),
  title: String.t()
}

Transaction metadata schema