Txbox v0.1.0 Txbox.Transactions.Status View Source

Miner status embedded schema module.

When a new new transaction is added, Txbox automatically syncs with the configured miner's Mercant API and caches the status of the transaction. This means your transaction always has a signed payload from a miner, confirming when the transaction was mined, the block height and hash.

Forr details, refer to the Manic.JSONEnvelope.payload/0.

Link to this section Summary

Types

t()

Miner status schema

Link to this section Types

Specs

t() :: %Txbox.Transactions.Status{
  payload: Manic.JSONEnvelope.payload(),
  public_key: String.t(),
  signature: String.t(),
  verified: boolean()
}

Miner status schema