Methods
# static fetchOps(refs, opts) → {Promise}
Loads Ops from the cache by the given procedure referneces, or delegates the job to the specified adapter.
Parameters:
Name | Type | Description |
---|---|---|
refs |
Array | Op references |
opts |
Object | Options |
Promise
# static fetchTx(txid, opts) → {Promise}
Loads a transaction from the cache by the given txid, or delegates to job to the specified adapter.
Parameters:
Name | Type | Description |
---|---|---|
txid |
String | Transaction id |
opts |
Object | Options |
Promise
# static fetchTxBy(query, opts) → {Promise}
Loads a list of transactions from the cache by the given query map, or delegates to job to the specified adapter.
Parameters:
Name | Type | Description |
---|---|---|
query |
Object | Query object |
opts |
Object | Options |
Promise