@northstake/northstakeapi 1.0.25 → 1.0.26

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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/apis.ts +3 -1
  4. package/api/smartContractsApi.ts +513 -0
  5. package/api.ts +10 -0
  6. package/dist/api/apis.d.ts +3 -1
  7. package/dist/api/apis.js +3 -1
  8. package/dist/api/smartContractsApi.d.ts +125 -0
  9. package/dist/api/smartContractsApi.js +389 -0
  10. package/dist/api.d.ts +8 -0
  11. package/dist/api.js +9 -0
  12. package/dist/model/getSmartContractInternalTransactions200Response.d.ts +38 -0
  13. package/dist/model/getSmartContractInternalTransactions200Response.js +43 -0
  14. package/dist/model/getSmartContractMinedBlocks200Response.d.ts +38 -0
  15. package/dist/model/getSmartContractMinedBlocks200Response.js +43 -0
  16. package/dist/model/getSmartContractTransactions200Response.d.ts +38 -0
  17. package/dist/model/getSmartContractTransactions200Response.js +43 -0
  18. package/dist/model/internalTransaction.d.ts +34 -0
  19. package/dist/model/internalTransaction.js +58 -0
  20. package/dist/model/minedBlock.d.ts +31 -0
  21. package/dist/model/minedBlock.js +43 -0
  22. package/dist/model/models.d.ts +6 -0
  23. package/dist/model/models.js +18 -0
  24. package/dist/model/transaction.d.ts +72 -0
  25. package/dist/model/transaction.js +113 -0
  26. package/model/getSmartContractInternalTransactions200Response.ts +59 -0
  27. package/model/getSmartContractMinedBlocks200Response.ts +59 -0
  28. package/model/getSmartContractTransactions200Response.ts +59 -0
  29. package/model/internalTransaction.ts +70 -0
  30. package/model/minedBlock.ts +52 -0
  31. package/model/models.ts +30 -0
  32. package/model/transaction.ts +163 -0
  33. package/package.json +1 -1
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { MinedBlock } from './minedBlock';
13
+ export declare class GetSmartContractMinedBlocks200Response {
14
+ 'blocks': Array<MinedBlock>;
15
+ /**
16
+ * Total number of mined blocks
17
+ */
18
+ 'total': number;
19
+ /**
20
+ * Total number of pages
21
+ */
22
+ 'pages': number;
23
+ /**
24
+ * Current page number
25
+ */
26
+ 'currentPage': number;
27
+ static discriminator: string | undefined;
28
+ static attributeTypeMap: Array<{
29
+ name: string;
30
+ baseName: string;
31
+ type: string;
32
+ }>;
33
+ static getAttributeTypeMap(): {
34
+ name: string;
35
+ baseName: string;
36
+ type: string;
37
+ }[];
38
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * Northstake
4
+ * Northstake api
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.GetSmartContractMinedBlocks200Response = void 0;
15
+ class GetSmartContractMinedBlocks200Response {
16
+ static getAttributeTypeMap() {
17
+ return GetSmartContractMinedBlocks200Response.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.GetSmartContractMinedBlocks200Response = GetSmartContractMinedBlocks200Response;
21
+ GetSmartContractMinedBlocks200Response.discriminator = undefined;
22
+ GetSmartContractMinedBlocks200Response.attributeTypeMap = [
23
+ {
24
+ "name": "blocks",
25
+ "baseName": "blocks",
26
+ "type": "Array<MinedBlock>"
27
+ },
28
+ {
29
+ "name": "total",
30
+ "baseName": "total",
31
+ "type": "number"
32
+ },
33
+ {
34
+ "name": "pages",
35
+ "baseName": "pages",
36
+ "type": "number"
37
+ },
38
+ {
39
+ "name": "currentPage",
40
+ "baseName": "currentPage",
41
+ "type": "number"
42
+ }
43
+ ];
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { Transaction } from './transaction';
13
+ export declare class GetSmartContractTransactions200Response {
14
+ 'transactions': Array<Transaction>;
15
+ /**
16
+ * Total number of transactions
17
+ */
18
+ 'total': number;
19
+ /**
20
+ * Total number of pages
21
+ */
22
+ 'pages': number;
23
+ /**
24
+ * Current page number
25
+ */
26
+ 'currentPage': number;
27
+ static discriminator: string | undefined;
28
+ static attributeTypeMap: Array<{
29
+ name: string;
30
+ baseName: string;
31
+ type: string;
32
+ }>;
33
+ static getAttributeTypeMap(): {
34
+ name: string;
35
+ baseName: string;
36
+ type: string;
37
+ }[];
38
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * Northstake
4
+ * Northstake api
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.GetSmartContractTransactions200Response = void 0;
15
+ class GetSmartContractTransactions200Response {
16
+ static getAttributeTypeMap() {
17
+ return GetSmartContractTransactions200Response.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.GetSmartContractTransactions200Response = GetSmartContractTransactions200Response;
21
+ GetSmartContractTransactions200Response.discriminator = undefined;
22
+ GetSmartContractTransactions200Response.attributeTypeMap = [
23
+ {
24
+ "name": "transactions",
25
+ "baseName": "transactions",
26
+ "type": "Array<Transaction>"
27
+ },
28
+ {
29
+ "name": "total",
30
+ "baseName": "total",
31
+ "type": "number"
32
+ },
33
+ {
34
+ "name": "pages",
35
+ "baseName": "pages",
36
+ "type": "number"
37
+ },
38
+ {
39
+ "name": "currentPage",
40
+ "baseName": "currentPage",
41
+ "type": "number"
42
+ }
43
+ ];
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class InternalTransaction {
13
+ 'blockNumber': number;
14
+ 'timeStamp': Date;
15
+ 'hash': string;
16
+ 'fromAddress': string;
17
+ 'toAddress': string;
18
+ /**
19
+ * Transaction value in ETH
20
+ */
21
+ 'value': string;
22
+ 'isError'?: boolean;
23
+ static discriminator: string | undefined;
24
+ static attributeTypeMap: Array<{
25
+ name: string;
26
+ baseName: string;
27
+ type: string;
28
+ }>;
29
+ static getAttributeTypeMap(): {
30
+ name: string;
31
+ baseName: string;
32
+ type: string;
33
+ }[];
34
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ /**
3
+ * Northstake
4
+ * Northstake api
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.InternalTransaction = void 0;
15
+ class InternalTransaction {
16
+ static getAttributeTypeMap() {
17
+ return InternalTransaction.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.InternalTransaction = InternalTransaction;
21
+ InternalTransaction.discriminator = undefined;
22
+ InternalTransaction.attributeTypeMap = [
23
+ {
24
+ "name": "blockNumber",
25
+ "baseName": "blockNumber",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "timeStamp",
30
+ "baseName": "timeStamp",
31
+ "type": "Date"
32
+ },
33
+ {
34
+ "name": "hash",
35
+ "baseName": "hash",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "fromAddress",
40
+ "baseName": "fromAddress",
41
+ "type": "string"
42
+ },
43
+ {
44
+ "name": "toAddress",
45
+ "baseName": "toAddress",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "name": "value",
50
+ "baseName": "value",
51
+ "type": "string"
52
+ },
53
+ {
54
+ "name": "isError",
55
+ "baseName": "isError",
56
+ "type": "boolean"
57
+ }
58
+ ];
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class MinedBlock {
13
+ 'blockNumber': number;
14
+ /**
15
+ * Block reward in ETH
16
+ */
17
+ 'blockReward': string;
18
+ 'timeStamp': Date;
19
+ 'address': string;
20
+ static discriminator: string | undefined;
21
+ static attributeTypeMap: Array<{
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ }>;
26
+ static getAttributeTypeMap(): {
27
+ name: string;
28
+ baseName: string;
29
+ type: string;
30
+ }[];
31
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * Northstake
4
+ * Northstake api
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.MinedBlock = void 0;
15
+ class MinedBlock {
16
+ static getAttributeTypeMap() {
17
+ return MinedBlock.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.MinedBlock = MinedBlock;
21
+ MinedBlock.discriminator = undefined;
22
+ MinedBlock.attributeTypeMap = [
23
+ {
24
+ "name": "blockNumber",
25
+ "baseName": "blockNumber",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "blockReward",
30
+ "baseName": "blockReward",
31
+ "type": "string"
32
+ },
33
+ {
34
+ "name": "timeStamp",
35
+ "baseName": "timeStamp",
36
+ "type": "Date"
37
+ },
38
+ {
39
+ "name": "address",
40
+ "baseName": "address",
41
+ "type": "string"
42
+ }
43
+ ];
@@ -21,8 +21,13 @@ export * from './exitEstimateSeller';
21
21
  export * from './exitProposal';
22
22
  export * from './generateApiKeyRequest';
23
23
  export * from './getMarketplaceMetadata200Response';
24
+ export * from './getSmartContractInternalTransactions200Response';
25
+ export * from './getSmartContractMinedBlocks200Response';
26
+ export * from './getSmartContractTransactions200Response';
24
27
  export * from './getWithdrawalsResponse';
28
+ export * from './internalTransaction';
25
29
  export * from './listAllRFQsForFacilitator200Response';
30
+ export * from './minedBlock';
26
31
  export * from './provideEscrowHashForRFQDocumentRequest';
27
32
  export * from './quote';
28
33
  export * from './rFQBidFacilitator';
@@ -46,6 +51,7 @@ export * from './registerWithdrawalRecipientSettlementRequest';
46
51
  export * from './settlementSteps';
47
52
  export * from './smartContract';
48
53
  export * from './submittedQuote';
54
+ export * from './transaction';
49
55
  export * from './validatorInfo';
50
56
  export * from './validatorKeyHolder';
51
57
  export * from './validatorType';
@@ -50,8 +50,13 @@ __exportStar(require("./exitEstimateSeller"), exports);
50
50
  __exportStar(require("./exitProposal"), exports);
51
51
  __exportStar(require("./generateApiKeyRequest"), exports);
52
52
  __exportStar(require("./getMarketplaceMetadata200Response"), exports);
53
+ __exportStar(require("./getSmartContractInternalTransactions200Response"), exports);
54
+ __exportStar(require("./getSmartContractMinedBlocks200Response"), exports);
55
+ __exportStar(require("./getSmartContractTransactions200Response"), exports);
53
56
  __exportStar(require("./getWithdrawalsResponse"), exports);
57
+ __exportStar(require("./internalTransaction"), exports);
54
58
  __exportStar(require("./listAllRFQsForFacilitator200Response"), exports);
59
+ __exportStar(require("./minedBlock"), exports);
55
60
  __exportStar(require("./provideEscrowHashForRFQDocumentRequest"), exports);
56
61
  __exportStar(require("./quote"), exports);
57
62
  __exportStar(require("./rFQBidFacilitator"), exports);
@@ -75,6 +80,7 @@ __exportStar(require("./registerWithdrawalRecipientSettlementRequest"), exports)
75
80
  __exportStar(require("./settlementSteps"), exports);
76
81
  __exportStar(require("./smartContract"), exports);
77
82
  __exportStar(require("./submittedQuote"), exports);
83
+ __exportStar(require("./transaction"), exports);
78
84
  __exportStar(require("./validatorInfo"), exports);
79
85
  __exportStar(require("./validatorKeyHolder"), exports);
80
86
  __exportStar(require("./validatorType"), exports);
@@ -124,8 +130,13 @@ const exitEstimateSeller_1 = require("./exitEstimateSeller");
124
130
  const exitProposal_1 = require("./exitProposal");
125
131
  const generateApiKeyRequest_1 = require("./generateApiKeyRequest");
126
132
  const getMarketplaceMetadata200Response_1 = require("./getMarketplaceMetadata200Response");
133
+ const getSmartContractInternalTransactions200Response_1 = require("./getSmartContractInternalTransactions200Response");
134
+ const getSmartContractMinedBlocks200Response_1 = require("./getSmartContractMinedBlocks200Response");
135
+ const getSmartContractTransactions200Response_1 = require("./getSmartContractTransactions200Response");
127
136
  const getWithdrawalsResponse_1 = require("./getWithdrawalsResponse");
137
+ const internalTransaction_1 = require("./internalTransaction");
128
138
  const listAllRFQsForFacilitator200Response_1 = require("./listAllRFQsForFacilitator200Response");
139
+ const minedBlock_1 = require("./minedBlock");
129
140
  const provideEscrowHashForRFQDocumentRequest_1 = require("./provideEscrowHashForRFQDocumentRequest");
130
141
  const quote_1 = require("./quote");
131
142
  const rFQBidFacilitator_1 = require("./rFQBidFacilitator");
@@ -144,6 +155,7 @@ const registerWithdrawalRecipientSettlementRequest_1 = require("./registerWithdr
144
155
  const settlementSteps_1 = require("./settlementSteps");
145
156
  const smartContract_1 = require("./smartContract");
146
157
  const submittedQuote_1 = require("./submittedQuote");
158
+ const transaction_1 = require("./transaction");
147
159
  const validatorInfo_1 = require("./validatorInfo");
148
160
  const validatorWithdrawal_1 = require("./validatorWithdrawal");
149
161
  const wallet_1 = require("./wallet");
@@ -211,8 +223,13 @@ let typeMap = {
211
223
  "ExitProposal": exitProposal_1.ExitProposal,
212
224
  "GenerateApiKeyRequest": generateApiKeyRequest_1.GenerateApiKeyRequest,
213
225
  "GetMarketplaceMetadata200Response": getMarketplaceMetadata200Response_1.GetMarketplaceMetadata200Response,
226
+ "GetSmartContractInternalTransactions200Response": getSmartContractInternalTransactions200Response_1.GetSmartContractInternalTransactions200Response,
227
+ "GetSmartContractMinedBlocks200Response": getSmartContractMinedBlocks200Response_1.GetSmartContractMinedBlocks200Response,
228
+ "GetSmartContractTransactions200Response": getSmartContractTransactions200Response_1.GetSmartContractTransactions200Response,
214
229
  "GetWithdrawalsResponse": getWithdrawalsResponse_1.GetWithdrawalsResponse,
230
+ "InternalTransaction": internalTransaction_1.InternalTransaction,
215
231
  "ListAllRFQsForFacilitator200Response": listAllRFQsForFacilitator200Response_1.ListAllRFQsForFacilitator200Response,
232
+ "MinedBlock": minedBlock_1.MinedBlock,
216
233
  "ProvideEscrowHashForRFQDocumentRequest": provideEscrowHashForRFQDocumentRequest_1.ProvideEscrowHashForRFQDocumentRequest,
217
234
  "Quote": quote_1.Quote,
218
235
  "RFQBidFacilitator": rFQBidFacilitator_1.RFQBidFacilitator,
@@ -231,6 +248,7 @@ let typeMap = {
231
248
  "SettlementSteps": settlementSteps_1.SettlementSteps,
232
249
  "SmartContract": smartContract_1.SmartContract,
233
250
  "SubmittedQuote": submittedQuote_1.SubmittedQuote,
251
+ "Transaction": transaction_1.Transaction,
234
252
  "ValidatorInfo": validatorInfo_1.ValidatorInfo,
235
253
  "ValidatorWithdrawal": validatorWithdrawal_1.ValidatorWithdrawal,
236
254
  "Wallet": wallet_1.Wallet,
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare class Transaction {
13
+ 'blockNumber': number;
14
+ 'timeStamp': Date;
15
+ 'hash': string;
16
+ 'nonce'?: number;
17
+ 'blockHash'?: string;
18
+ 'transactionIndex'?: number;
19
+ 'fromAddress': string;
20
+ 'toAddress': string;
21
+ /**
22
+ * Transaction value in eth
23
+ */
24
+ 'value': string;
25
+ /**
26
+ * Gas price in gwei per unit
27
+ */
28
+ 'gasPrice'?: string;
29
+ /**
30
+ * amount of gas used
31
+ */
32
+ 'gasUsed'?: string;
33
+ /**
34
+ * Transaction fee in eth (gasPrice * gasUsed)
35
+ */
36
+ 'transactionFee'?: string;
37
+ /**
38
+ * Whether the transaction failed or not
39
+ */
40
+ 'isError'?: boolean;
41
+ /**
42
+ * Transaction input data in hex
43
+ */
44
+ 'input'?: string;
45
+ /**
46
+ * Decoded transaction input data
47
+ */
48
+ 'inputDecoded'?: object;
49
+ /**
50
+ * The name of the function called in the transaction
51
+ */
52
+ 'functionName'?: string;
53
+ /**
54
+ * The signature of the function called in the transaction
55
+ */
56
+ 'functionSignature'?: string;
57
+ /**
58
+ * Decoded arguments passed to the function called in the transaction including argument names, types, and values
59
+ */
60
+ 'functionArgsDecoded'?: object;
61
+ static discriminator: string | undefined;
62
+ static attributeTypeMap: Array<{
63
+ name: string;
64
+ baseName: string;
65
+ type: string;
66
+ }>;
67
+ static getAttributeTypeMap(): {
68
+ name: string;
69
+ baseName: string;
70
+ type: string;
71
+ }[];
72
+ }
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ /**
3
+ * Northstake
4
+ * Northstake api
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Transaction = void 0;
15
+ class Transaction {
16
+ static getAttributeTypeMap() {
17
+ return Transaction.attributeTypeMap;
18
+ }
19
+ }
20
+ exports.Transaction = Transaction;
21
+ Transaction.discriminator = undefined;
22
+ Transaction.attributeTypeMap = [
23
+ {
24
+ "name": "blockNumber",
25
+ "baseName": "blockNumber",
26
+ "type": "number"
27
+ },
28
+ {
29
+ "name": "timeStamp",
30
+ "baseName": "timeStamp",
31
+ "type": "Date"
32
+ },
33
+ {
34
+ "name": "hash",
35
+ "baseName": "hash",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "nonce",
40
+ "baseName": "nonce",
41
+ "type": "number"
42
+ },
43
+ {
44
+ "name": "blockHash",
45
+ "baseName": "blockHash",
46
+ "type": "string"
47
+ },
48
+ {
49
+ "name": "transactionIndex",
50
+ "baseName": "transactionIndex",
51
+ "type": "number"
52
+ },
53
+ {
54
+ "name": "fromAddress",
55
+ "baseName": "fromAddress",
56
+ "type": "string"
57
+ },
58
+ {
59
+ "name": "toAddress",
60
+ "baseName": "toAddress",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "value",
65
+ "baseName": "value",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "name": "gasPrice",
70
+ "baseName": "gasPrice",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "gasUsed",
75
+ "baseName": "gasUsed",
76
+ "type": "string"
77
+ },
78
+ {
79
+ "name": "transactionFee",
80
+ "baseName": "transactionFee",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "isError",
85
+ "baseName": "isError",
86
+ "type": "boolean"
87
+ },
88
+ {
89
+ "name": "input",
90
+ "baseName": "input",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "name": "inputDecoded",
95
+ "baseName": "inputDecoded",
96
+ "type": "object"
97
+ },
98
+ {
99
+ "name": "functionName",
100
+ "baseName": "functionName",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "functionSignature",
105
+ "baseName": "functionSignature",
106
+ "type": "string"
107
+ },
108
+ {
109
+ "name": "functionArgsDecoded",
110
+ "baseName": "functionArgsDecoded",
111
+ "type": "object"
112
+ }
113
+ ];
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Northstake
3
+ * Northstake api
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+
13
+ import { InternalTransaction } from './internalTransaction';
14
+
15
+ export class GetSmartContractInternalTransactions200Response {
16
+ 'transactions': Array<InternalTransaction>;
17
+ /**
18
+ * Total number of internal transactions
19
+ */
20
+ 'total': number;
21
+ /**
22
+ * Total number of pages
23
+ */
24
+ 'pages': number;
25
+ /**
26
+ * Current page number
27
+ */
28
+ 'currentPage': number;
29
+
30
+ static discriminator: string | undefined = undefined;
31
+
32
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
33
+ {
34
+ "name": "transactions",
35
+ "baseName": "transactions",
36
+ "type": "Array<InternalTransaction>"
37
+ },
38
+ {
39
+ "name": "total",
40
+ "baseName": "total",
41
+ "type": "number"
42
+ },
43
+ {
44
+ "name": "pages",
45
+ "baseName": "pages",
46
+ "type": "number"
47
+ },
48
+ {
49
+ "name": "currentPage",
50
+ "baseName": "currentPage",
51
+ "type": "number"
52
+ } ];
53
+
54
+ static getAttributeTypeMap() {
55
+ return GetSmartContractInternalTransactions200Response.attributeTypeMap;
56
+ }
57
+ }
58
+
59
+