Class

BobAdapter

BobAdapter

Adapter module for loading tapes and Ops from BOB.

Extends

Methods

# static fetchTx(txid, opts) → {Promise}

Fetches a transaction by the given txid, and returns a Promise.

Parameters:
Name Type Description
txid String

Transaction id

opts Object

Options

View Source operate/adapter/bob.js, line 27

Promise

# static fetchTxBy(query, opts) → {Promise}

Fetches a list of transactions by the given query object, and returns a Promise.

The query parameter should be a valid Bitquery. The project attribute cannot be used and unless otherwise specified, limit defaults to 10.

Parameters:
Name Type Description
query Object

Query object

opts Object

Options

View Source operate/adapter/bob.js, line 66

Promise