UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

15 lines (14 loc) 564 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * getrawmempool ( verbose mempool_sequence ) * * Returns all transaction ids in memory pool as a json array of string transaction ids. * Hint: use getmempoolentry to fetch a specific transaction from the mempool. * */ export function getRawMempool(params) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'getrawmempool', params: methodParams }, bitcoind); }