@shapeshiftoss/unchained-client 1.0.1 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/coinstacks/ethereum/api/src/index.d.ts +2 -0
- package/dist/coinstacks/ethereum/api/src/index.d.ts.map +1 -0
- package/dist/{index.js → coinstacks/ethereum/api/src/index.js} +2 -3
- package/dist/coinstacks/ethereum/api/src/index.js.map +1 -0
- package/dist/coinstacks/ethereum/api/src/websocket.d.ts +21 -0
- package/dist/coinstacks/ethereum/api/src/websocket.d.ts.map +1 -0
- package/dist/coinstacks/ethereum/api/src/websocket.js +64 -0
- package/dist/coinstacks/ethereum/api/src/websocket.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/api.d.ts +304 -11
- package/dist/packages/client/src/generated/bitcoin/api.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/api.js +64 -5
- package/dist/packages/client/src/generated/bitcoin/api.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/base.d.ts +1 -1
- package/dist/packages/client/src/generated/bitcoin/base.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/base.js +1 -1
- package/dist/packages/client/src/generated/bitcoin/base.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/common.d.ts +1 -1
- package/dist/packages/client/src/generated/bitcoin/common.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/common.js +1 -1
- package/dist/packages/client/src/generated/bitcoin/common.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/configuration.d.ts +1 -1
- package/dist/packages/client/src/generated/bitcoin/configuration.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/configuration.js +1 -1
- package/dist/packages/client/src/generated/bitcoin/configuration.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/index.d.ts +1 -1
- package/dist/packages/client/src/generated/bitcoin/index.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/bitcoin/index.js +1 -1
- package/dist/packages/client/src/generated/bitcoin/index.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/api.d.ts +13 -4
- package/dist/packages/client/src/generated/ethereum/api.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/api.js +15 -7
- package/dist/packages/client/src/generated/ethereum/api.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/base.d.ts +1 -1
- package/dist/packages/client/src/generated/ethereum/base.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/base.js +1 -1
- package/dist/packages/client/src/generated/ethereum/base.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/common.d.ts +1 -1
- package/dist/packages/client/src/generated/ethereum/common.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/common.js +1 -1
- package/dist/packages/client/src/generated/ethereum/common.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/configuration.d.ts +1 -1
- package/dist/packages/client/src/generated/ethereum/configuration.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/configuration.js +1 -1
- package/dist/packages/client/src/generated/ethereum/configuration.js.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/index.d.ts +1 -1
- package/dist/packages/client/src/generated/ethereum/index.d.ts.map +1 -0
- package/dist/{generated → packages/client/src/generated}/ethereum/index.js +1 -1
- package/dist/packages/client/src/generated/ethereum/index.js.map +1 -0
- package/dist/packages/client/src/index.d.ts +4 -0
- package/dist/packages/client/src/index.d.ts.map +1 -0
- package/dist/packages/client/src/index.js +27 -0
- package/dist/packages/client/src/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +793 -25
- package/package.json +9 -7
- package/dist/generated/bitcoin/api.d.ts.map +0 -1
- package/dist/generated/bitcoin/api.js.map +0 -1
- package/dist/generated/bitcoin/base.d.ts.map +0 -1
- package/dist/generated/bitcoin/base.js.map +0 -1
- package/dist/generated/bitcoin/common.d.ts.map +0 -1
- package/dist/generated/bitcoin/common.js.map +0 -1
- package/dist/generated/bitcoin/configuration.d.ts.map +0 -1
- package/dist/generated/bitcoin/configuration.js.map +0 -1
- package/dist/generated/bitcoin/index.d.ts.map +0 -1
- package/dist/generated/bitcoin/index.js.map +0 -1
- package/dist/generated/ethereum/api.d.ts.map +0 -1
- package/dist/generated/ethereum/api.js.map +0 -1
- package/dist/generated/ethereum/base.d.ts.map +0 -1
- package/dist/generated/ethereum/base.js.map +0 -1
- package/dist/generated/ethereum/common.d.ts.map +0 -1
- package/dist/generated/ethereum/common.js.map +0 -1
- package/dist/generated/ethereum/configuration.d.ts.map +0 -1
- package/dist/generated/ethereum/configuration.js.map +0 -1
- package/dist/generated/ethereum/index.d.ts.map +0 -1
- package/dist/generated/ethereum/index.js.map +0 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 ShapeShift
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../coinstacks/ethereum/api/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA"}
|
|
@@ -19,7 +19,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
24
|
-
exports.Ethereum = __importStar(require("./generated/ethereum"));
|
|
22
|
+
exports.websocket = void 0;
|
|
23
|
+
exports.websocket = __importStar(require("./websocket"));
|
|
25
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../coinstacks/ethereum/api/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,yDAAwC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import WebSocket from 'ws';
|
|
3
|
+
import { ErrorResponse, RequestPayload, Topics, TxsTopicData } from '@shapeshiftoss/common-api';
|
|
4
|
+
import { SequencedETHParseTx } from '@shapeshiftoss/ethereum-ingester';
|
|
5
|
+
export { SequencedETHParseTx, ErrorResponse, RequestPayload, TxsTopicData };
|
|
6
|
+
export interface Connection {
|
|
7
|
+
ws: WebSocket;
|
|
8
|
+
pingTimeout?: NodeJS.Timeout;
|
|
9
|
+
}
|
|
10
|
+
export declare class Client {
|
|
11
|
+
private readonly url;
|
|
12
|
+
private readonly connections;
|
|
13
|
+
private readonly opts?;
|
|
14
|
+
constructor(url: string, opts?: WebSocket.ClientOptions);
|
|
15
|
+
private heartbeat;
|
|
16
|
+
private onOpen;
|
|
17
|
+
subscribeTxs(data: TxsTopicData, onMessage: (message: SequencedETHParseTx | ErrorResponse) => void): Promise<void>;
|
|
18
|
+
unsubscribeTxs(): void;
|
|
19
|
+
close(topic: Topics): void;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=websocket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../../../../../../coinstacks/ethereum/api/src/websocket.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,IAAI,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAEtE,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,CAAA;AAE3E,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,SAAS,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAC,OAAO,CAAA;CAC7B;AAED,qBAAa,MAAM;IACjB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAQ;IAC5B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAwC;IACpE,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAyB;gBAEnC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,aAAa;IASvD,OAAO,CAAC,SAAS;IAQjB,OAAO,CAAC,MAAM;IAMR,YAAY,CAChB,IAAI,EAAE,YAAY,EAClB,SAAS,EAAE,CAAC,OAAO,EAAE,mBAAmB,GAAG,aAAa,KAAK,IAAI,GAChE,OAAO,CAAC,IAAI,CAAC;IAsBhB,cAAc,IAAI,IAAI;IAMtB,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;CAG3B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.Client = void 0;
|
|
16
|
+
const ws_1 = __importDefault(require("ws"));
|
|
17
|
+
class Client {
|
|
18
|
+
constructor(url, opts) {
|
|
19
|
+
this.url = url;
|
|
20
|
+
this.opts = Object.assign(Object.assign({}, opts), { sessionTimeout: 10000 });
|
|
21
|
+
this.connections = {
|
|
22
|
+
txs: undefined,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
heartbeat(topic) {
|
|
26
|
+
const connection = this.connections[topic];
|
|
27
|
+
if (!connection)
|
|
28
|
+
return;
|
|
29
|
+
connection.pingTimeout && clearTimeout(connection.pingTimeout);
|
|
30
|
+
connection.pingTimeout = setTimeout(() => connection === null || connection === void 0 ? void 0 : connection.ws.terminate(), 10000 + 1000);
|
|
31
|
+
}
|
|
32
|
+
onOpen(topic, resolve) {
|
|
33
|
+
this.heartbeat(topic);
|
|
34
|
+
resolve(true);
|
|
35
|
+
}
|
|
36
|
+
// TODO: add onError callback for any error cases
|
|
37
|
+
subscribeTxs(data, onMessage) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (this.connections.txs)
|
|
40
|
+
return;
|
|
41
|
+
const ws = new ws_1.default(this.url, this.opts);
|
|
42
|
+
this.connections.txs = { ws };
|
|
43
|
+
yield new Promise((resolve) => (ws.onopen = () => this.onOpen('txs', resolve)));
|
|
44
|
+
ws.onclose = () => { var _a; return ((_a = this.connections.txs) === null || _a === void 0 ? void 0 : _a.pingTimeout) && clearTimeout(this.connections.txs.pingTimeout); };
|
|
45
|
+
ws.on('ping', () => this.heartbeat('txs'));
|
|
46
|
+
const payload = { method: 'subscribe', topic: 'txs', data };
|
|
47
|
+
ws.onmessage = (event) => {
|
|
48
|
+
const message = JSON.parse(event.data.toString());
|
|
49
|
+
onMessage(message);
|
|
50
|
+
};
|
|
51
|
+
ws.send(JSON.stringify(payload));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
unsubscribeTxs() {
|
|
55
|
+
var _a;
|
|
56
|
+
(_a = this.connections.txs) === null || _a === void 0 ? void 0 : _a.ws.send(JSON.stringify({ method: 'unsubscribe', topic: 'txs', data: undefined }));
|
|
57
|
+
}
|
|
58
|
+
close(topic) {
|
|
59
|
+
var _a;
|
|
60
|
+
(_a = this.connections[topic]) === null || _a === void 0 ? void 0 : _a.ws.close();
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.Client = Client;
|
|
64
|
+
//# sourceMappingURL=websocket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"websocket.js","sourceRoot":"","sources":["../../../../../../../coinstacks/ethereum/api/src/websocket.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4CAA0B;AAW1B,MAAa,MAAM;IAKjB,YAA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,MAAA,IAAI,CAAC,WAAW,CAAC,GAAG,0CAAE,WAAW,KAAI,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA,EAAA,CAAA;YACtG,EAAE,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAA;YAE1C,MAAM,OAAO,GAAmB,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAA;YAE3E,EAAE,CAAC,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE;gBACvB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAwC,CAAA;gBACxF,SAAS,CAAC,OAAO,CAAC,CAAA;YACpB,CAAC,CAAA;YAED,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;QAClC,CAAC;KAAA;IAED,cAAc;;QACZ,MAAA,IAAI,CAAC,WAAW,CAAC,GAAG,0CAAE,EAAE,CAAC,IAAI,CAC3B,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAoB,CAAC,CAC3F,CAAA;IACH,CAAC;IAED,KAAK,CAAC,KAAa;;QACjB,MAAA,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,0CAAE,EAAE,CAAC,KAAK,EAAE,CAAA;IACrC,CAAC;CACF;AA9DD,wBA8DC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @shapeshiftoss/bitcoin-api
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,7 +45,7 @@ export interface BadRequestError {
|
|
|
45
45
|
error: string;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* Contains additional bitcoin specific info
|
|
48
|
+
* Contains additional bitcoin specific account info
|
|
49
49
|
* @export
|
|
50
50
|
* @interface BitcoinAccount
|
|
51
51
|
*/
|
|
@@ -63,11 +63,238 @@ export interface BitcoinAccount {
|
|
|
63
63
|
*/
|
|
64
64
|
pubkey: string;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* List of associated addresses for an xpub
|
|
67
67
|
* @type {Array<Account>}
|
|
68
68
|
* @memberof BitcoinAccount
|
|
69
69
|
*/
|
|
70
70
|
addresses?: Array<Account>;
|
|
71
|
+
/**
|
|
72
|
+
* The next unused receive address index for an xpub (change index 0)
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof BitcoinAccount
|
|
75
|
+
*/
|
|
76
|
+
nextReceiveAddressIndex?: number;
|
|
77
|
+
/**
|
|
78
|
+
* The next unused change address index for an xpub (change index 1)
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof BitcoinAccount
|
|
81
|
+
*/
|
|
82
|
+
nextChangeAddressIndex?: number;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Contains bitcoin specific transaction info as returned from the node
|
|
86
|
+
* @export
|
|
87
|
+
* @interface BitcoinTxSpecific
|
|
88
|
+
*/
|
|
89
|
+
export interface BitcoinTxSpecific {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof BitcoinTxSpecific
|
|
94
|
+
*/
|
|
95
|
+
txid: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof BitcoinTxSpecific
|
|
100
|
+
*/
|
|
101
|
+
hash: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof BitcoinTxSpecific
|
|
106
|
+
*/
|
|
107
|
+
version: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {number}
|
|
111
|
+
* @memberof BitcoinTxSpecific
|
|
112
|
+
*/
|
|
113
|
+
size: number;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {number}
|
|
117
|
+
* @memberof BitcoinTxSpecific
|
|
118
|
+
*/
|
|
119
|
+
vsize: number;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof BitcoinTxSpecific
|
|
124
|
+
*/
|
|
125
|
+
weight: number;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {number}
|
|
129
|
+
* @memberof BitcoinTxSpecific
|
|
130
|
+
*/
|
|
131
|
+
locktime: number;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {Array<BitcoinTxSpecificVin>}
|
|
135
|
+
* @memberof BitcoinTxSpecific
|
|
136
|
+
*/
|
|
137
|
+
vin: Array<BitcoinTxSpecificVin>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {Array<BitcoinTxSpecificVout>}
|
|
141
|
+
* @memberof BitcoinTxSpecific
|
|
142
|
+
*/
|
|
143
|
+
vout: Array<BitcoinTxSpecificVout>;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof BitcoinTxSpecific
|
|
148
|
+
*/
|
|
149
|
+
hex: string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof BitcoinTxSpecific
|
|
154
|
+
*/
|
|
155
|
+
blockhash: string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {number}
|
|
159
|
+
* @memberof BitcoinTxSpecific
|
|
160
|
+
*/
|
|
161
|
+
confirmations: number;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {number}
|
|
165
|
+
* @memberof BitcoinTxSpecific
|
|
166
|
+
*/
|
|
167
|
+
time: number;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {number}
|
|
171
|
+
* @memberof BitcoinTxSpecific
|
|
172
|
+
*/
|
|
173
|
+
blocktime: number;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @export
|
|
178
|
+
* @interface BitcoinTxSpecificScriptPubKey
|
|
179
|
+
*/
|
|
180
|
+
export interface BitcoinTxSpecificScriptPubKey {
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {Array<string>}
|
|
184
|
+
* @memberof BitcoinTxSpecificScriptPubKey
|
|
185
|
+
*/
|
|
186
|
+
addresses: Array<string>;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof BitcoinTxSpecificScriptPubKey
|
|
191
|
+
*/
|
|
192
|
+
type: string;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {number}
|
|
196
|
+
* @memberof BitcoinTxSpecificScriptPubKey
|
|
197
|
+
*/
|
|
198
|
+
reqSigs: number;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof BitcoinTxSpecificScriptPubKey
|
|
203
|
+
*/
|
|
204
|
+
hex: string;
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof BitcoinTxSpecificScriptPubKey
|
|
209
|
+
*/
|
|
210
|
+
asm: string;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @export
|
|
215
|
+
* @interface BitcoinTxSpecificScriptSig
|
|
216
|
+
*/
|
|
217
|
+
export interface BitcoinTxSpecificScriptSig {
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof BitcoinTxSpecificScriptSig
|
|
222
|
+
*/
|
|
223
|
+
hex: string;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof BitcoinTxSpecificScriptSig
|
|
228
|
+
*/
|
|
229
|
+
asm: string;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @export
|
|
234
|
+
* @interface BitcoinTxSpecificVin
|
|
235
|
+
*/
|
|
236
|
+
export interface BitcoinTxSpecificVin {
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {string}
|
|
240
|
+
* @memberof BitcoinTxSpecificVin
|
|
241
|
+
*/
|
|
242
|
+
txinwitness?: string;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {BitcoinTxSpecificScriptSig}
|
|
246
|
+
* @memberof BitcoinTxSpecificVin
|
|
247
|
+
*/
|
|
248
|
+
scriptSig?: BitcoinTxSpecificScriptSig;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {string}
|
|
252
|
+
* @memberof BitcoinTxSpecificVin
|
|
253
|
+
*/
|
|
254
|
+
coinbase?: string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {number}
|
|
258
|
+
* @memberof BitcoinTxSpecificVin
|
|
259
|
+
*/
|
|
260
|
+
sequence?: number;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @type {number}
|
|
264
|
+
* @memberof BitcoinTxSpecificVin
|
|
265
|
+
*/
|
|
266
|
+
vout?: number;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {string}
|
|
270
|
+
* @memberof BitcoinTxSpecificVin
|
|
271
|
+
*/
|
|
272
|
+
txid?: string;
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @export
|
|
277
|
+
* @interface BitcoinTxSpecificVout
|
|
278
|
+
*/
|
|
279
|
+
export interface BitcoinTxSpecificVout {
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {BitcoinTxSpecificScriptPubKey}
|
|
283
|
+
* @memberof BitcoinTxSpecificVout
|
|
284
|
+
*/
|
|
285
|
+
scriptPubKey?: BitcoinTxSpecificScriptPubKey;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @type {number}
|
|
289
|
+
* @memberof BitcoinTxSpecificVout
|
|
290
|
+
*/
|
|
291
|
+
n?: number;
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @type {string | number}
|
|
295
|
+
* @memberof BitcoinTxSpecificVout
|
|
296
|
+
*/
|
|
297
|
+
value?: string | number;
|
|
71
298
|
}
|
|
72
299
|
/**
|
|
73
300
|
* Contains info about a 500 Internal Server Error response
|
|
@@ -204,7 +431,25 @@ export interface Utxo {
|
|
|
204
431
|
* @type {string}
|
|
205
432
|
* @memberof Utxo
|
|
206
433
|
*/
|
|
207
|
-
|
|
434
|
+
txid: string;
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @type {number}
|
|
438
|
+
* @memberof Utxo
|
|
439
|
+
*/
|
|
440
|
+
vout: number;
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @type {string}
|
|
444
|
+
* @memberof Utxo
|
|
445
|
+
*/
|
|
446
|
+
value: string;
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {number}
|
|
450
|
+
* @memberof Utxo
|
|
451
|
+
*/
|
|
452
|
+
height?: number;
|
|
208
453
|
/**
|
|
209
454
|
*
|
|
210
455
|
* @type {number}
|
|
@@ -216,19 +461,25 @@ export interface Utxo {
|
|
|
216
461
|
* @type {string}
|
|
217
462
|
* @memberof Utxo
|
|
218
463
|
*/
|
|
219
|
-
|
|
464
|
+
address?: string;
|
|
220
465
|
/**
|
|
221
466
|
*
|
|
222
467
|
* @type {string}
|
|
223
468
|
* @memberof Utxo
|
|
224
469
|
*/
|
|
225
|
-
|
|
470
|
+
path?: string;
|
|
226
471
|
/**
|
|
227
472
|
*
|
|
228
473
|
* @type {number}
|
|
229
474
|
* @memberof Utxo
|
|
230
475
|
*/
|
|
231
|
-
|
|
476
|
+
locktime?: number;
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
* @type {boolean}
|
|
480
|
+
* @memberof Utxo
|
|
481
|
+
*/
|
|
482
|
+
coinbase?: boolean;
|
|
232
483
|
}
|
|
233
484
|
/**
|
|
234
485
|
* Contains info about a 422 Validation Error response
|
|
@@ -270,6 +521,13 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
270
521
|
* @throws {RequiredError}
|
|
271
522
|
*/
|
|
272
523
|
getAccount: (pubkey: string, options?: any) => Promise<RequestArgs>;
|
|
524
|
+
/**
|
|
525
|
+
* Get transaction specific data directly from the node
|
|
526
|
+
* @param {string} txid transaction hash
|
|
527
|
+
* @param {*} [options] Override http request option.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
getTransaction: (txid: string, options?: any) => Promise<RequestArgs>;
|
|
273
531
|
/**
|
|
274
532
|
* Get transaction history by address or xpub
|
|
275
533
|
* @param {string} pubkey account address or xpub
|
|
@@ -281,7 +539,7 @@ export declare const V1ApiAxiosParamCreator: (configuration?: Configuration | un
|
|
|
281
539
|
*/
|
|
282
540
|
getTxHistory: (pubkey: string, page?: number | undefined, pageSize?: number | undefined, contract?: string | undefined, options?: any) => Promise<RequestArgs>;
|
|
283
541
|
/**
|
|
284
|
-
* Get all unspent transaction outputs for an address or xpub
|
|
542
|
+
* Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
|
|
285
543
|
* @param {string} pubkey account address or xpub
|
|
286
544
|
* @param {*} [options] Override http request option.
|
|
287
545
|
* @throws {RequiredError}
|
|
@@ -307,6 +565,13 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
307
565
|
* @throws {RequiredError}
|
|
308
566
|
*/
|
|
309
567
|
getAccount(pubkey: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BitcoinAccount>>;
|
|
568
|
+
/**
|
|
569
|
+
* Get transaction specific data directly from the node
|
|
570
|
+
* @param {string} txid transaction hash
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
getTransaction(txid: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<BitcoinTxSpecific>>;
|
|
310
575
|
/**
|
|
311
576
|
* Get transaction history by address or xpub
|
|
312
577
|
* @param {string} pubkey account address or xpub
|
|
@@ -318,7 +583,7 @@ export declare const V1ApiFp: (configuration?: Configuration | undefined) => {
|
|
|
318
583
|
*/
|
|
319
584
|
getTxHistory(pubkey: string, page?: number | undefined, pageSize?: number | undefined, contract?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<TxHistory>>;
|
|
320
585
|
/**
|
|
321
|
-
* Get all unspent transaction outputs for an address or xpub
|
|
586
|
+
* Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
|
|
322
587
|
* @param {string} pubkey account address or xpub
|
|
323
588
|
* @param {*} [options] Override http request option.
|
|
324
589
|
* @throws {RequiredError}
|
|
@@ -344,6 +609,13 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
|
|
|
344
609
|
* @throws {RequiredError}
|
|
345
610
|
*/
|
|
346
611
|
getAccount(pubkey: string, options?: any): AxiosPromise<BitcoinAccount>;
|
|
612
|
+
/**
|
|
613
|
+
* Get transaction specific data directly from the node
|
|
614
|
+
* @param {string} txid transaction hash
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
getTransaction(txid: string, options?: any): AxiosPromise<BitcoinTxSpecific>;
|
|
347
619
|
/**
|
|
348
620
|
* Get transaction history by address or xpub
|
|
349
621
|
* @param {string} pubkey account address or xpub
|
|
@@ -355,7 +627,7 @@ export declare const V1ApiFactory: (configuration?: Configuration | undefined, b
|
|
|
355
627
|
*/
|
|
356
628
|
getTxHistory(pubkey: string, page?: number | undefined, pageSize?: number | undefined, contract?: string | undefined, options?: any): AxiosPromise<TxHistory>;
|
|
357
629
|
/**
|
|
358
|
-
* Get all unspent transaction outputs for an address or xpub
|
|
630
|
+
* Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
|
|
359
631
|
* @param {string} pubkey account address or xpub
|
|
360
632
|
* @param {*} [options] Override http request option.
|
|
361
633
|
* @throws {RequiredError}
|
|
@@ -382,6 +654,19 @@ export interface V1ApiGetAccountRequest {
|
|
|
382
654
|
*/
|
|
383
655
|
readonly pubkey: string;
|
|
384
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* Request parameters for getTransaction operation in V1Api.
|
|
659
|
+
* @export
|
|
660
|
+
* @interface V1ApiGetTransactionRequest
|
|
661
|
+
*/
|
|
662
|
+
export interface V1ApiGetTransactionRequest {
|
|
663
|
+
/**
|
|
664
|
+
* transaction hash
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof V1ApiGetTransaction
|
|
667
|
+
*/
|
|
668
|
+
readonly txid: string;
|
|
669
|
+
}
|
|
385
670
|
/**
|
|
386
671
|
* Request parameters for getTxHistory operation in V1Api.
|
|
387
672
|
* @export
|
|
@@ -454,6 +739,14 @@ export declare class V1Api extends BaseAPI {
|
|
|
454
739
|
* @memberof V1Api
|
|
455
740
|
*/
|
|
456
741
|
getAccount(requestParameters: V1ApiGetAccountRequest, options?: any): Promise<import("axios").AxiosResponse<BitcoinAccount>>;
|
|
742
|
+
/**
|
|
743
|
+
* Get transaction specific data directly from the node
|
|
744
|
+
* @param {V1ApiGetTransactionRequest} requestParameters Request parameters.
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
* @memberof V1Api
|
|
748
|
+
*/
|
|
749
|
+
getTransaction(requestParameters: V1ApiGetTransactionRequest, options?: any): Promise<import("axios").AxiosResponse<BitcoinTxSpecific>>;
|
|
457
750
|
/**
|
|
458
751
|
* Get transaction history by address or xpub
|
|
459
752
|
* @param {V1ApiGetTxHistoryRequest} requestParameters Request parameters.
|
|
@@ -463,7 +756,7 @@ export declare class V1Api extends BaseAPI {
|
|
|
463
756
|
*/
|
|
464
757
|
getTxHistory(requestParameters: V1ApiGetTxHistoryRequest, options?: any): Promise<import("axios").AxiosResponse<TxHistory>>;
|
|
465
758
|
/**
|
|
466
|
-
* Get all unspent transaction outputs for an address or xpub
|
|
759
|
+
* Get all unspent transaction outputs for an address or xpub Examples 1. Bitcoin (address) 2. Bitcoin (xpub)
|
|
467
760
|
* @param {V1ApiGetUtxosRequest} requestParameters Request parameters.
|
|
468
761
|
* @param {*} [options] Override http request option.
|
|
469
762
|
* @throws {RequiredError}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/bitcoin/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAKjE,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,QAAQ,CAAC;AAE5F;;;;GAIG;AACH,MAAM,WAAW,OAAO;IACpB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AACD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AACD;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;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