UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

21 lines (17 loc) 554 B
// Auto synced from github actions. Don't change this file import { Bitcoind } from '../../types.js' import request from '../../rpc-request.js' type ListLockUnspentParams = { bitcoind: Bitcoind } /** * listlockunspent * * Returns list of temporarily unspendable outputs. * See the lockunspent call to lock and unlock transactions for spending. * */ export function listLockUnspent(params: ListLockUnspentParams) { const { bitcoind, ...methodParams } = params return request({ method: 'listlockunspent', params: methodParams }, bitcoind) }