Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.67 KB

README.md

File metadata and controls

50 lines (30 loc) · 1.67 KB

token-overlay-services

Topic Manager and Lookup Service for token overlays

API

Table of Contents

TokenLookupService

Implements a lookup service for tokens

Parameters

  • $0 Object

    • $0.storageEngine
    • $0.topics (optional, default [])

TokenTopicManager

Implements a topic manager for token management

identifyAdmissibleOutputs

Returns the outputs from the transaction that are admissible.

Parameters
  • $0 {previousUTXOs: Array<Output>, parsedTransaction: Transaction}

    • $0.previousUTXOs
    • $0.parsedTransaction
  • object all params given in an object

  • previousUTXOs any previous UTXOs

  • parsedTransaction transaction containing outputs to admit into the current topic

Returns Promise<(Array<number> | AdmissableOutputs)>

License

The license for the code in this repository is the Open BSV License.