bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 629 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* listtransactions ( "label" count skip include_watchonly )
*
* If a label name is provided, this will return only incoming transactions paying to addresses with the specified label.
* Returns up to 'count' most recent transactions skipping the first 'from' transactions.
*
*/
export function listTransactions(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'listtransactions', params: methodParams }, bitcoind);
}