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 |
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 |
Promise