@dfns/sdk 0.3.1 → 0.3.2
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/codegen/datamodel/Assets/types.d.ts +1 -7
- package/codegen/datamodel/Wallets/types.d.ts +152 -45
- package/codegen/datamodel/Wallets/types.js +34 -4
- package/dfnsApiClient.d.ts +2 -12
- package/dfnsApiClient.js +4 -18
- package/dfnsDelegatedApiClient.d.ts +2 -12
- package/dfnsDelegatedApiClient.js +4 -18
- package/generated/networks/client.d.ts +8 -0
- package/generated/networks/client.js +34 -0
- package/generated/networks/delegatedClient.d.ts +8 -0
- package/generated/networks/delegatedClient.js +34 -0
- package/generated/networks/index.d.ts +3 -0
- package/{codegen/datamodel/Orgs → generated/networks}/index.js +2 -1
- package/generated/networks/types.d.ts +37 -0
- package/generated/permissions/types.d.ts +49 -4
- package/generated/policies/types.d.ts +258 -2
- package/generated/wallets/types.d.ts +36 -31
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
- package/types/networks.d.ts +1 -0
- package/{codegen/datamodel/BlockchainIndexing/index.js → types/networks.js} +1 -1
- package/codegen/Blockchains/BlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/BlockchainsClient.js +0 -23
- package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/DelegatedBlockchainsClient.js +0 -23
- package/codegen/Blockchains/index.d.ts +0 -3
- package/codegen/Blockchains/index.js +0 -19
- package/codegen/Blockchains/types.d.ts +0 -6
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +0 -11
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +0 -61
- package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +0 -9
- package/codegen/PolicyExecution/PolicyExecutionClient.js +0 -45
- package/codegen/PolicyExecution/index.d.ts +0 -3
- package/codegen/PolicyExecution/index.js +0 -19
- package/codegen/PolicyExecution/types.d.ts +0 -18
- package/codegen/PolicyExecution/types.js +0 -2
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +0 -25
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +0 -240
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +0 -18
- package/codegen/PolicyManagement/PolicyManagementClient.js +0 -146
- package/codegen/PolicyManagement/index.d.ts +0 -3
- package/codegen/PolicyManagement/index.js +0 -19
- package/codegen/PolicyManagement/types.d.ts +0 -51
- package/codegen/PolicyManagement/types.js +0 -2
- package/codegen/Signers/DelegatedSignersClient.d.ts +0 -7
- package/codegen/Signers/DelegatedSignersClient.js +0 -22
- package/codegen/Signers/SignersClient.d.ts +0 -7
- package/codegen/Signers/SignersClient.js +0 -22
- package/codegen/Signers/index.d.ts +0 -3
- package/codegen/Signers/index.js +0 -19
- package/codegen/Signers/types.d.ts +0 -2
- package/codegen/Signers/types.js +0 -2
- package/codegen/datamodel/ApiKeys/errors.d.ts +0 -6
- package/codegen/datamodel/ApiKeys/errors.js +0 -15
- package/codegen/datamodel/ApiKeys/index.d.ts +0 -3
- package/codegen/datamodel/ApiKeys/index.js +0 -19
- package/codegen/datamodel/ApiKeys/responses.d.ts +0 -25
- package/codegen/datamodel/ApiKeys/responses.js +0 -2
- package/codegen/datamodel/ApiKeys/types.d.ts +0 -32
- package/codegen/datamodel/ApiKeys/types.js +0 -11
- package/codegen/datamodel/BlockchainIndexing/errors.d.ts +0 -0
- package/codegen/datamodel/BlockchainIndexing/errors.js +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.d.ts +0 -1
- package/codegen/datamodel/BlockchainIndexing/responses.d.ts +0 -6
- package/codegen/datamodel/BlockchainIndexing/responses.js +0 -2
- package/codegen/datamodel/BlockchainIndexing/types.d.ts +0 -0
- package/codegen/datamodel/BlockchainIndexing/types.js +0 -1
- package/codegen/datamodel/Blockchains/errors.d.ts +0 -0
- package/codegen/datamodel/Blockchains/errors.js +0 -1
- package/codegen/datamodel/Blockchains/index.d.ts +0 -2
- package/codegen/datamodel/Blockchains/index.js +0 -18
- package/codegen/datamodel/Blockchains/responses.d.ts +0 -12
- package/codegen/datamodel/Blockchains/responses.js +0 -2
- package/codegen/datamodel/Blockchains/types.d.ts +0 -270
- package/codegen/datamodel/Blockchains/types.js +0 -53
- package/codegen/datamodel/Orgs/errors.d.ts +0 -0
- package/codegen/datamodel/Orgs/errors.js +0 -1
- package/codegen/datamodel/Orgs/index.d.ts +0 -2
- package/codegen/datamodel/Orgs/responses.d.ts +0 -45
- package/codegen/datamodel/Orgs/responses.js +0 -2
- package/codegen/datamodel/Orgs/types.d.ts +0 -240
- package/codegen/datamodel/Orgs/types.js +0 -39
- package/codegen/datamodel/Permissions/errors.d.ts +0 -0
- package/codegen/datamodel/Permissions/errors.js +0 -1
- package/codegen/datamodel/Permissions/index.d.ts +0 -2
- package/codegen/datamodel/Permissions/index.js +0 -18
- package/codegen/datamodel/Permissions/responses.d.ts +0 -75
- package/codegen/datamodel/Permissions/responses.js +0 -2
- package/codegen/datamodel/Permissions/types.d.ts +0 -93
- package/codegen/datamodel/Permissions/types.js +0 -43
- package/codegen/datamodel/PolicyExecution/errors.d.ts +0 -11
- package/codegen/datamodel/PolicyExecution/errors.js +0 -17
- package/codegen/datamodel/PolicyExecution/index.d.ts +0 -3
- package/codegen/datamodel/PolicyExecution/index.js +0 -19
- package/codegen/datamodel/PolicyExecution/responses.d.ts +0 -19
- package/codegen/datamodel/PolicyExecution/responses.js +0 -2
- package/codegen/datamodel/PolicyExecution/types.d.ts +0 -60
- package/codegen/datamodel/PolicyExecution/types.js +0 -17
- package/codegen/datamodel/PolicyManagement/errors.d.ts +0 -0
- package/codegen/datamodel/PolicyManagement/errors.js +0 -1
- package/codegen/datamodel/PolicyManagement/index.d.ts +0 -2
- package/codegen/datamodel/PolicyManagement/index.js +0 -18
- package/codegen/datamodel/PolicyManagement/responses.d.ts +0 -83
- package/codegen/datamodel/PolicyManagement/responses.js +0 -2
- package/codegen/datamodel/PolicyManagement/types.d.ts +0 -391
- package/codegen/datamodel/PolicyManagement/types.js +0 -95
- package/codegen/datamodel/Signers/errors.d.ts +0 -0
- package/codegen/datamodel/Signers/errors.js +0 -1
- package/codegen/datamodel/Signers/index.d.ts +0 -2
- package/codegen/datamodel/Signers/index.js +0 -18
- package/codegen/datamodel/Signers/responses.d.ts +0 -27
- package/codegen/datamodel/Signers/responses.js +0 -2
- package/codegen/datamodel/Signers/types.d.ts +0 -21
- package/codegen/datamodel/Signers/types.js +0 -2
- /package/{codegen/Blockchains → generated/networks}/types.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Amount, AssetSymbol, DfnsCertificate, EntityId, Initiator, IntegerPositiveStrict, IsoDatetime,
|
|
1
|
+
import { Amount, AssetSymbol, DfnsCertificate, EntityId, Initiator, IntegerPositiveStrict, IsoDatetime, Tag } from '../Foundations';
|
|
2
2
|
export type PaymentInitiation = {
|
|
3
3
|
id: EntityId;
|
|
4
4
|
paymentId: EntityId;
|
|
@@ -165,12 +165,6 @@ export type CreateAssetAccountInput = {
|
|
|
165
165
|
assetSymbol: AssetSymbol;
|
|
166
166
|
groupSize?: IntegerPositiveStrict;
|
|
167
167
|
groupThreshold?: IntegerPositiveStrict;
|
|
168
|
-
/**
|
|
169
|
-
* `PublicKey` which is used by `AssetAccount`. Usually this is used to derive addresses on a given blockchain network.
|
|
170
|
-
*
|
|
171
|
-
* Alternatively can be used to verify signatures produced by the platform.
|
|
172
|
-
*/
|
|
173
|
-
publicKey?: PublicKey;
|
|
174
168
|
externalId?: string;
|
|
175
169
|
tags?: Tag[];
|
|
176
170
|
/**
|
|
@@ -7,6 +7,15 @@ export type TransferNativeAsset = {
|
|
|
7
7
|
to: BlockchainAddress;
|
|
8
8
|
amount: Amount;
|
|
9
9
|
};
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
12
|
+
*/
|
|
13
|
+
export type TransferAsaAsset = {
|
|
14
|
+
kind: TransferKind.Asa;
|
|
15
|
+
assetId: string;
|
|
16
|
+
to: BlockchainAddress;
|
|
17
|
+
amount: Amount;
|
|
18
|
+
};
|
|
10
19
|
/**
|
|
11
20
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
12
21
|
*/
|
|
@@ -25,6 +34,33 @@ export type TransferErc721Asset = {
|
|
|
25
34
|
to: BlockchainAddress;
|
|
26
35
|
tokenId: string;
|
|
27
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
39
|
+
*/
|
|
40
|
+
export type TransferTrc10Asset = {
|
|
41
|
+
kind: TransferKind.Trc10;
|
|
42
|
+
tokenId: string;
|
|
43
|
+
to: BlockchainAddress;
|
|
44
|
+
amount: Amount;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
48
|
+
*/
|
|
49
|
+
export type TransferTrc20Asset = {
|
|
50
|
+
kind: TransferKind.Trc20;
|
|
51
|
+
contract: BlockchainAddress;
|
|
52
|
+
to: BlockchainAddress;
|
|
53
|
+
amount: Amount;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
57
|
+
*/
|
|
58
|
+
export type TransferTrc721Asset = {
|
|
59
|
+
kind: TransferKind.Trc721;
|
|
60
|
+
contract: BlockchainAddress;
|
|
61
|
+
to: BlockchainAddress;
|
|
62
|
+
tokenId: string;
|
|
63
|
+
};
|
|
28
64
|
/**
|
|
29
65
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
30
66
|
*/
|
|
@@ -147,33 +183,6 @@ export type SupportedExportScheme = {
|
|
|
147
183
|
*/
|
|
148
184
|
protocol: KeyProtocol;
|
|
149
185
|
};
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
152
|
-
*/
|
|
153
|
-
export type TransferTrc10Asset = {
|
|
154
|
-
kind: TransferKind.Trc10;
|
|
155
|
-
tokenId: string;
|
|
156
|
-
to: BlockchainAddress;
|
|
157
|
-
amount: Amount;
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
161
|
-
*/
|
|
162
|
-
export type TransferTrc20Asset = {
|
|
163
|
-
kind: TransferKind.Trc20;
|
|
164
|
-
contract: BlockchainAddress;
|
|
165
|
-
to: BlockchainAddress;
|
|
166
|
-
amount: Amount;
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
170
|
-
*/
|
|
171
|
-
export type TransferTrc721Asset = {
|
|
172
|
-
kind: TransferKind.Trc721;
|
|
173
|
-
contract: BlockchainAddress;
|
|
174
|
-
to: BlockchainAddress;
|
|
175
|
-
tokenId: string;
|
|
176
|
-
};
|
|
177
186
|
/**
|
|
178
187
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
179
188
|
*/
|
|
@@ -221,7 +230,9 @@ export type WalletAssets = {
|
|
|
221
230
|
*/
|
|
222
231
|
export type WalletAsset = {
|
|
223
232
|
kind: BalanceKind;
|
|
233
|
+
assetId?: string;
|
|
224
234
|
contract?: string;
|
|
235
|
+
tokenId?: string;
|
|
225
236
|
symbol?: string;
|
|
226
237
|
decimals: number;
|
|
227
238
|
verified?: boolean;
|
|
@@ -266,12 +277,32 @@ export type NativeTransferEvent = {
|
|
|
266
277
|
timestamp: IsoDatetime;
|
|
267
278
|
fee?: Amount;
|
|
268
279
|
direction: TransferDirection;
|
|
269
|
-
symbol: string;
|
|
270
|
-
decimals: number;
|
|
271
|
-
verified?: boolean;
|
|
272
280
|
from: BlockchainAddress;
|
|
273
281
|
to: BlockchainAddress;
|
|
274
282
|
value: Amount;
|
|
283
|
+
metadata: BlockchainEventMetadata;
|
|
284
|
+
};
|
|
285
|
+
/**
|
|
286
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
287
|
+
*/
|
|
288
|
+
export type AsaTransferEvent = {
|
|
289
|
+
kind: EventKind.AsaTransfer;
|
|
290
|
+
walletId: EntityId;
|
|
291
|
+
network: BlockchainNetwork;
|
|
292
|
+
blockNumber: number;
|
|
293
|
+
txHash: string;
|
|
294
|
+
index?: string;
|
|
295
|
+
timestamp: IsoDatetime;
|
|
296
|
+
fee?: Amount;
|
|
297
|
+
direction: TransferDirection;
|
|
298
|
+
assetId: string;
|
|
299
|
+
from: BlockchainAddress;
|
|
300
|
+
to: BlockchainAddress;
|
|
301
|
+
value: Amount;
|
|
302
|
+
metadata: BlockchainEventMetadata;
|
|
303
|
+
optIn?: boolean;
|
|
304
|
+
optOut?: boolean;
|
|
305
|
+
clawback?: boolean;
|
|
275
306
|
};
|
|
276
307
|
/**
|
|
277
308
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -287,12 +318,10 @@ export type Erc20TransferEvent = {
|
|
|
287
318
|
fee?: Amount;
|
|
288
319
|
direction: TransferDirection;
|
|
289
320
|
contract: BlockchainAddress;
|
|
290
|
-
symbol?: string;
|
|
291
|
-
decimals: number;
|
|
292
|
-
verified?: boolean;
|
|
293
321
|
from: BlockchainAddress;
|
|
294
322
|
to: BlockchainAddress;
|
|
295
323
|
value: Amount;
|
|
324
|
+
metadata: BlockchainEventMetadata;
|
|
296
325
|
};
|
|
297
326
|
/**
|
|
298
327
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -308,11 +337,67 @@ export type Erc721TransferEvent = {
|
|
|
308
337
|
fee?: Amount;
|
|
309
338
|
direction: TransferDirection;
|
|
310
339
|
contract: BlockchainAddress;
|
|
311
|
-
symbol?: string;
|
|
312
|
-
verified?: boolean;
|
|
313
340
|
from: BlockchainAddress;
|
|
314
341
|
to: BlockchainAddress;
|
|
315
342
|
tokenId: string;
|
|
343
|
+
metadata: BlockchainEventMetadata;
|
|
344
|
+
};
|
|
345
|
+
/**
|
|
346
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
347
|
+
*/
|
|
348
|
+
export type Trc10TransferEvent = {
|
|
349
|
+
kind: EventKind.Trc10Transfer;
|
|
350
|
+
walletId: EntityId;
|
|
351
|
+
network: BlockchainNetwork;
|
|
352
|
+
blockNumber: number;
|
|
353
|
+
txHash: string;
|
|
354
|
+
index?: string;
|
|
355
|
+
timestamp: IsoDatetime;
|
|
356
|
+
fee?: Amount;
|
|
357
|
+
direction: TransferDirection;
|
|
358
|
+
tokenId: string;
|
|
359
|
+
from: BlockchainAddress;
|
|
360
|
+
to: BlockchainAddress;
|
|
361
|
+
value: Amount;
|
|
362
|
+
metadata: BlockchainEventMetadata;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
366
|
+
*/
|
|
367
|
+
export type Trc20TransferEvent = {
|
|
368
|
+
kind: EventKind.Trc20Transfer;
|
|
369
|
+
walletId: EntityId;
|
|
370
|
+
network: BlockchainNetwork;
|
|
371
|
+
blockNumber: number;
|
|
372
|
+
txHash: string;
|
|
373
|
+
index?: string;
|
|
374
|
+
timestamp: IsoDatetime;
|
|
375
|
+
fee?: Amount;
|
|
376
|
+
direction: TransferDirection;
|
|
377
|
+
contract: BlockchainAddress;
|
|
378
|
+
from: BlockchainAddress;
|
|
379
|
+
to: BlockchainAddress;
|
|
380
|
+
value: Amount;
|
|
381
|
+
metadata: BlockchainEventMetadata;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
385
|
+
*/
|
|
386
|
+
export type Trc721TransferEvent = {
|
|
387
|
+
kind: EventKind.Trc721Transfer;
|
|
388
|
+
walletId: EntityId;
|
|
389
|
+
network: BlockchainNetwork;
|
|
390
|
+
blockNumber: number;
|
|
391
|
+
txHash: string;
|
|
392
|
+
index?: string;
|
|
393
|
+
timestamp: IsoDatetime;
|
|
394
|
+
fee?: Amount;
|
|
395
|
+
direction: TransferDirection;
|
|
396
|
+
contract: BlockchainAddress;
|
|
397
|
+
from: BlockchainAddress;
|
|
398
|
+
to: BlockchainAddress;
|
|
399
|
+
tokenId: string;
|
|
400
|
+
metadata: BlockchainEventMetadata;
|
|
316
401
|
};
|
|
317
402
|
/**
|
|
318
403
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -422,6 +507,14 @@ export type RequesterIdentity = {
|
|
|
422
507
|
tokenId?: EntityId;
|
|
423
508
|
appId?: EntityId;
|
|
424
509
|
};
|
|
510
|
+
/**
|
|
511
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
512
|
+
*/
|
|
513
|
+
export type AssetMetadata = {
|
|
514
|
+
symbol?: string;
|
|
515
|
+
decimals?: number;
|
|
516
|
+
verified?: boolean;
|
|
517
|
+
};
|
|
425
518
|
/**
|
|
426
519
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
427
520
|
*/
|
|
@@ -431,10 +524,9 @@ export type TransferRequestMetadata = {
|
|
|
431
524
|
/**
|
|
432
525
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
433
526
|
*/
|
|
434
|
-
export type
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
verified?: boolean;
|
|
527
|
+
export type BlockchainEventMetadata = {
|
|
528
|
+
asset: AssetMetadata;
|
|
529
|
+
fee?: AssetMetadata;
|
|
438
530
|
};
|
|
439
531
|
/**
|
|
440
532
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -510,7 +602,7 @@ export type DelegateWalletBody = {
|
|
|
510
602
|
/**
|
|
511
603
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
512
604
|
*/
|
|
513
|
-
export type TransferAssetBody = TransferNativeAsset | TransferErc20Asset | TransferErc721Asset | TransferTrc10Asset | TransferTrc20Asset | TransferTrc721Asset;
|
|
605
|
+
export type TransferAssetBody = TransferNativeAsset | TransferAsaAsset | TransferErc20Asset | TransferErc721Asset | TransferTrc10Asset | TransferTrc20Asset | TransferTrc721Asset;
|
|
514
606
|
/**
|
|
515
607
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
516
608
|
*/
|
|
@@ -522,12 +614,13 @@ export type GenerateSignatureBody = SignHash | SignMessage | SignTransaction | S
|
|
|
522
614
|
/**
|
|
523
615
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
524
616
|
*/
|
|
525
|
-
export type BlockchainEvent = NativeTransferEvent | Erc20TransferEvent | Erc721TransferEvent;
|
|
617
|
+
export type BlockchainEvent = NativeTransferEvent | AsaTransferEvent | Erc20TransferEvent | Erc721TransferEvent | Trc10TransferEvent | Trc20TransferEvent | Trc721TransferEvent;
|
|
526
618
|
/**
|
|
527
619
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
528
620
|
*/
|
|
529
621
|
export declare enum TransferKind {
|
|
530
622
|
Native = "Native",
|
|
623
|
+
Asa = "Asa",
|
|
531
624
|
Erc20 = "Erc20",
|
|
532
625
|
Erc721 = "Erc721",
|
|
533
626
|
Trc10 = "Trc10",
|
|
@@ -588,16 +681,24 @@ export declare enum KeyProtocol {
|
|
|
588
681
|
*/
|
|
589
682
|
export declare enum BalanceKind {
|
|
590
683
|
Native = "Native",
|
|
684
|
+
Asa = "Asa",
|
|
591
685
|
Erc20 = "Erc20",
|
|
592
|
-
Erc721 = "Erc721"
|
|
686
|
+
Erc721 = "Erc721",
|
|
687
|
+
Trc10 = "Trc10",
|
|
688
|
+
Trc20 = "Trc20",
|
|
689
|
+
Trc721 = "Trc721"
|
|
593
690
|
}
|
|
594
691
|
/**
|
|
595
692
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
596
693
|
*/
|
|
597
694
|
export declare enum EventKind {
|
|
598
695
|
NativeTransfer = "NativeTransfer",
|
|
696
|
+
AsaTransfer = "AsaTransfer",
|
|
599
697
|
Erc20Transfer = "Erc20Transfer",
|
|
600
|
-
Erc721Transfer = "Erc721Transfer"
|
|
698
|
+
Erc721Transfer = "Erc721Transfer",
|
|
699
|
+
Trc10Transfer = "Trc10Transfer",
|
|
700
|
+
Trc20Transfer = "Trc20Transfer",
|
|
701
|
+
Trc721Transfer = "Trc721Transfer"
|
|
601
702
|
}
|
|
602
703
|
/**
|
|
603
704
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -643,6 +744,8 @@ export declare enum SignatureStatus {
|
|
|
643
744
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
644
745
|
*/
|
|
645
746
|
export declare enum BlockchainNetwork {
|
|
747
|
+
Algorand = "Algorand",
|
|
748
|
+
AlgorandTestnet = "AlgorandTestnet",
|
|
646
749
|
ArbitrumOne = "ArbitrumOne",
|
|
647
750
|
ArbitrumGoerli = "ArbitrumGoerli",
|
|
648
751
|
ArbitrumSepolia = "ArbitrumSepolia",
|
|
@@ -650,6 +753,7 @@ export declare enum BlockchainNetwork {
|
|
|
650
753
|
AvalancheCFuji = "AvalancheCFuji",
|
|
651
754
|
Base = "Base",
|
|
652
755
|
BaseGoerli = "BaseGoerli",
|
|
756
|
+
BaseSepolia = "BaseSepolia",
|
|
653
757
|
Bitcoin = "Bitcoin",
|
|
654
758
|
BitcoinTestnet3 = "BitcoinTestnet3",
|
|
655
759
|
Bsc = "Bsc",
|
|
@@ -659,18 +763,21 @@ export declare enum BlockchainNetwork {
|
|
|
659
763
|
EthereumSepolia = "EthereumSepolia",
|
|
660
764
|
FantomOpera = "FantomOpera",
|
|
661
765
|
FantomTestnet = "FantomTestnet",
|
|
766
|
+
Litecoin = "Litecoin",
|
|
767
|
+
LitecoinTestnet = "LitecoinTestnet",
|
|
662
768
|
Optimism = "Optimism",
|
|
663
769
|
OptimismGoerli = "OptimismGoerli",
|
|
770
|
+
OptimismSepolia = "OptimismSepolia",
|
|
664
771
|
Polygon = "Polygon",
|
|
665
772
|
PolygonMumbai = "PolygonMumbai",
|
|
666
|
-
Ripple = "Ripple",
|
|
667
|
-
RippleTestnet = "RippleTestnet",
|
|
668
773
|
Solana = "Solana",
|
|
669
774
|
SolanaDevnet = "SolanaDevnet",
|
|
670
775
|
Tezos = "Tezos",
|
|
671
776
|
TezosGhostnet = "TezosGhostnet",
|
|
672
777
|
Tron = "Tron",
|
|
673
778
|
TronNile = "TronNile",
|
|
779
|
+
XrpLedger = "XrpLedger",
|
|
780
|
+
XrpLedgerTestnet = "XrpLedgerTestnet",
|
|
674
781
|
KeyECDSA = "KeyECDSA",
|
|
675
782
|
KeyEdDSA = "KeyEdDSA",
|
|
676
783
|
KeyECDSAStark = "KeyECDSAStark"
|
|
@@ -8,6 +8,8 @@ var TransferKind;
|
|
|
8
8
|
(function (TransferKind) {
|
|
9
9
|
// FIXME: Missing documentation for Native
|
|
10
10
|
TransferKind["Native"] = "Native";
|
|
11
|
+
// FIXME: Missing documentation for Asa
|
|
12
|
+
TransferKind["Asa"] = "Asa";
|
|
11
13
|
// FIXME: Missing documentation for Erc20
|
|
12
14
|
TransferKind["Erc20"] = "Erc20";
|
|
13
15
|
// FIXME: Missing documentation for Erc721
|
|
@@ -100,10 +102,18 @@ var BalanceKind;
|
|
|
100
102
|
(function (BalanceKind) {
|
|
101
103
|
// FIXME: Missing documentation for Native
|
|
102
104
|
BalanceKind["Native"] = "Native";
|
|
105
|
+
// FIXME: Missing documentation for Asa
|
|
106
|
+
BalanceKind["Asa"] = "Asa";
|
|
103
107
|
// FIXME: Missing documentation for Erc20
|
|
104
108
|
BalanceKind["Erc20"] = "Erc20";
|
|
105
109
|
// FIXME: Missing documentation for Erc721
|
|
106
110
|
BalanceKind["Erc721"] = "Erc721";
|
|
111
|
+
// FIXME: Missing documentation for Trc10
|
|
112
|
+
BalanceKind["Trc10"] = "Trc10";
|
|
113
|
+
// FIXME: Missing documentation for Trc20
|
|
114
|
+
BalanceKind["Trc20"] = "Trc20";
|
|
115
|
+
// FIXME: Missing documentation for Trc721
|
|
116
|
+
BalanceKind["Trc721"] = "Trc721";
|
|
107
117
|
})(BalanceKind || (exports.BalanceKind = BalanceKind = {}));
|
|
108
118
|
/**
|
|
109
119
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -112,10 +122,18 @@ var EventKind;
|
|
|
112
122
|
(function (EventKind) {
|
|
113
123
|
// FIXME: Missing documentation for NativeTransfer
|
|
114
124
|
EventKind["NativeTransfer"] = "NativeTransfer";
|
|
125
|
+
// FIXME: Missing documentation for AsaTransfer
|
|
126
|
+
EventKind["AsaTransfer"] = "AsaTransfer";
|
|
115
127
|
// FIXME: Missing documentation for Erc20Transfer
|
|
116
128
|
EventKind["Erc20Transfer"] = "Erc20Transfer";
|
|
117
129
|
// FIXME: Missing documentation for Erc721Transfer
|
|
118
130
|
EventKind["Erc721Transfer"] = "Erc721Transfer";
|
|
131
|
+
// FIXME: Missing documentation for Trc10Transfer
|
|
132
|
+
EventKind["Trc10Transfer"] = "Trc10Transfer";
|
|
133
|
+
// FIXME: Missing documentation for Trc20Transfer
|
|
134
|
+
EventKind["Trc20Transfer"] = "Trc20Transfer";
|
|
135
|
+
// FIXME: Missing documentation for Trc721Transfer
|
|
136
|
+
EventKind["Trc721Transfer"] = "Trc721Transfer";
|
|
119
137
|
})(EventKind || (exports.EventKind = EventKind = {}));
|
|
120
138
|
/**
|
|
121
139
|
* @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
|
|
@@ -186,6 +204,10 @@ var SignatureStatus;
|
|
|
186
204
|
*/
|
|
187
205
|
var BlockchainNetwork;
|
|
188
206
|
(function (BlockchainNetwork) {
|
|
207
|
+
// FIXME: Missing documentation for Algorand
|
|
208
|
+
BlockchainNetwork["Algorand"] = "Algorand";
|
|
209
|
+
// FIXME: Missing documentation for AlgorandTestnet
|
|
210
|
+
BlockchainNetwork["AlgorandTestnet"] = "AlgorandTestnet";
|
|
189
211
|
// FIXME: Missing documentation for ArbitrumOne
|
|
190
212
|
BlockchainNetwork["ArbitrumOne"] = "ArbitrumOne";
|
|
191
213
|
// FIXME: Missing documentation for ArbitrumGoerli
|
|
@@ -200,6 +222,8 @@ var BlockchainNetwork;
|
|
|
200
222
|
BlockchainNetwork["Base"] = "Base";
|
|
201
223
|
// FIXME: Missing documentation for BaseGoerli
|
|
202
224
|
BlockchainNetwork["BaseGoerli"] = "BaseGoerli";
|
|
225
|
+
// FIXME: Missing documentation for BaseSepolia
|
|
226
|
+
BlockchainNetwork["BaseSepolia"] = "BaseSepolia";
|
|
203
227
|
// FIXME: Missing documentation for Bitcoin
|
|
204
228
|
BlockchainNetwork["Bitcoin"] = "Bitcoin";
|
|
205
229
|
// FIXME: Missing documentation for BitcoinTestnet3
|
|
@@ -218,18 +242,20 @@ var BlockchainNetwork;
|
|
|
218
242
|
BlockchainNetwork["FantomOpera"] = "FantomOpera";
|
|
219
243
|
// FIXME: Missing documentation for FantomTestnet
|
|
220
244
|
BlockchainNetwork["FantomTestnet"] = "FantomTestnet";
|
|
245
|
+
// FIXME: Missing documentation for Litecoin
|
|
246
|
+
BlockchainNetwork["Litecoin"] = "Litecoin";
|
|
247
|
+
// FIXME: Missing documentation for LitecoinTestnet
|
|
248
|
+
BlockchainNetwork["LitecoinTestnet"] = "LitecoinTestnet";
|
|
221
249
|
// FIXME: Missing documentation for Optimism
|
|
222
250
|
BlockchainNetwork["Optimism"] = "Optimism";
|
|
223
251
|
// FIXME: Missing documentation for OptimismGoerli
|
|
224
252
|
BlockchainNetwork["OptimismGoerli"] = "OptimismGoerli";
|
|
253
|
+
// FIXME: Missing documentation for OptimismSepolia
|
|
254
|
+
BlockchainNetwork["OptimismSepolia"] = "OptimismSepolia";
|
|
225
255
|
// FIXME: Missing documentation for Polygon
|
|
226
256
|
BlockchainNetwork["Polygon"] = "Polygon";
|
|
227
257
|
// FIXME: Missing documentation for PolygonMumbai
|
|
228
258
|
BlockchainNetwork["PolygonMumbai"] = "PolygonMumbai";
|
|
229
|
-
// FIXME: Missing documentation for Ripple
|
|
230
|
-
BlockchainNetwork["Ripple"] = "Ripple";
|
|
231
|
-
// FIXME: Missing documentation for RippleTestnet
|
|
232
|
-
BlockchainNetwork["RippleTestnet"] = "RippleTestnet";
|
|
233
259
|
// FIXME: Missing documentation for Solana
|
|
234
260
|
BlockchainNetwork["Solana"] = "Solana";
|
|
235
261
|
// FIXME: Missing documentation for SolanaDevnet
|
|
@@ -242,6 +268,10 @@ var BlockchainNetwork;
|
|
|
242
268
|
BlockchainNetwork["Tron"] = "Tron";
|
|
243
269
|
// FIXME: Missing documentation for TronNile
|
|
244
270
|
BlockchainNetwork["TronNile"] = "TronNile";
|
|
271
|
+
// FIXME: Missing documentation for XrpLedger
|
|
272
|
+
BlockchainNetwork["XrpLedger"] = "XrpLedger";
|
|
273
|
+
// FIXME: Missing documentation for XrpLedgerTestnet
|
|
274
|
+
BlockchainNetwork["XrpLedgerTestnet"] = "XrpLedgerTestnet";
|
|
245
275
|
// FIXME: Missing documentation for KeyECDSA
|
|
246
276
|
BlockchainNetwork["KeyECDSA"] = "KeyECDSA";
|
|
247
277
|
// FIXME: Missing documentation for KeyEdDSA
|
package/dfnsApiClient.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { DfnsBaseApiOptions } from './baseAuthApi';
|
|
2
2
|
import { AssetsClient } from './codegen/Assets';
|
|
3
3
|
import { AuthClient } from './codegen/Auth';
|
|
4
|
-
import { BlockchainsClient } from './codegen/Blockchains';
|
|
5
4
|
import { CallbacksClient } from './codegen/Callbacks';
|
|
6
|
-
import { PolicyExecutionClient } from './codegen/PolicyExecution';
|
|
7
|
-
import { PolicyManagementClient } from './codegen/PolicyManagement';
|
|
8
5
|
import { PublicKeysClient } from './codegen/PublicKeys';
|
|
6
|
+
import { NetworksClient } from './generated/networks';
|
|
9
7
|
import { PermissionsClient } from './generated/permissions';
|
|
10
8
|
import { PoliciesClient } from './generated/policies';
|
|
11
9
|
import { SignersClient } from './generated/signers';
|
|
@@ -20,18 +18,10 @@ export declare class DfnsApiClient {
|
|
|
20
18
|
constructor(apiOptions: DfnsApiClientOptions);
|
|
21
19
|
get assets(): AssetsClient;
|
|
22
20
|
get auth(): AuthClient;
|
|
23
|
-
get blockchains(): BlockchainsClient;
|
|
24
21
|
get callbacks(): CallbacksClient;
|
|
22
|
+
get networks(): NetworksClient;
|
|
25
23
|
get permissions(): PermissionsClient;
|
|
26
24
|
get policies(): PoliciesClient;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated use the new policy engine instead
|
|
29
|
-
*/
|
|
30
|
-
get policyExecution(): PolicyExecutionClient;
|
|
31
|
-
/**
|
|
32
|
-
* @deprecated use the new policy engine instead
|
|
33
|
-
*/
|
|
34
|
-
get policyManagement(): PolicyManagementClient;
|
|
35
25
|
get publicKeys(): PublicKeysClient;
|
|
36
26
|
get wallets(): WalletsClient;
|
|
37
27
|
get webhooks(): WebhooksClient;
|
package/dfnsApiClient.js
CHANGED
|
@@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DfnsApiClient = void 0;
|
|
4
4
|
const Assets_1 = require("./codegen/Assets");
|
|
5
5
|
const Auth_1 = require("./codegen/Auth");
|
|
6
|
-
const Blockchains_1 = require("./codegen/Blockchains");
|
|
7
6
|
const Callbacks_1 = require("./codegen/Callbacks");
|
|
8
|
-
const PolicyExecution_1 = require("./codegen/PolicyExecution");
|
|
9
|
-
const PolicyManagement_1 = require("./codegen/PolicyManagement");
|
|
10
7
|
const PublicKeys_1 = require("./codegen/PublicKeys");
|
|
8
|
+
const networks_1 = require("./generated/networks");
|
|
11
9
|
const permissions_1 = require("./generated/permissions");
|
|
12
10
|
const policies_1 = require("./generated/policies");
|
|
13
11
|
const signers_1 = require("./generated/signers");
|
|
@@ -23,30 +21,18 @@ class DfnsApiClient {
|
|
|
23
21
|
get auth() {
|
|
24
22
|
return new Auth_1.AuthClient(this.apiOptions);
|
|
25
23
|
}
|
|
26
|
-
get blockchains() {
|
|
27
|
-
return new Blockchains_1.BlockchainsClient(this.apiOptions);
|
|
28
|
-
}
|
|
29
24
|
get callbacks() {
|
|
30
25
|
return new Callbacks_1.CallbacksClient(this.apiOptions);
|
|
31
26
|
}
|
|
27
|
+
get networks() {
|
|
28
|
+
return new networks_1.NetworksClient(this.apiOptions);
|
|
29
|
+
}
|
|
32
30
|
get permissions() {
|
|
33
31
|
return new permissions_1.PermissionsClient(this.apiOptions);
|
|
34
32
|
}
|
|
35
33
|
get policies() {
|
|
36
34
|
return new policies_1.PoliciesClient(this.apiOptions);
|
|
37
35
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated use the new policy engine instead
|
|
40
|
-
*/
|
|
41
|
-
get policyExecution() {
|
|
42
|
-
return new PolicyExecution_1.PolicyExecutionClient(this.apiOptions);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated use the new policy engine instead
|
|
46
|
-
*/
|
|
47
|
-
get policyManagement() {
|
|
48
|
-
return new PolicyManagement_1.PolicyManagementClient(this.apiOptions);
|
|
49
|
-
}
|
|
50
36
|
get publicKeys() {
|
|
51
37
|
return new PublicKeys_1.PublicKeysClient(this.apiOptions);
|
|
52
38
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { DfnsBaseApiOptions } from './baseAuthApi';
|
|
2
2
|
import { DelegatedAssetsClient } from './codegen/Assets';
|
|
3
3
|
import { DelegatedAuthClient } from './codegen/Auth';
|
|
4
|
-
import { DelegatedBlockchainsClient } from './codegen/Blockchains';
|
|
5
4
|
import { DelegatedCallbacksClient } from './codegen/Callbacks';
|
|
6
|
-
import { DelegatedPolicyExecutionClient } from './codegen/PolicyExecution';
|
|
7
|
-
import { DelegatedPolicyManagementClient } from './codegen/PolicyManagement';
|
|
8
5
|
import { DelegatedPublicKeysClient } from './codegen/PublicKeys';
|
|
6
|
+
import { DelegatedNetworksClient } from './generated/networks';
|
|
9
7
|
import { DelegatedPermissionsClient } from './generated/permissions';
|
|
10
8
|
import { DelegatedPoliciesClient } from './generated/policies';
|
|
11
9
|
import { DelegatedSignersClient } from './generated/signers';
|
|
@@ -19,18 +17,10 @@ export declare class DfnsDelegatedApiClient {
|
|
|
19
17
|
constructor(apiOptions: DfnsDelegatedApiClientOptions);
|
|
20
18
|
get assets(): DelegatedAssetsClient;
|
|
21
19
|
get auth(): DelegatedAuthClient;
|
|
22
|
-
get blockchains(): DelegatedBlockchainsClient;
|
|
23
20
|
get callbacks(): DelegatedCallbacksClient;
|
|
21
|
+
get networks(): DelegatedNetworksClient;
|
|
24
22
|
get permissions(): DelegatedPermissionsClient;
|
|
25
23
|
get policies(): DelegatedPoliciesClient;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated use the new policy engine instead
|
|
28
|
-
*/
|
|
29
|
-
get policyExecution(): DelegatedPolicyExecutionClient;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated use the new policy engine instead
|
|
32
|
-
*/
|
|
33
|
-
get policyManagement(): DelegatedPolicyManagementClient;
|
|
34
24
|
get publicKeys(): DelegatedPublicKeysClient;
|
|
35
25
|
get wallets(): DelegatedWalletsClient;
|
|
36
26
|
get webhooks(): DelegatedWebhooksClient;
|
|
@@ -3,11 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DfnsDelegatedApiClient = void 0;
|
|
4
4
|
const Assets_1 = require("./codegen/Assets");
|
|
5
5
|
const Auth_1 = require("./codegen/Auth");
|
|
6
|
-
const Blockchains_1 = require("./codegen/Blockchains");
|
|
7
6
|
const Callbacks_1 = require("./codegen/Callbacks");
|
|
8
|
-
const PolicyExecution_1 = require("./codegen/PolicyExecution");
|
|
9
|
-
const PolicyManagement_1 = require("./codegen/PolicyManagement");
|
|
10
7
|
const PublicKeys_1 = require("./codegen/PublicKeys");
|
|
8
|
+
const networks_1 = require("./generated/networks");
|
|
11
9
|
const permissions_1 = require("./generated/permissions");
|
|
12
10
|
const policies_1 = require("./generated/policies");
|
|
13
11
|
const signers_1 = require("./generated/signers");
|
|
@@ -23,30 +21,18 @@ class DfnsDelegatedApiClient {
|
|
|
23
21
|
get auth() {
|
|
24
22
|
return new Auth_1.DelegatedAuthClient(this.apiOptions);
|
|
25
23
|
}
|
|
26
|
-
get blockchains() {
|
|
27
|
-
return new Blockchains_1.DelegatedBlockchainsClient(this.apiOptions);
|
|
28
|
-
}
|
|
29
24
|
get callbacks() {
|
|
30
25
|
return new Callbacks_1.DelegatedCallbacksClient(this.apiOptions);
|
|
31
26
|
}
|
|
27
|
+
get networks() {
|
|
28
|
+
return new networks_1.DelegatedNetworksClient(this.apiOptions);
|
|
29
|
+
}
|
|
32
30
|
get permissions() {
|
|
33
31
|
return new permissions_1.DelegatedPermissionsClient(this.apiOptions);
|
|
34
32
|
}
|
|
35
33
|
get policies() {
|
|
36
34
|
return new policies_1.DelegatedPoliciesClient(this.apiOptions);
|
|
37
35
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated use the new policy engine instead
|
|
40
|
-
*/
|
|
41
|
-
get policyExecution() {
|
|
42
|
-
return new PolicyExecution_1.DelegatedPolicyExecutionClient(this.apiOptions);
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated use the new policy engine instead
|
|
46
|
-
*/
|
|
47
|
-
get policyManagement() {
|
|
48
|
-
return new PolicyManagement_1.DelegatedPolicyManagementClient(this.apiOptions);
|
|
49
|
-
}
|
|
50
36
|
get publicKeys() {
|
|
51
37
|
return new PublicKeys_1.DelegatedPublicKeysClient(this.apiOptions);
|
|
52
38
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DfnsApiClientOptions } from '../../dfnsApiClient';
|
|
2
|
+
import * as T from './types';
|
|
3
|
+
export declare class NetworksClient {
|
|
4
|
+
private apiOptions;
|
|
5
|
+
constructor(apiOptions: DfnsApiClientOptions);
|
|
6
|
+
getFees(request?: T.GetFeesRequest): Promise<T.GetFeesResponse>;
|
|
7
|
+
readContract(request: T.ReadContractRequest): Promise<T.ReadContractResponse>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NetworksClient = void 0;
|
|
4
|
+
const fetch_1 = require("../../utils/fetch");
|
|
5
|
+
const url_1 = require("../../utils/url");
|
|
6
|
+
class NetworksClient {
|
|
7
|
+
constructor(apiOptions) {
|
|
8
|
+
this.apiOptions = apiOptions;
|
|
9
|
+
}
|
|
10
|
+
async getFees(request) {
|
|
11
|
+
const path = (0, url_1.buildPathAndQuery)('/networks/fees', {
|
|
12
|
+
path: request ?? {},
|
|
13
|
+
query: request?.query ?? {},
|
|
14
|
+
});
|
|
15
|
+
const response = await (0, fetch_1.simpleFetch)(path, {
|
|
16
|
+
method: 'GET',
|
|
17
|
+
apiOptions: this.apiOptions,
|
|
18
|
+
});
|
|
19
|
+
return response.json();
|
|
20
|
+
}
|
|
21
|
+
async readContract(request) {
|
|
22
|
+
const path = (0, url_1.buildPathAndQuery)('/networks/read-contract', {
|
|
23
|
+
path: request ?? {},
|
|
24
|
+
query: {},
|
|
25
|
+
});
|
|
26
|
+
const response = await (0, fetch_1.simpleFetch)(path, {
|
|
27
|
+
method: 'POST',
|
|
28
|
+
body: request.body,
|
|
29
|
+
apiOptions: this.apiOptions,
|
|
30
|
+
});
|
|
31
|
+
return response.json();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.NetworksClient = NetworksClient;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DfnsDelegatedApiClientOptions } from '../../dfnsDelegatedApiClient';
|
|
2
|
+
import * as T from './types';
|
|
3
|
+
export declare class DelegatedNetworksClient {
|
|
4
|
+
private apiOptions;
|
|
5
|
+
constructor(apiOptions: DfnsDelegatedApiClientOptions);
|
|
6
|
+
getFees(request?: T.GetFeesRequest): Promise<T.GetFeesResponse>;
|
|
7
|
+
readContract(request: T.ReadContractRequest): Promise<T.ReadContractResponse>;
|
|
8
|
+
}
|