Members
Methods
# static loadTape(txid, opts) → {Promise(Tape)}
Loads a tape from the given txid.
Fetches the tape transaction output as well as all of the required functions, and returns a Promise.
Any configuration option can be overridden.
Parameters:
Name | Type | Description |
---|---|---|
txid |
String | Transaction id |
opts |
Object | Options |
# static loadTapesBy(query, opts) → {Promise(Array)}
Loads a tape from the given query.
The expected format of the query will depend on the Adapter in use. The transactions as well as all required functions are loaded and a Proise is returned resolving in a list of Tapes.
Any configuration option can be overridden.
Parameters:
Name | Type | Description |
---|---|---|
query |
Object | Query object |
opts |
Object | Options |