UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

25 lines (21 loc) 587 B
// Auto synced from github actions. Don't change this file import { Bitcoind } from '../../types.js' import request from '../../rpc-request.js' type WalletDisplayAddressParams = { bitcoind: Bitcoind /* bitcoin address to display */ address: string } /** * walletdisplayaddress "address" * * Display address on an external signer for verification. * */ export function walletDisplayAddress(params: WalletDisplayAddressParams) { const { bitcoind, ...methodParams } = params return request( { method: 'walletdisplayaddress', params: methodParams }, bitcoind ) }