bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 523 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* getaddressinfo "address"
*
* Return information about the given bitcoin address.
* Some of the information will only be present if the address is in the active wallet.
*
*/
export function getAddressInfo(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'getaddressinfo', params: methodParams }, bitcoind);
}