@0xsequence/indexer 2.3.8 → 2.3.9
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/dist/0xsequence-indexer.cjs.dev.js +18 -4
- package/dist/0xsequence-indexer.cjs.prod.js +18 -4
- package/dist/0xsequence-indexer.esm.js +18 -5
- package/dist/declarations/src/indexer.gen.d.ts +6 -1
- package/dist/declarations/src/indexergw.gen.d.ts +12 -7
- package/package.json +1 -1
- package/src/indexer.gen.ts +8 -2
- package/src/indexergw.gen.ts +14 -8
|
@@ -13,7 +13,7 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// sequence-indexer v0.4.0
|
|
16
|
+
// sequence-indexer v0.4.0 c41b212372a09a089df4a136a01ca367b5541a5d
|
|
17
17
|
// --
|
|
18
18
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
19
19
|
//
|
|
@@ -29,7 +29,7 @@ const WebRPCVersion$1 = 'v1';
|
|
|
29
29
|
const WebRPCSchemaVersion$1 = 'v0.4.0';
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash$1 = '
|
|
32
|
+
const WebRPCSchemaHash$1 = 'c41b212372a09a089df4a136a01ca367b5541a5d';
|
|
33
33
|
function VersionFromHeader$1(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -136,6 +136,12 @@ let ContractVerificationStatus$1 = /*#__PURE__*/function (ContractVerificationSt
|
|
|
136
136
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
137
137
|
return ContractVerificationStatus;
|
|
138
138
|
}({});
|
|
139
|
+
let NetworkType$1 = /*#__PURE__*/function (NetworkType) {
|
|
140
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
141
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
142
|
+
NetworkType["ALL"] = "ALL";
|
|
143
|
+
return NetworkType;
|
|
144
|
+
}({});
|
|
139
145
|
//
|
|
140
146
|
// Client
|
|
141
147
|
//
|
|
@@ -1053,7 +1059,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1053
1059
|
};
|
|
1054
1060
|
|
|
1055
1061
|
/* eslint-disable */
|
|
1056
|
-
// sequence-indexer v0.4.0
|
|
1062
|
+
// sequence-indexer v0.4.0 1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939
|
|
1057
1063
|
// --
|
|
1058
1064
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
1059
1065
|
//
|
|
@@ -1069,7 +1075,7 @@ const WebRPCVersion = 'v1';
|
|
|
1069
1075
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
1070
1076
|
|
|
1071
1077
|
// Schema hash generated from your RIDL schema
|
|
1072
|
-
const WebRPCSchemaHash = '
|
|
1078
|
+
const WebRPCSchemaHash = '1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939';
|
|
1073
1079
|
function VersionFromHeader(headers) {
|
|
1074
1080
|
const headerValue = headers.get(WebrpcHeader);
|
|
1075
1081
|
if (!headerValue) {
|
|
@@ -1176,6 +1182,12 @@ let ContractVerificationStatus = /*#__PURE__*/function (ContractVerificationStat
|
|
|
1176
1182
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
1177
1183
|
return ContractVerificationStatus;
|
|
1178
1184
|
}({});
|
|
1185
|
+
let NetworkType = /*#__PURE__*/function (NetworkType) {
|
|
1186
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
1187
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
1188
|
+
NetworkType["ALL"] = "ALL";
|
|
1189
|
+
return NetworkType;
|
|
1190
|
+
}({});
|
|
1179
1191
|
//
|
|
1180
1192
|
// Client
|
|
1181
1193
|
//
|
|
@@ -1702,6 +1714,7 @@ var indexergw_gen = /*#__PURE__*/Object.freeze({
|
|
|
1702
1714
|
TransactionType: TransactionType,
|
|
1703
1715
|
SortOrder: SortOrder,
|
|
1704
1716
|
ContractVerificationStatus: ContractVerificationStatus,
|
|
1717
|
+
NetworkType: NetworkType,
|
|
1705
1718
|
IndexerGateway: IndexerGateway,
|
|
1706
1719
|
WebrpcError: WebrpcError,
|
|
1707
1720
|
WebrpcEndpointError: WebrpcEndpointError,
|
|
@@ -1812,6 +1825,7 @@ exports.InvalidServiceError = InvalidServiceError$1;
|
|
|
1812
1825
|
exports.MaxAccessKeysError = MaxAccessKeysError$1;
|
|
1813
1826
|
exports.MetadataCallFailedError = MetadataCallFailedError$1;
|
|
1814
1827
|
exports.MethodNotFoundError = MethodNotFoundError$1;
|
|
1828
|
+
exports.NetworkType = NetworkType$1;
|
|
1815
1829
|
exports.NoDefaultKeyError = NoDefaultKeyError$1;
|
|
1816
1830
|
exports.NotFoundError = NotFoundError$1;
|
|
1817
1831
|
exports.OrderStatus = OrderStatus$1;
|
|
@@ -13,7 +13,7 @@ function _extends() {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* eslint-disable */
|
|
16
|
-
// sequence-indexer v0.4.0
|
|
16
|
+
// sequence-indexer v0.4.0 c41b212372a09a089df4a136a01ca367b5541a5d
|
|
17
17
|
// --
|
|
18
18
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
19
19
|
//
|
|
@@ -29,7 +29,7 @@ const WebRPCVersion$1 = 'v1';
|
|
|
29
29
|
const WebRPCSchemaVersion$1 = 'v0.4.0';
|
|
30
30
|
|
|
31
31
|
// Schema hash generated from your RIDL schema
|
|
32
|
-
const WebRPCSchemaHash$1 = '
|
|
32
|
+
const WebRPCSchemaHash$1 = 'c41b212372a09a089df4a136a01ca367b5541a5d';
|
|
33
33
|
function VersionFromHeader$1(headers) {
|
|
34
34
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
35
35
|
if (!headerValue) {
|
|
@@ -136,6 +136,12 @@ let ContractVerificationStatus$1 = /*#__PURE__*/function (ContractVerificationSt
|
|
|
136
136
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
137
137
|
return ContractVerificationStatus;
|
|
138
138
|
}({});
|
|
139
|
+
let NetworkType$1 = /*#__PURE__*/function (NetworkType) {
|
|
140
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
141
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
142
|
+
NetworkType["ALL"] = "ALL";
|
|
143
|
+
return NetworkType;
|
|
144
|
+
}({});
|
|
139
145
|
//
|
|
140
146
|
// Client
|
|
141
147
|
//
|
|
@@ -1053,7 +1059,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1053
1059
|
};
|
|
1054
1060
|
|
|
1055
1061
|
/* eslint-disable */
|
|
1056
|
-
// sequence-indexer v0.4.0
|
|
1062
|
+
// sequence-indexer v0.4.0 1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939
|
|
1057
1063
|
// --
|
|
1058
1064
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
1059
1065
|
//
|
|
@@ -1069,7 +1075,7 @@ const WebRPCVersion = 'v1';
|
|
|
1069
1075
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
1070
1076
|
|
|
1071
1077
|
// Schema hash generated from your RIDL schema
|
|
1072
|
-
const WebRPCSchemaHash = '
|
|
1078
|
+
const WebRPCSchemaHash = '1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939';
|
|
1073
1079
|
function VersionFromHeader(headers) {
|
|
1074
1080
|
const headerValue = headers.get(WebrpcHeader);
|
|
1075
1081
|
if (!headerValue) {
|
|
@@ -1176,6 +1182,12 @@ let ContractVerificationStatus = /*#__PURE__*/function (ContractVerificationStat
|
|
|
1176
1182
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
1177
1183
|
return ContractVerificationStatus;
|
|
1178
1184
|
}({});
|
|
1185
|
+
let NetworkType = /*#__PURE__*/function (NetworkType) {
|
|
1186
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
1187
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
1188
|
+
NetworkType["ALL"] = "ALL";
|
|
1189
|
+
return NetworkType;
|
|
1190
|
+
}({});
|
|
1179
1191
|
//
|
|
1180
1192
|
// Client
|
|
1181
1193
|
//
|
|
@@ -1702,6 +1714,7 @@ var indexergw_gen = /*#__PURE__*/Object.freeze({
|
|
|
1702
1714
|
TransactionType: TransactionType,
|
|
1703
1715
|
SortOrder: SortOrder,
|
|
1704
1716
|
ContractVerificationStatus: ContractVerificationStatus,
|
|
1717
|
+
NetworkType: NetworkType,
|
|
1705
1718
|
IndexerGateway: IndexerGateway,
|
|
1706
1719
|
WebrpcError: WebrpcError,
|
|
1707
1720
|
WebrpcEndpointError: WebrpcEndpointError,
|
|
@@ -1812,6 +1825,7 @@ exports.InvalidServiceError = InvalidServiceError$1;
|
|
|
1812
1825
|
exports.MaxAccessKeysError = MaxAccessKeysError$1;
|
|
1813
1826
|
exports.MetadataCallFailedError = MetadataCallFailedError$1;
|
|
1814
1827
|
exports.MethodNotFoundError = MethodNotFoundError$1;
|
|
1828
|
+
exports.NetworkType = NetworkType$1;
|
|
1815
1829
|
exports.NoDefaultKeyError = NoDefaultKeyError$1;
|
|
1816
1830
|
exports.NotFoundError = NotFoundError$1;
|
|
1817
1831
|
exports.OrderStatus = OrderStatus$1;
|
|
@@ -9,7 +9,7 @@ function _extends() {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* eslint-disable */
|
|
12
|
-
// sequence-indexer v0.4.0
|
|
12
|
+
// sequence-indexer v0.4.0 c41b212372a09a089df4a136a01ca367b5541a5d
|
|
13
13
|
// --
|
|
14
14
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
15
15
|
//
|
|
@@ -25,7 +25,7 @@ const WebRPCVersion$1 = 'v1';
|
|
|
25
25
|
const WebRPCSchemaVersion$1 = 'v0.4.0';
|
|
26
26
|
|
|
27
27
|
// Schema hash generated from your RIDL schema
|
|
28
|
-
const WebRPCSchemaHash$1 = '
|
|
28
|
+
const WebRPCSchemaHash$1 = 'c41b212372a09a089df4a136a01ca367b5541a5d';
|
|
29
29
|
function VersionFromHeader$1(headers) {
|
|
30
30
|
const headerValue = headers.get(WebrpcHeader$1);
|
|
31
31
|
if (!headerValue) {
|
|
@@ -132,6 +132,12 @@ let ContractVerificationStatus$1 = /*#__PURE__*/function (ContractVerificationSt
|
|
|
132
132
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
133
133
|
return ContractVerificationStatus;
|
|
134
134
|
}({});
|
|
135
|
+
let NetworkType$1 = /*#__PURE__*/function (NetworkType) {
|
|
136
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
137
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
138
|
+
NetworkType["ALL"] = "ALL";
|
|
139
|
+
return NetworkType;
|
|
140
|
+
}({});
|
|
135
141
|
//
|
|
136
142
|
// Client
|
|
137
143
|
//
|
|
@@ -1049,7 +1055,7 @@ const webrpcErrorByCode$1 = {
|
|
|
1049
1055
|
};
|
|
1050
1056
|
|
|
1051
1057
|
/* eslint-disable */
|
|
1052
|
-
// sequence-indexer v0.4.0
|
|
1058
|
+
// sequence-indexer v0.4.0 1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939
|
|
1053
1059
|
// --
|
|
1054
1060
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
1055
1061
|
//
|
|
@@ -1065,7 +1071,7 @@ const WebRPCVersion = 'v1';
|
|
|
1065
1071
|
const WebRPCSchemaVersion = 'v0.4.0';
|
|
1066
1072
|
|
|
1067
1073
|
// Schema hash generated from your RIDL schema
|
|
1068
|
-
const WebRPCSchemaHash = '
|
|
1074
|
+
const WebRPCSchemaHash = '1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939';
|
|
1069
1075
|
function VersionFromHeader(headers) {
|
|
1070
1076
|
const headerValue = headers.get(WebrpcHeader);
|
|
1071
1077
|
if (!headerValue) {
|
|
@@ -1172,6 +1178,12 @@ let ContractVerificationStatus = /*#__PURE__*/function (ContractVerificationStat
|
|
|
1172
1178
|
ContractVerificationStatus["ALL"] = "ALL";
|
|
1173
1179
|
return ContractVerificationStatus;
|
|
1174
1180
|
}({});
|
|
1181
|
+
let NetworkType = /*#__PURE__*/function (NetworkType) {
|
|
1182
|
+
NetworkType["MAINNETS"] = "MAINNETS";
|
|
1183
|
+
NetworkType["TESTNETS"] = "TESTNETS";
|
|
1184
|
+
NetworkType["ALL"] = "ALL";
|
|
1185
|
+
return NetworkType;
|
|
1186
|
+
}({});
|
|
1175
1187
|
//
|
|
1176
1188
|
// Client
|
|
1177
1189
|
//
|
|
@@ -1698,6 +1710,7 @@ var indexergw_gen = /*#__PURE__*/Object.freeze({
|
|
|
1698
1710
|
TransactionType: TransactionType,
|
|
1699
1711
|
SortOrder: SortOrder,
|
|
1700
1712
|
ContractVerificationStatus: ContractVerificationStatus,
|
|
1713
|
+
NetworkType: NetworkType,
|
|
1701
1714
|
IndexerGateway: IndexerGateway,
|
|
1702
1715
|
WebrpcError: WebrpcError,
|
|
1703
1716
|
WebrpcEndpointError: WebrpcEndpointError,
|
|
@@ -1791,4 +1804,4 @@ class SequenceIndexerGateway extends IndexerGateway {
|
|
|
1791
1804
|
}
|
|
1792
1805
|
}
|
|
1793
1806
|
|
|
1794
|
-
export { AbortedError$1 as AbortedError, AccessKeyMismatchError$1 as AccessKeyMismatchError, AccessKeyNotFoundError$1 as AccessKeyNotFoundError, AtLeastOneKeyError$1 as AtLeastOneKeyError, ContractType$1 as ContractType, ContractVerificationStatus$1 as ContractVerificationStatus, EventLogDataType$1 as EventLogDataType, EventLogType$1 as EventLogType, GeoblockedError$1 as GeoblockedError, Indexer, indexergw_gen as IndexerGateway, InvalidArgumentError$1 as InvalidArgumentError, InvalidOriginError$1 as InvalidOriginError, InvalidServiceError$1 as InvalidServiceError, MaxAccessKeysError$1 as MaxAccessKeysError, MetadataCallFailedError$1 as MetadataCallFailedError, MethodNotFoundError$1 as MethodNotFoundError, NoDefaultKeyError$1 as NoDefaultKeyError, NotFoundError$1 as NotFoundError, OrderStatus$1 as OrderStatus, PermissionDeniedError$1 as PermissionDeniedError, ProjectNotFoundError$1 as ProjectNotFoundError, QueryFailedError$1 as QueryFailedError, QuotaExceededError$1 as QuotaExceededError, RateLimitError$1 as RateLimitError, RateLimitedError$1 as RateLimitedError, RequestConflictError$1 as RequestConflictError, ResourceExhaustedError$1 as ResourceExhaustedError, ResourceStatus$1 as ResourceStatus, SequenceIndexer, SequenceIndexerGateway, SessionExpiredError$1 as SessionExpiredError, SortOrder$1 as SortOrder, TimeoutError$1 as TimeoutError, TransactionStatus$1 as TransactionStatus, TransactionType$1 as TransactionType, TxnTransferType$1 as TxnTransferType, UnauthorizedError$1 as UnauthorizedError, UnauthorizedUserError$1 as UnauthorizedUserError, UnavailableError$1 as UnavailableError, VersionFromHeader$1 as VersionFromHeader, WebRPCSchemaHash$1 as WebRPCSchemaHash, WebRPCSchemaVersion$1 as WebRPCSchemaVersion, WebRPCVersion$1 as WebRPCVersion, WebrpcBadMethodError$1 as WebrpcBadMethodError, WebrpcBadRequestError$1 as WebrpcBadRequestError, WebrpcBadResponseError$1 as WebrpcBadResponseError, WebrpcBadRouteError$1 as WebrpcBadRouteError, WebrpcClientDisconnectedError$1 as WebrpcClientDisconnectedError, WebrpcEndpointError$1 as WebrpcEndpointError, WebrpcError$1 as WebrpcError, WebrpcHeader$1 as WebrpcHeader, WebrpcHeaderValue$1 as WebrpcHeaderValue, WebrpcInternalErrorError$1 as WebrpcInternalErrorError, WebrpcRequestFailedError$1 as WebrpcRequestFailedError, WebrpcServerPanicError$1 as WebrpcServerPanicError, WebrpcStreamFinishedError$1 as WebrpcStreamFinishedError, WebrpcStreamLostError$1 as WebrpcStreamLostError, errors$1 as errors };
|
|
1807
|
+
export { AbortedError$1 as AbortedError, AccessKeyMismatchError$1 as AccessKeyMismatchError, AccessKeyNotFoundError$1 as AccessKeyNotFoundError, AtLeastOneKeyError$1 as AtLeastOneKeyError, ContractType$1 as ContractType, ContractVerificationStatus$1 as ContractVerificationStatus, EventLogDataType$1 as EventLogDataType, EventLogType$1 as EventLogType, GeoblockedError$1 as GeoblockedError, Indexer, indexergw_gen as IndexerGateway, InvalidArgumentError$1 as InvalidArgumentError, InvalidOriginError$1 as InvalidOriginError, InvalidServiceError$1 as InvalidServiceError, MaxAccessKeysError$1 as MaxAccessKeysError, MetadataCallFailedError$1 as MetadataCallFailedError, MethodNotFoundError$1 as MethodNotFoundError, NetworkType$1 as NetworkType, NoDefaultKeyError$1 as NoDefaultKeyError, NotFoundError$1 as NotFoundError, OrderStatus$1 as OrderStatus, PermissionDeniedError$1 as PermissionDeniedError, ProjectNotFoundError$1 as ProjectNotFoundError, QueryFailedError$1 as QueryFailedError, QuotaExceededError$1 as QuotaExceededError, RateLimitError$1 as RateLimitError, RateLimitedError$1 as RateLimitedError, RequestConflictError$1 as RequestConflictError, ResourceExhaustedError$1 as ResourceExhaustedError, ResourceStatus$1 as ResourceStatus, SequenceIndexer, SequenceIndexerGateway, SessionExpiredError$1 as SessionExpiredError, SortOrder$1 as SortOrder, TimeoutError$1 as TimeoutError, TransactionStatus$1 as TransactionStatus, TransactionType$1 as TransactionType, TxnTransferType$1 as TxnTransferType, UnauthorizedError$1 as UnauthorizedError, UnauthorizedUserError$1 as UnauthorizedUserError, UnavailableError$1 as UnavailableError, VersionFromHeader$1 as VersionFromHeader, WebRPCSchemaHash$1 as WebRPCSchemaHash, WebRPCSchemaVersion$1 as WebRPCSchemaVersion, WebRPCVersion$1 as WebRPCVersion, WebrpcBadMethodError$1 as WebrpcBadMethodError, WebrpcBadRequestError$1 as WebrpcBadRequestError, WebrpcBadResponseError$1 as WebrpcBadResponseError, WebrpcBadRouteError$1 as WebrpcBadRouteError, WebrpcClientDisconnectedError$1 as WebrpcClientDisconnectedError, WebrpcEndpointError$1 as WebrpcEndpointError, WebrpcError$1 as WebrpcError, WebrpcHeader$1 as WebrpcHeader, WebrpcHeaderValue$1 as WebrpcHeaderValue, WebrpcInternalErrorError$1 as WebrpcInternalErrorError, WebrpcRequestFailedError$1 as WebrpcRequestFailedError, WebrpcServerPanicError$1 as WebrpcServerPanicError, WebrpcStreamFinishedError$1 as WebrpcStreamFinishedError, WebrpcStreamLostError$1 as WebrpcStreamLostError, errors$1 as errors };
|
|
@@ -2,7 +2,7 @@ export declare const WebrpcHeader = "Webrpc";
|
|
|
2
2
|
export declare const WebrpcHeaderValue = "webrpc@v0.21.1;gen-typescript@v0.15.1;sequence-indexer@v0.4.0";
|
|
3
3
|
export declare const WebRPCVersion = "v1";
|
|
4
4
|
export declare const WebRPCSchemaVersion = "v0.4.0";
|
|
5
|
-
export declare const WebRPCSchemaHash = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "c41b212372a09a089df4a136a01ca367b5541a5d";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -136,6 +136,11 @@ export declare enum ContractVerificationStatus {
|
|
|
136
136
|
UNVERIFIED = "UNVERIFIED",
|
|
137
137
|
ALL = "ALL"
|
|
138
138
|
}
|
|
139
|
+
export declare enum NetworkType {
|
|
140
|
+
MAINNETS = "MAINNETS",
|
|
141
|
+
TESTNETS = "TESTNETS",
|
|
142
|
+
ALL = "ALL"
|
|
143
|
+
}
|
|
139
144
|
export interface Version {
|
|
140
145
|
webrpcVersion: string;
|
|
141
146
|
schemaVersion: string;
|
|
@@ -2,7 +2,7 @@ export declare const WebrpcHeader = "Webrpc";
|
|
|
2
2
|
export declare const WebrpcHeaderValue = "webrpc@v0.21.1;gen-typescript@v0.15.1;sequence-indexer@v0.4.0";
|
|
3
3
|
export declare const WebRPCVersion = "v1";
|
|
4
4
|
export declare const WebRPCSchemaVersion = "v0.4.0";
|
|
5
|
-
export declare const WebRPCSchemaHash = "
|
|
5
|
+
export declare const WebRPCSchemaHash = "1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939";
|
|
6
6
|
type WebrpcGenVersions = {
|
|
7
7
|
webrpcGenVersion: string;
|
|
8
8
|
codeGenName: string;
|
|
@@ -136,6 +136,11 @@ export declare enum ContractVerificationStatus {
|
|
|
136
136
|
UNVERIFIED = "UNVERIFIED",
|
|
137
137
|
ALL = "ALL"
|
|
138
138
|
}
|
|
139
|
+
export declare enum NetworkType {
|
|
140
|
+
MAINNETS = "MAINNETS",
|
|
141
|
+
TESTNETS = "TESTNETS",
|
|
142
|
+
ALL = "ALL"
|
|
143
|
+
}
|
|
139
144
|
export interface Version {
|
|
140
145
|
webrpcVersion: string;
|
|
141
146
|
schemaVersion: string;
|
|
@@ -487,7 +492,7 @@ export interface IndexerGateway {
|
|
|
487
492
|
export interface GetNativeTokenBalanceArgs {
|
|
488
493
|
chainIds?: Array<number>;
|
|
489
494
|
networks?: Array<string>;
|
|
490
|
-
|
|
495
|
+
networkType?: NetworkType;
|
|
491
496
|
accountAddress?: string;
|
|
492
497
|
}
|
|
493
498
|
export interface GetNativeTokenBalanceReturn {
|
|
@@ -496,7 +501,7 @@ export interface GetNativeTokenBalanceReturn {
|
|
|
496
501
|
export interface GetTokenBalancesArgs {
|
|
497
502
|
chainIds?: Array<number>;
|
|
498
503
|
networks?: Array<string>;
|
|
499
|
-
|
|
504
|
+
networkType?: NetworkType;
|
|
500
505
|
accountAddress?: string;
|
|
501
506
|
contractAddress?: string;
|
|
502
507
|
tokenID?: string;
|
|
@@ -512,7 +517,7 @@ export interface GetTokenBalancesReturn {
|
|
|
512
517
|
export interface GetTokenBalancesSummaryArgs {
|
|
513
518
|
chainIds?: Array<number>;
|
|
514
519
|
networks?: Array<string>;
|
|
515
|
-
|
|
520
|
+
networkType?: NetworkType;
|
|
516
521
|
filter: TokenBalancesFilter;
|
|
517
522
|
omitMetadata?: boolean;
|
|
518
523
|
page?: Page;
|
|
@@ -525,7 +530,7 @@ export interface GetTokenBalancesSummaryReturn {
|
|
|
525
530
|
export interface GetTokenBalancesDetailsArgs {
|
|
526
531
|
chainIds?: Array<number>;
|
|
527
532
|
networks?: Array<string>;
|
|
528
|
-
|
|
533
|
+
networkType?: NetworkType;
|
|
529
534
|
filter: TokenBalancesFilter;
|
|
530
535
|
omitMetadata?: boolean;
|
|
531
536
|
page?: Page;
|
|
@@ -538,7 +543,7 @@ export interface GetTokenBalancesDetailsReturn {
|
|
|
538
543
|
export interface GetTokenBalancesByContractArgs {
|
|
539
544
|
chainIds?: Array<number>;
|
|
540
545
|
networks?: Array<string>;
|
|
541
|
-
|
|
546
|
+
networkType?: NetworkType;
|
|
542
547
|
filter: TokenBalancesByContractFilter;
|
|
543
548
|
omitMetadata?: boolean;
|
|
544
549
|
page?: Page;
|
|
@@ -550,7 +555,7 @@ export interface GetTokenBalancesByContractReturn {
|
|
|
550
555
|
export interface GetBalanceUpdatesArgs {
|
|
551
556
|
chainIds?: Array<number>;
|
|
552
557
|
networks?: Array<string>;
|
|
553
|
-
|
|
558
|
+
networkType?: NetworkType;
|
|
554
559
|
contractAddress: string;
|
|
555
560
|
lastBlockNumber: number;
|
|
556
561
|
lastBlockHash?: string;
|
package/package.json
CHANGED
package/src/indexer.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-indexer v0.4.0
|
|
2
|
+
// sequence-indexer v0.4.0 c41b212372a09a089df4a136a01ca367b5541a5d
|
|
3
3
|
// --
|
|
4
4
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
|
|
|
16
16
|
export const WebRPCSchemaVersion = 'v0.4.0'
|
|
17
17
|
|
|
18
18
|
// Schema hash generated from your RIDL schema
|
|
19
|
-
export const WebRPCSchemaHash = '
|
|
19
|
+
export const WebRPCSchemaHash = 'c41b212372a09a089df4a136a01ca367b5541a5d'
|
|
20
20
|
|
|
21
21
|
type WebrpcGenVersions = {
|
|
22
22
|
webrpcGenVersion: string
|
|
@@ -205,6 +205,12 @@ export enum ContractVerificationStatus {
|
|
|
205
205
|
ALL = 'ALL'
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
export enum NetworkType {
|
|
209
|
+
MAINNETS = 'MAINNETS',
|
|
210
|
+
TESTNETS = 'TESTNETS',
|
|
211
|
+
ALL = 'ALL'
|
|
212
|
+
}
|
|
213
|
+
|
|
208
214
|
export interface Version {
|
|
209
215
|
webrpcVersion: string
|
|
210
216
|
schemaVersion: string
|
package/src/indexergw.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-indexer v0.4.0
|
|
2
|
+
// sequence-indexer v0.4.0 1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939
|
|
3
3
|
// --
|
|
4
4
|
// Code generated by webrpc-gen@v0.21.1 with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
|
|
|
16
16
|
export const WebRPCSchemaVersion = 'v0.4.0'
|
|
17
17
|
|
|
18
18
|
// Schema hash generated from your RIDL schema
|
|
19
|
-
export const WebRPCSchemaHash = '
|
|
19
|
+
export const WebRPCSchemaHash = '1a1a1336a6c12f55dc0c1e52da2f3a6fcca5f939'
|
|
20
20
|
|
|
21
21
|
type WebrpcGenVersions = {
|
|
22
22
|
webrpcGenVersion: string
|
|
@@ -205,6 +205,12 @@ export enum ContractVerificationStatus {
|
|
|
205
205
|
ALL = 'ALL'
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
export enum NetworkType {
|
|
209
|
+
MAINNETS = 'MAINNETS',
|
|
210
|
+
TESTNETS = 'TESTNETS',
|
|
211
|
+
ALL = 'ALL'
|
|
212
|
+
}
|
|
213
|
+
|
|
208
214
|
export interface Version {
|
|
209
215
|
webrpcVersion: string
|
|
210
216
|
schemaVersion: string
|
|
@@ -607,7 +613,7 @@ export interface IndexerGateway {
|
|
|
607
613
|
export interface GetNativeTokenBalanceArgs {
|
|
608
614
|
chainIds?: Array<number>
|
|
609
615
|
networks?: Array<string>
|
|
610
|
-
|
|
616
|
+
networkType?: NetworkType
|
|
611
617
|
accountAddress?: string
|
|
612
618
|
}
|
|
613
619
|
|
|
@@ -617,7 +623,7 @@ export interface GetNativeTokenBalanceReturn {
|
|
|
617
623
|
export interface GetTokenBalancesArgs {
|
|
618
624
|
chainIds?: Array<number>
|
|
619
625
|
networks?: Array<string>
|
|
620
|
-
|
|
626
|
+
networkType?: NetworkType
|
|
621
627
|
accountAddress?: string
|
|
622
628
|
contractAddress?: string
|
|
623
629
|
tokenID?: string
|
|
@@ -634,7 +640,7 @@ export interface GetTokenBalancesReturn {
|
|
|
634
640
|
export interface GetTokenBalancesSummaryArgs {
|
|
635
641
|
chainIds?: Array<number>
|
|
636
642
|
networks?: Array<string>
|
|
637
|
-
|
|
643
|
+
networkType?: NetworkType
|
|
638
644
|
filter: TokenBalancesFilter
|
|
639
645
|
omitMetadata?: boolean
|
|
640
646
|
page?: Page
|
|
@@ -648,7 +654,7 @@ export interface GetTokenBalancesSummaryReturn {
|
|
|
648
654
|
export interface GetTokenBalancesDetailsArgs {
|
|
649
655
|
chainIds?: Array<number>
|
|
650
656
|
networks?: Array<string>
|
|
651
|
-
|
|
657
|
+
networkType?: NetworkType
|
|
652
658
|
filter: TokenBalancesFilter
|
|
653
659
|
omitMetadata?: boolean
|
|
654
660
|
page?: Page
|
|
@@ -662,7 +668,7 @@ export interface GetTokenBalancesDetailsReturn {
|
|
|
662
668
|
export interface GetTokenBalancesByContractArgs {
|
|
663
669
|
chainIds?: Array<number>
|
|
664
670
|
networks?: Array<string>
|
|
665
|
-
|
|
671
|
+
networkType?: NetworkType
|
|
666
672
|
filter: TokenBalancesByContractFilter
|
|
667
673
|
omitMetadata?: boolean
|
|
668
674
|
page?: Page
|
|
@@ -675,7 +681,7 @@ export interface GetTokenBalancesByContractReturn {
|
|
|
675
681
|
export interface GetBalanceUpdatesArgs {
|
|
676
682
|
chainIds?: Array<number>
|
|
677
683
|
networks?: Array<string>
|
|
678
|
-
|
|
684
|
+
networkType?: NetworkType
|
|
679
685
|
contractAddress: string
|
|
680
686
|
lastBlockNumber: number
|
|
681
687
|
lastBlockHash?: string
|