MCPcopy Create free account
hub / github.com/bitpay/bitcore / sendTransaction

Method sendTransaction

packages/bitcore-node/src/rpc.ts:97–100  ·  view source on GitHub ↗
(rawTx: string | Array<string>)

Source from the content-addressed store, hash-verified

95 }
96
97 sendTransaction(rawTx: string | Array<string>) {
98 const txs = typeof rawTx === 'string' ? [rawTx] : rawTx;
99 return this.asyncCall<string>('sendrawtransaction', txs);
100 }
101
102 decodeScript(hex: string) {
103 return this.asyncCall('decodescript', [hex]);

Callers 2

sendRawTransactionMethod · 0.80
broadcastTransactionMethod · 0.80

Calls 1

asyncCallMethod · 0.95

Tested by

no test coverage detected