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

Method getTransaction

packages/bitcore-node/src/rpc.ts:93–95  ·  view source on GitHub ↗
(txid: string)

Source from the content-addressed store, hash-verified

91 }
92
93 getTransaction(txid: string) {
94 return this.asyncCall<RPCTransaction>('getrawtransaction', [txid, true]);
95 }
96
97 sendTransaction(rawTx: string | Array<string>) {
98 const txs = typeof rawTx === 'string' ? [rawTx] : rawTx;

Callers

nothing calls this directly

Calls 1

asyncCallMethod · 0.95

Tested by

no test coverage detected