token-overlay-services
v0.2.34
Published
Topic Manager and Lookup Service for token overlays
Downloads
50
Readme
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 objectpreviousUTXOs
any previous UTXOsparsedTransaction
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.