MCPcopy Index your code
hub / github.com/bitpay/bitcore / sendtoaddress

Method sendtoaddress

packages/bitcore-node/src/rpc.ts:196–199  ·  view source on GitHub ↗
(address: string, value: string | number)

Source from the content-addressed store, hash-verified

194 }
195
196 async sendtoaddress(address: string, value: string | number) {
197 await this.setWallet();
198 return this.call<string>('sendtoaddress', [address, value], this.walletName);
199 }
200}
201
202export interface RPCBlock<T> {

Callers 2

sendBitcoinFunction · 0.80
websocket.test.tsFile · 0.80

Calls 2

setWalletMethod · 0.95
callMethod · 0.95

Tested by 1

sendBitcoinFunction · 0.64