@avalabs/glacier-sdk 3.1.0-alpha.43 → 3.1.0-alpha.45

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 (47) hide show
  1. package/dist/index.d.ts +531 -68
  2. package/dist/index.js +1 -1
  3. package/esm/generated/models/AccessListData.d.ts +12 -0
  4. package/esm/generated/models/CommonBalanceType.d.ts +17 -0
  5. package/esm/generated/models/CommonBalanceType.js +1 -0
  6. package/esm/generated/models/ERCToken.d.ts +24 -0
  7. package/esm/generated/models/ERCTransfer.d.ts +50 -0
  8. package/esm/generated/models/{CreateWebhookRequest.d.ts → EVMAddressActivityRequest.d.ts} +11 -5
  9. package/esm/generated/models/EVMAddressActivityRequest.js +1 -0
  10. package/esm/generated/models/{WebhookResponse.d.ts → EVMAddressActivityResponse.d.ts} +8 -8
  11. package/esm/generated/models/EventType.d.ts +3 -1
  12. package/esm/generated/models/EventType.js +1 -1
  13. package/esm/generated/models/InternalTransaction.d.ts +15 -16
  14. package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
  15. package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +4 -0
  16. package/esm/generated/models/ListWebhooksResponse.d.ts +3 -2
  17. package/esm/generated/models/Log.d.ts +40 -0
  18. package/esm/generated/models/Network.d.ts +1 -2
  19. package/esm/generated/models/Network.js +1 -1
  20. package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
  21. package/esm/generated/models/PlatformActivityKeyType.d.ts +10 -0
  22. package/esm/generated/models/PlatformActivityKeyType.js +1 -0
  23. package/esm/generated/models/PlatformActivityMetadata.d.ts +37 -0
  24. package/esm/generated/models/PlatformActivityRequest.d.ts +31 -0
  25. package/esm/generated/models/PlatformActivityRequest.js +1 -0
  26. package/esm/generated/models/PlatformActivityResponse.d.ts +17 -0
  27. package/esm/generated/models/PlatformActivitySubEvents.d.ts +11 -0
  28. package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +10 -0
  29. package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -0
  30. package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +11 -0
  31. package/esm/generated/models/PrimaryNetworkType.d.ts +6 -0
  32. package/esm/generated/models/PrimaryNetworkType.js +1 -0
  33. package/esm/generated/models/Subnet.d.ts +2 -2
  34. package/esm/generated/models/Transaction.d.ts +121 -0
  35. package/esm/generated/models/TransactionEvent.d.ts +15 -0
  36. package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
  37. package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
  38. package/esm/generated/services/EvmBalancesService.d.ts +4 -4
  39. package/esm/generated/services/PrimaryNetworkService.d.ts +17 -0
  40. package/esm/generated/services/PrimaryNetworkService.js +1 -1
  41. package/esm/generated/services/SignatureAggregatorService.d.ts +16 -0
  42. package/esm/generated/services/SignatureAggregatorService.js +1 -1
  43. package/esm/generated/services/WebhooksService.d.ts +23 -21
  44. package/esm/index.d.ts +19 -3
  45. package/esm/index.js +1 -1
  46. package/package.json +2 -2
  47. package/esm/generated/models/BlockchainInfo.d.ts +0 -5
package/dist/index.d.ts CHANGED
@@ -151,8 +151,7 @@ type LogsResponseDTO = {
151
151
  declare enum Network {
152
152
  MAINNET = "mainnet",
153
153
  FUJI = "fuji",
154
- TESTNET = "testnet",
155
- DEVNET = "devnet"
154
+ TESTNET = "testnet"
156
155
  }
157
156
 
158
157
  declare enum PrimaryNetworkRpcMetricsGroupByEnum {
@@ -969,7 +968,7 @@ declare class EvmBalancesService {
969
968
  */
970
969
  pageToken?: string;
971
970
  /**
972
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
971
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
973
972
  */
974
973
  pageSize?: number;
975
974
  /**
@@ -1007,7 +1006,7 @@ declare class EvmBalancesService {
1007
1006
  */
1008
1007
  pageToken?: string;
1009
1008
  /**
1010
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1009
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1011
1010
  */
1012
1011
  pageSize?: number;
1013
1012
  /**
@@ -1043,7 +1042,7 @@ declare class EvmBalancesService {
1043
1042
  */
1044
1043
  pageToken?: string;
1045
1044
  /**
1046
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1045
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1047
1046
  */
1048
1047
  pageSize?: number;
1049
1048
  /**
@@ -1073,7 +1072,7 @@ declare class EvmBalancesService {
1073
1072
  */
1074
1073
  pageToken?: string;
1075
1074
  /**
1076
- * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100.
1075
+ * The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 500.
1077
1076
  */
1078
1077
  pageSize?: number;
1079
1078
  /**
@@ -2221,31 +2220,33 @@ type ListErc721TransactionsResponse = {
2221
2220
 
2222
2221
  type InternalTransaction = {
2223
2222
  /**
2224
- * The block number on the chain.
2223
+ * Sender address
2225
2224
  */
2226
- blockNumber: string;
2225
+ from: string;
2227
2226
  /**
2228
- * The block finality timestamp.
2227
+ * Recipient address
2229
2228
  */
2230
- blockTimestamp: number;
2229
+ to: string;
2231
2230
  /**
2232
- * The block hash identifier.
2231
+ * Internal transaction type
2233
2232
  */
2234
- blockHash: string;
2233
+ internalTxType: string;
2235
2234
  /**
2236
- * The transaction hash identifier.
2235
+ * Value transferred
2237
2236
  */
2238
- txHash: string;
2239
- from: RichAddress;
2240
- to: RichAddress;
2241
- internalTxType: InternalTransactionOpCall;
2242
2237
  value: string;
2243
2238
  /**
2244
- * True if the internal transaction was reverted.
2239
+ * Gas used
2245
2240
  */
2246
- isReverted: boolean;
2247
2241
  gasUsed: string;
2242
+ /**
2243
+ * Gas limit
2244
+ */
2248
2245
  gasLimit: string;
2246
+ /**
2247
+ * Transaction hash
2248
+ */
2249
+ transactionHash: string;
2249
2250
  };
2250
2251
 
2251
2252
  type ListInternalTransactionsResponse = {
@@ -3226,6 +3227,15 @@ declare class OperationsService {
3226
3227
  }): CancelablePromise<OperationStatusResponse>;
3227
3228
  }
3228
3229
 
3230
+ type Blockchain = {
3231
+ createBlockTimestamp: number;
3232
+ createBlockNumber: string;
3233
+ blockchainId: string;
3234
+ vmId: string;
3235
+ subnetId: string;
3236
+ blockchainName: string;
3237
+ };
3238
+
3229
3239
  declare enum BlockchainIds {
3230
3240
  _11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
3231
3241
  _2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
@@ -3290,15 +3300,6 @@ type GetNetworkDetailsResponse = {
3290
3300
  delegatorDetails: DelegatorsDetails;
3291
3301
  };
3292
3302
 
3293
- type Blockchain = {
3294
- createBlockTimestamp: number;
3295
- createBlockNumber: string;
3296
- blockchainId: string;
3297
- vmId: string;
3298
- subnetId: string;
3299
- blockchainName: string;
3300
- };
3301
-
3302
3303
  type ListBlockchainsResponse = {
3303
3304
  /**
3304
3305
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -3394,6 +3395,10 @@ type L1ValidatorDetailsFull = {
3394
3395
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
3395
3396
  */
3396
3397
  validationId: string;
3398
+ /**
3399
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
3400
+ */
3401
+ validationIdHex: string;
3397
3402
  nodeId: string;
3398
3403
  subnetId: string;
3399
3404
  /**
@@ -3430,10 +3435,6 @@ type ListL1ValidatorsResponse = {
3430
3435
  validators: Array<L1ValidatorDetailsFull>;
3431
3436
  };
3432
3437
 
3433
- type BlockchainInfo = {
3434
- blockchainId: string;
3435
- };
3436
-
3437
3438
  type L1ValidatorManagerDetails = {
3438
3439
  blockchainId: string;
3439
3440
  contractAddress: string;
@@ -3489,7 +3490,7 @@ type Subnet = {
3489
3490
  * L1 validator manager details.
3490
3491
  */
3491
3492
  l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
3492
- blockchains: Array<BlockchainInfo>;
3493
+ blockchains: Array<Blockchain>;
3493
3494
  };
3494
3495
 
3495
3496
  type ListSubnetsResponse = {
@@ -3809,6 +3810,22 @@ declare class PrimaryNetworkService {
3809
3810
  */
3810
3811
  sortOrder?: SortOrder;
3811
3812
  }): CancelablePromise<ListBlockchainsResponse>;
3813
+ /**
3814
+ * Get blockchain details by ID
3815
+ * Get details of the blockchain registered on the network.
3816
+ * @returns Blockchain Successful response
3817
+ * @throws ApiError
3818
+ */
3819
+ getBlockchainById({ blockchainId, network, }: {
3820
+ /**
3821
+ * The blockchain ID of the blockchain to retrieve.
3822
+ */
3823
+ blockchainId: string;
3824
+ /**
3825
+ * Either mainnet or testnet/fuji.
3826
+ */
3827
+ network: Network;
3828
+ }): CancelablePromise<Blockchain>;
3812
3829
  /**
3813
3830
  * List subnets
3814
3831
  * Lists all subnets registered on the network.
@@ -4796,6 +4813,10 @@ type L1ValidatorDetailsTransaction = {
4796
4813
  * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
4797
4814
  */
4798
4815
  validationId: string;
4816
+ /**
4817
+ * Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
4818
+ */
4819
+ validationIdHex: string;
4799
4820
  nodeId: string;
4800
4821
  subnetId: string;
4801
4822
  /**
@@ -5558,6 +5579,22 @@ declare class SignatureAggregatorService {
5558
5579
  network: Network;
5559
5580
  requestBody: SignatureAggregatorRequest;
5560
5581
  }): CancelablePromise<SignatureAggregationResponse>;
5582
+ /**
5583
+ * Get Aggregated Signatures
5584
+ * Get Aggregated Signatures for a P-Chain L1 related Warp Message.
5585
+ * @returns SignatureAggregationResponse Successful response
5586
+ * @throws ApiError
5587
+ */
5588
+ getAggregatedSignatures({ network, txHash, }: {
5589
+ /**
5590
+ * Either mainnet or testnet/fuji.
5591
+ */
5592
+ network: Network;
5593
+ /**
5594
+ * A primary network (P or X chain) transaction hash.
5595
+ */
5596
+ txHash: string;
5597
+ }): CancelablePromise<SignatureAggregationResponse>;
5561
5598
  }
5562
5599
 
5563
5600
  type TeleporterDestinationTransaction = {
@@ -5799,15 +5836,16 @@ type AddressActivityMetadata = {
5799
5836
  eventSignatures?: Array<string>;
5800
5837
  };
5801
5838
 
5802
- declare enum EventType {
5803
- ADDRESS_ACTIVITY = "address_activity"
5839
+ declare enum PrimaryNetworkType {
5840
+ MAINNET = "mainnet",
5841
+ FUJI = "fuji"
5804
5842
  }
5805
5843
 
5806
- type CreateWebhookRequest = {
5844
+ type EVMAddressActivityRequest = {
5845
+ eventType: EVMAddressActivityRequest.eventType;
5807
5846
  url: string;
5808
5847
  chainId: string;
5809
- eventType: EventType;
5810
- metadata: AddressActivityMetadata;
5848
+ network?: PrimaryNetworkType;
5811
5849
  name?: string;
5812
5850
  description?: string;
5813
5851
  /**
@@ -5818,25 +5856,34 @@ type CreateWebhookRequest = {
5818
5856
  * Whether to include logs in the webhook payload.
5819
5857
  */
5820
5858
  includeLogs?: boolean;
5859
+ metadata: AddressActivityMetadata;
5821
5860
  };
5861
+ declare namespace EVMAddressActivityRequest {
5862
+ enum eventType {
5863
+ ADDRESS_ACTIVITY = "address_activity"
5864
+ }
5865
+ }
5822
5866
 
5823
- type ListWebhookAddressesResponse = {
5824
- /**
5825
- * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5826
- */
5827
- nextPageToken?: string;
5828
- addresses: Array<string>;
5829
- totalAddresses: number;
5830
- };
5867
+ declare enum EventType {
5868
+ ADDRESS_ACTIVITY = "address_activity",
5869
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
5870
+ VALIDATOR_ACTIVITY = "validator_activity"
5871
+ }
5831
5872
 
5832
5873
  declare enum WebhookStatusType {
5833
5874
  ACTIVE = "active",
5834
5875
  INACTIVE = "inactive"
5835
5876
  }
5836
5877
 
5837
- type WebhookResponse = {
5878
+ type EVMAddressActivityResponse = {
5838
5879
  id: string;
5839
5880
  eventType: EventType;
5881
+ url: string;
5882
+ chainId: string;
5883
+ status: WebhookStatusType;
5884
+ createdAt: number;
5885
+ name: string;
5886
+ description: string;
5840
5887
  metadata: AddressActivityMetadata;
5841
5888
  /**
5842
5889
  * Whether to include traces in the webhook payload.
@@ -5846,12 +5893,109 @@ type WebhookResponse = {
5846
5893
  * Whether to include logs in the webhook payload.
5847
5894
  */
5848
5895
  includeLogs?: boolean;
5896
+ };
5897
+
5898
+ type ListWebhookAddressesResponse = {
5899
+ /**
5900
+ * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5901
+ */
5902
+ nextPageToken?: string;
5903
+ addresses: Array<string>;
5904
+ totalAddresses: number;
5905
+ };
5906
+
5907
+ /**
5908
+ * The type of key for platform activity depending on the event type
5909
+ */
5910
+ declare enum PlatformActivityKeyType {
5911
+ ADDRESSES = "addresses",
5912
+ NODE_ID = "nodeId",
5913
+ SUBNET_ID = "subnetId"
5914
+ }
5915
+
5916
+ /**
5917
+ * Array of address activity sub-event types
5918
+ */
5919
+ declare enum PlatformAddressActivitySubEventType {
5920
+ BALANCE_CHANGE_PLATFORM = "balance_change_platform",
5921
+ BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
5922
+ REWARD_DISTRIBUTION = "reward_distribution"
5923
+ }
5924
+
5925
+ type PlatformActivitySubEvents = {
5926
+ /**
5927
+ * Array of validator activity sub-event types
5928
+ */
5929
+ validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
5930
+ addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
5931
+ };
5932
+
5933
+ /**
5934
+ * Type of balance to monitor
5935
+ */
5936
+ declare enum CommonBalanceType {
5937
+ UNLOCKED_UNSTAKED = "unlockedUnstaked",
5938
+ UNLOCKED_STAKED = "unlockedStaked",
5939
+ LOCKED_PLATFORM = "lockedPlatform",
5940
+ LOCKED_STAKEABLE = "lockedStakeable",
5941
+ LOCKED_STAKED = "lockedStaked",
5942
+ PENDING_STAKED = "pendingStaked",
5943
+ UNLOCKED = "unlocked",
5944
+ LOCKED = "locked",
5945
+ ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
5946
+ ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
5947
+ }
5948
+
5949
+ type PlatformBalanceThresholdFilter = {
5950
+ balanceType: CommonBalanceType;
5951
+ /**
5952
+ * Threshold for balance corresponding to balanceType in nAVAX
5953
+ */
5954
+ balanceThreshold: string;
5955
+ };
5956
+
5957
+ type PlatformActivityMetadata = {
5958
+ keyType: PlatformActivityKeyType;
5959
+ /**
5960
+ * Array of keys like addresses, NodeID or SubnetID corresponding to the keyType being monitored. For PlatformAddressActivity event, an array of multiple addresses can be provided. ValidatorActivity event will only accept a single key
5961
+ */
5962
+ keys: Array<string>;
5963
+ /**
5964
+ * Sub-events to monitor
5965
+ */
5966
+ subEvents?: PlatformActivitySubEvents;
5967
+ /**
5968
+ * Array of hexadecimal strings of the event signatures.
5969
+ */
5970
+ eventSignatures?: Array<string>;
5971
+ /**
5972
+ * Array of node IDs to filter the events
5973
+ */
5974
+ nodeIds?: Array<string>;
5975
+ /**
5976
+ * Array of subnet IDs to filter the events
5977
+ */
5978
+ subnetIds?: Array<string>;
5979
+ /**
5980
+ * Balance threshold filter
5981
+ */
5982
+ balanceThresholdFilter?: PlatformBalanceThresholdFilter;
5983
+ /**
5984
+ * L1 validator fee balance threshold in nAVAX
5985
+ */
5986
+ l1ValidatorFeeBalanceThreshold?: string;
5987
+ };
5988
+
5989
+ type PlatformActivityResponse = {
5990
+ id: string;
5991
+ eventType: EventType;
5849
5992
  url: string;
5850
5993
  chainId: string;
5851
5994
  status: WebhookStatusType;
5852
5995
  createdAt: number;
5853
5996
  name: string;
5854
5997
  description: string;
5998
+ metadata: PlatformActivityMetadata;
5855
5999
  };
5856
6000
 
5857
6001
  type ListWebhooksResponse = {
@@ -5859,8 +6003,35 @@ type ListWebhooksResponse = {
5859
6003
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
5860
6004
  */
5861
6005
  nextPageToken?: string;
5862
- webhooks: Array<WebhookResponse>;
6006
+ webhooks: Array<(EVMAddressActivityResponse | PlatformActivityResponse)>;
6007
+ };
6008
+
6009
+ type PlatformActivityRequest = {
6010
+ eventType: PlatformActivityRequest.eventType;
6011
+ url: string;
6012
+ chainId: string;
6013
+ network?: PrimaryNetworkType;
6014
+ name?: string;
6015
+ description?: string;
6016
+ /**
6017
+ * Whether to include traces in the webhook payload. Traces are only available for C-Chain on chainId 43113 and 43114.
6018
+ */
6019
+ includeInternalTxs?: boolean;
6020
+ /**
6021
+ * Whether to include logs in the webhook payload.
6022
+ */
6023
+ includeLogs?: boolean;
6024
+ /**
6025
+ * Metadata for platform activity
6026
+ */
6027
+ metadata: PlatformActivityMetadata;
5863
6028
  };
6029
+ declare namespace PlatformActivityRequest {
6030
+ enum eventType {
6031
+ PLATFORM_ADDRESS_ACTIVITY = "platform_address_activity",
6032
+ VALIDATOR_ACTIVITY = "validator_activity"
6033
+ }
6034
+ }
5864
6035
 
5865
6036
  type SharedSecretsResponse = {
5866
6037
  secret: string;
@@ -5889,12 +6060,12 @@ declare class WebhooksService {
5889
6060
  /**
5890
6061
  * Create a webhook
5891
6062
  * Create a new webhook.
5892
- * @returns WebhookResponse Successful response
6063
+ * @returns any Successful response
5893
6064
  * @throws ApiError
5894
6065
  */
5895
6066
  createWebhook({ requestBody, }: {
5896
- requestBody: CreateWebhookRequest;
5897
- }): CancelablePromise<WebhookResponse>;
6067
+ requestBody: (EVMAddressActivityRequest | PlatformActivityRequest);
6068
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5898
6069
  /**
5899
6070
  * List webhooks
5900
6071
  * Lists webhooks for the user.
@@ -5918,7 +6089,7 @@ declare class WebhooksService {
5918
6089
  /**
5919
6090
  * Get a webhook by ID
5920
6091
  * Retrieves a webhook by ID.
5921
- * @returns WebhookResponse Successful response
6092
+ * @returns any Successful response
5922
6093
  * @throws ApiError
5923
6094
  */
5924
6095
  getWebhook({ id, }: {
@@ -5926,11 +6097,11 @@ declare class WebhooksService {
5926
6097
  * The webhook identifier.
5927
6098
  */
5928
6099
  id: string;
5929
- }): CancelablePromise<WebhookResponse>;
6100
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5930
6101
  /**
5931
6102
  * Deactivate a webhook
5932
6103
  * Deactivates a webhook by ID.
5933
- * @returns WebhookResponse Successful response
6104
+ * @returns any Successful response
5934
6105
  * @throws ApiError
5935
6106
  */
5936
6107
  deactivateWebhook({ id, }: {
@@ -5938,11 +6109,11 @@ declare class WebhooksService {
5938
6109
  * The webhook identifier.
5939
6110
  */
5940
6111
  id: string;
5941
- }): CancelablePromise<WebhookResponse>;
6112
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5942
6113
  /**
5943
6114
  * Update a webhook
5944
6115
  * Updates an existing webhook.
5945
- * @returns WebhookResponse Successful response
6116
+ * @returns any Successful response
5946
6117
  * @throws ApiError
5947
6118
  */
5948
6119
  updateWebhook({ id, requestBody, }: {
@@ -5951,7 +6122,7 @@ declare class WebhooksService {
5951
6122
  */
5952
6123
  id: string;
5953
6124
  requestBody: UpdateWebhookRequest;
5954
- }): CancelablePromise<WebhookResponse>;
6125
+ }): CancelablePromise<(EVMAddressActivityResponse | PlatformActivityResponse)>;
5955
6126
  /**
5956
6127
  * Generate or rotate a shared secret
5957
6128
  * Generates a new shared secret or rotate an existing one.
@@ -5967,9 +6138,9 @@ declare class WebhooksService {
5967
6138
  */
5968
6139
  getSharedSecret(): CancelablePromise<SharedSecretsResponse>;
5969
6140
  /**
5970
- * Add addresses to webhook
5971
- * Add addresses to webhook.
5972
- * @returns WebhookResponse Successful response
6141
+ * Add addresses to EVM activity webhook
6142
+ * Add addresses to webhook. Only valid for EVM activity webhooks.
6143
+ * @returns EVMAddressActivityResponse Successful response
5973
6144
  * @throws ApiError
5974
6145
  */
5975
6146
  addAddressesToWebhook({ id, requestBody, }: {
@@ -5978,11 +6149,11 @@ declare class WebhooksService {
5978
6149
  */
5979
6150
  id: string;
5980
6151
  requestBody: AddressesChangeRequest;
5981
- }): CancelablePromise<WebhookResponse>;
6152
+ }): CancelablePromise<EVMAddressActivityResponse>;
5982
6153
  /**
5983
- * Remove addresses from webhook
5984
- * Remove addresses from webhook.
5985
- * @returns WebhookResponse Successful response
6154
+ * Remove addresses from EVM activity webhook
6155
+ * Remove addresses from webhook. Only valid for EVM activity webhooks.
6156
+ * @returns EVMAddressActivityResponse Successful response
5986
6157
  * @throws ApiError
5987
6158
  */
5988
6159
  removeAddressesFromWebhook({ id, requestBody, }: {
@@ -5991,10 +6162,10 @@ declare class WebhooksService {
5991
6162
  */
5992
6163
  id: string;
5993
6164
  requestBody: AddressesChangeRequest;
5994
- }): CancelablePromise<WebhookResponse>;
6165
+ }): CancelablePromise<EVMAddressActivityResponse>;
5995
6166
  /**
5996
- * List adresses by webhook
5997
- * List adresses by webhook.
6167
+ * List adresses by EVM activity webhooks
6168
+ * List adresses by webhook. Only valid for EVM activity webhooks.
5998
6169
  * @returns ListWebhookAddressesResponse Successful response
5999
6170
  * @throws ApiError
6000
6171
  */
@@ -6059,6 +6230,17 @@ declare class ApiError extends Error {
6059
6230
  constructor(request: ApiRequestOptions, response: ApiResult, message: string);
6060
6231
  }
6061
6232
 
6233
+ type AccessListData = {
6234
+ /**
6235
+ * Access Address
6236
+ */
6237
+ accessAddresses: string;
6238
+ /**
6239
+ * Storage keys
6240
+ */
6241
+ storageKeys: Array<string>;
6242
+ };
6243
+
6062
6244
  type BadGateway = {
6063
6245
  /**
6064
6246
  * The error message describing the reason for the exception
@@ -6093,6 +6275,76 @@ type DataListChainsResponse = {
6093
6275
  chains: Array<ChainInfo>;
6094
6276
  };
6095
6277
 
6278
+ type ERCToken = {
6279
+ /**
6280
+ * Token contract address
6281
+ */
6282
+ address: string;
6283
+ /**
6284
+ * Token name
6285
+ */
6286
+ name: string;
6287
+ /**
6288
+ * Token symbol
6289
+ */
6290
+ symbol: string;
6291
+ /**
6292
+ * Token decimals
6293
+ */
6294
+ decimals: number;
6295
+ /**
6296
+ * Value including decimals
6297
+ */
6298
+ valueWithDecimals: string;
6299
+ };
6300
+
6301
+ type ERCTransfer = {
6302
+ /**
6303
+ * Transaction hash
6304
+ */
6305
+ transactionHash: string;
6306
+ /**
6307
+ * Transfer type
6308
+ */
6309
+ type: string;
6310
+ /**
6311
+ * Sender address
6312
+ */
6313
+ from: string;
6314
+ /**
6315
+ * Recipient address
6316
+ */
6317
+ to: string;
6318
+ /**
6319
+ * Amount transferred
6320
+ */
6321
+ value: string;
6322
+ /**
6323
+ * Token Id
6324
+ */
6325
+ tokenId?: string;
6326
+ /**
6327
+ * Block timestamp
6328
+ */
6329
+ blockTimestamp: number;
6330
+ /**
6331
+ * Log index
6332
+ */
6333
+ logIndex: number;
6334
+ /**
6335
+ * erc20 Token details
6336
+ */
6337
+ erc20Token?: ERCToken;
6338
+ /**
6339
+ * erc721 Token details
6340
+ */
6341
+ erc721Token?: ERCToken;
6342
+ /**
6343
+ * erc1155 Token details
6344
+ */
6345
+ erc1155Token?: ERCToken;
6346
+ };
6347
+
6096
6348
  type Forbidden = {
6097
6349
  /**
6098
6350
  * The error message describing the reason for the exception
@@ -6123,6 +6375,64 @@ type InternalServerError = {
6123
6375
  error: string;
6124
6376
  };
6125
6377
 
6378
+ type Log = {
6379
+ /**
6380
+ * Contract address
6381
+ */
6382
+ address: string;
6383
+ /**
6384
+ * First topic
6385
+ */
6386
+ topic0: string;
6387
+ /**
6388
+ * Second topic (optional)
6389
+ */
6390
+ topic1?: string;
6391
+ /**
6392
+ * Third topic (optional)
6393
+ */
6394
+ topic2?: string;
6395
+ /**
6396
+ * Fourth topic (optional)
6397
+ */
6398
+ topic3?: string;
6399
+ /**
6400
+ * Event data
6401
+ */
6402
+ data: string;
6403
+ /**
6404
+ * Transaction index
6405
+ */
6406
+ transactionIndex: number;
6407
+ /**
6408
+ * Log index
6409
+ */
6410
+ logIndex: number;
6411
+ /**
6412
+ * Indicates if the log was removed
6413
+ */
6414
+ removed: boolean;
6415
+ };
6416
+
6417
+ type NetworkTokenInfo = {
6418
+ /**
6419
+ * Token name
6420
+ */
6421
+ tokenName?: string;
6422
+ /**
6423
+ * Token symbol
6424
+ */
6425
+ tokenSymbol?: string;
6426
+ /**
6427
+ * Token decimals
6428
+ */
6429
+ tokenDecimals?: number;
6430
+ /**
6431
+ * Value including decimals
6432
+ */
6433
+ valueWithDecimals?: string;
6434
+ };
6435
+
6126
6436
  type NextPageToken = {
6127
6437
  /**
6128
6438
  * A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted or empty, there are no subsequent pages.
@@ -6175,6 +6485,132 @@ type TooManyRequests = {
6175
6485
  error: string;
6176
6486
  };
6177
6487
 
6488
+ type Transaction = {
6489
+ /**
6490
+ * Block hash of the transaction
6491
+ */
6492
+ blockHash: string;
6493
+ /**
6494
+ * Block number of the transaction
6495
+ */
6496
+ blockNumber: string;
6497
+ /**
6498
+ * Sender address
6499
+ */
6500
+ from: string;
6501
+ /**
6502
+ * Gas limit for the transaction
6503
+ */
6504
+ gas: string;
6505
+ /**
6506
+ * Gas price used
6507
+ */
6508
+ gasPrice: string;
6509
+ /**
6510
+ * Maximum fee per gas
6511
+ */
6512
+ maxFeePerGas: string;
6513
+ /**
6514
+ * Maximum priority fee per gas
6515
+ */
6516
+ maxPriorityFeePerGas: string;
6517
+ /**
6518
+ * Transaction hash
6519
+ */
6520
+ txHash: string;
6521
+ /**
6522
+ * Transaction status
6523
+ */
6524
+ txStatus: string;
6525
+ /**
6526
+ * Input data
6527
+ */
6528
+ input: string;
6529
+ /**
6530
+ * Nonce value
6531
+ */
6532
+ nonce: string;
6533
+ /**
6534
+ * Recipient address
6535
+ */
6536
+ to: string;
6537
+ /**
6538
+ * Transaction index
6539
+ */
6540
+ transactionIndex: number;
6541
+ /**
6542
+ * Value transferred in the transaction
6543
+ */
6544
+ value: string;
6545
+ /**
6546
+ * Transaction type
6547
+ */
6548
+ type: number;
6549
+ /**
6550
+ * Chain ID of the network
6551
+ */
6552
+ chainId: string;
6553
+ /**
6554
+ * Cumulative gas used
6555
+ */
6556
+ receiptCumulativeGasUsed: string;
6557
+ /**
6558
+ * Gas used
6559
+ */
6560
+ receiptGasUsed: string;
6561
+ /**
6562
+ * Effective gas price
6563
+ */
6564
+ receiptEffectiveGasPrice: string;
6565
+ /**
6566
+ * Receipt root
6567
+ */
6568
+ receiptRoot: string;
6569
+ /**
6570
+ * Block timestamp
6571
+ */
6572
+ blockTimestamp: number;
6573
+ /**
6574
+ * Contract address (optional)
6575
+ */
6576
+ contractAddress?: string;
6577
+ /**
6578
+ * ERC20 transfers
6579
+ */
6580
+ erc20Transfers: Array<ERCTransfer>;
6581
+ /**
6582
+ * ERC721 transfers
6583
+ */
6584
+ erc721Transfers: Array<ERCTransfer>;
6585
+ /**
6586
+ * ERC1155 transfers
6587
+ */
6588
+ erc1155Transfers: Array<ERCTransfer>;
6589
+ /**
6590
+ * Internal transactions (optional)
6591
+ */
6592
+ internalTransactions?: Array<InternalTransaction>;
6593
+ /**
6594
+ * Access list (optional)
6595
+ */
6596
+ accessList?: Array<AccessListData>;
6597
+ /**
6598
+ * Network token info (optional)
6599
+ */
6600
+ networkToken?: NetworkTokenInfo;
6601
+ };
6602
+
6603
+ type TransactionEvent = {
6604
+ /**
6605
+ * Transaction details
6606
+ */
6607
+ transaction: Transaction;
6608
+ /**
6609
+ * Array of log events
6610
+ */
6611
+ logs?: Array<Log>;
6612
+ };
6613
+
6178
6614
  type Unauthorized = {
6179
6615
  /**
6180
6616
  * The error message describing the reason for the exception
@@ -6190,4 +6626,31 @@ type Unauthorized = {
6190
6626
  error: string;
6191
6627
  };
6192
6628
 
6193
- export { AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlockchainInfo, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CreateWebhookRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, TransactionDetails, TransactionDirectionType, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };
6629
+ type WebhookAddressActivityResponse = {
6630
+ /**
6631
+ * Webhook ID
6632
+ */
6633
+ webhookId: string;
6634
+ /**
6635
+ * Event type
6636
+ */
6637
+ eventType: WebhookAddressActivityResponse.eventType;
6638
+ /**
6639
+ * Message ID
6640
+ */
6641
+ messageId: string;
6642
+ /**
6643
+ * Event details
6644
+ */
6645
+ event: TransactionEvent;
6646
+ };
6647
+ declare namespace WebhookAddressActivityResponse {
6648
+ /**
6649
+ * Event type
6650
+ */
6651
+ enum eventType {
6652
+ ADDRESS_ACTIVITY = "address_activity"
6653
+ }
6654
+ }
6655
+
6656
+ export { AccessListData, AccessRequest, ActiveDelegatorDetails, ActiveValidatorDetails, AddressActivityMetadata, AddressesChangeRequest, AggregatedAssetAmount, ApiError, ApiFeature, AssetAmount, AssetWithPriceInfo, BadGateway, BadRequest, BalanceOwner, BaseHttpRequest, Blockchain, BlockchainId, BlockchainIds, BlsCredentials, CChainAtomicBalances, CChainExportTransaction, CChainImportTransaction, CChainSharedAssetBalance, CancelError, CancelablePromise, ChainAddressChainIdMap, ChainAddressChainIdMapListResponse, ChainInfo, ChainStatus, CommonBalanceType, CompletedDelegatorDetails, CompletedValidatorDetails, ContractDeploymentDetails, ContractSubmissionBody, ContractSubmissionErc1155, ContractSubmissionErc20, ContractSubmissionErc721, ContractSubmissionUnknown, CreateEvmTransactionExportRequest, CreatePrimaryNetworkTransactionExportRequest, CurrencyCode, DataApiUsageMetricsService, DataListChainsResponse, DefaultService, DelegationStatusType, DelegatorsDetails, DeliveredIcmMessage, DeliveredSourceNotIndexedIcmMessage, DeliveredSourceNotIndexedTeleporterMessage, DeliveredTeleporterMessage, ERCToken, ERCTransfer, EVMAddressActivityRequest, EVMAddressActivityResponse, EVMInput, EVMOperationType, EVMOutput, Erc1155Contract, Erc1155Token, Erc1155TokenBalance, Erc1155TokenMetadata, Erc1155Transfer, Erc1155TransferDetails, Erc20Contract, Erc20Token, Erc20TokenBalance, Erc20Transfer, Erc20TransferDetails, Erc721Contract, Erc721Token, Erc721TokenBalance, Erc721TokenMetadata, Erc721Transfer, Erc721TransferDetails, EventType, EvmBalancesService, EvmBlock, EvmBlocksService, EvmChainsService, EvmContractsService, EvmNetworkOptions, EvmTransactionsService, Forbidden, FullNativeTransactionDetails, GetChainResponse, GetEvmBlockResponse, GetNativeBalanceResponse, GetNetworkDetailsResponse, GetPrimaryNetworkBlockResponse, GetTransactionResponse, Glacier, HealthCheckResultDto, HealthCheckService, HealthIndicatorResultDto, HistoricalReward, IcmDestinationTransaction, IcmReceipt, IcmRewardDetails, IcmSourceTransaction, ImageAsset, InterchainMessagingService, InternalServerError, InternalTransaction, InternalTransactionDetails, InternalTransactionOpCall, L1ValidatorDetailsFull, L1ValidatorDetailsTransaction, L1ValidatorManagerDetails, ListAddressChainsResponse, ListBlockchainsResponse, ListCChainAtomicBalancesResponse, ListCChainAtomicTransactionsResponse, ListChainsResponse, ListCollectibleBalancesResponse, ListContractsResponse, ListDelegatorDetailsResponse, ListErc1155BalancesResponse, ListErc1155TransactionsResponse, ListErc20BalancesResponse, ListErc20TransactionsResponse, ListErc721BalancesResponse, ListErc721TransactionsResponse, ListEvmBlocksResponse, ListHistoricalRewardsResponse, ListIcmMessagesResponse, ListInternalTransactionsResponse, ListL1ValidatorsResponse, ListNativeTransactionsResponse, ListNftTokens, ListPChainBalancesResponse, ListPChainTransactionsResponse, ListPChainUtxosResponse, ListPendingRewardsResponse, ListPrimaryNetworkBlocksResponse, ListSubnetsResponse, ListTeleporterMessagesResponse, ListTransactionDetailsResponse, ListTransfersResponse, ListUtxosResponse, ListValidatorDetailsResponse, ListWebhookAddressesResponse, ListWebhooksResponse, ListXChainBalancesResponse, ListXChainTransactionsResponse, ListXChainVerticesResponse, Log, LogsFormat, LogsFormatMetadata, LogsResponseDTO, Method, Metric, Money, NativeTokenBalance, NativeTransaction, Network, NetworkToken, NetworkTokenDetails, NetworkTokenInfo, NextPageToken, NfTsService, NftTokenMetadataStatus, NotFound, NotificationsResponse, NotificationsService, OpenAPI, OpenAPIConfig, OperationStatus, OperationStatusCode, OperationStatusResponse, OperationType, OperationsService, PChainBalance, PChainId, PChainSharedAsset, PChainTransaction, PChainTransactionType, PChainUtxo, PendingDelegatorDetails, PendingIcmMessage, PendingReward, PendingTeleporterMessage, PendingValidatorDetails, PlatformActivityKeyType, PlatformActivityMetadata, PlatformActivityRequest, PlatformActivityResponse, PlatformActivitySubEvents, PlatformAddressActivitySubEventType, PlatformBalanceThresholdFilter, PricingProviders, PrimaryNetworkAssetCap, PrimaryNetworkAssetType, PrimaryNetworkBalancesService, PrimaryNetworkBlock, PrimaryNetworkBlocksService, PrimaryNetworkChainInfo, PrimaryNetworkChainName, PrimaryNetworkOperationType, PrimaryNetworkOptions, PrimaryNetworkRewardsService, PrimaryNetworkRpcMetricsGroupByEnum, PrimaryNetworkRpcTimeIntervalGranularity, PrimaryNetworkRpcUsageMetricsResponseDTO, PrimaryNetworkService, PrimaryNetworkTransactionsService, PrimaryNetworkTxType, PrimaryNetworkType, PrimaryNetworkUtxOsService, PrimaryNetworkVerticesService, ProposerDetails, RemovedValidatorDetails, RequestType, ResourceLink, ResourceLinkType, RewardType, Rewards, RichAddress, RpcMetrics, RpcUsageMetricsGroupByEnum, RpcUsageMetricsValueAggregated, ServiceUnavailable, SharedSecretsResponse, SignatureAggregationResponse, SignatureAggregatorRequest, SignatureAggregatorService, SortByOption, SortOrder, StakingDistribution, Subnet, SubnetOwnershipInfo, SubnetRpcTimeIntervalGranularity, SubnetRpcUsageMetricsResponseDTO, SubscribeRequest, SubscriptionsRequest, SubscriptionsResponse, TeleporterDestinationTransaction, TeleporterMessageInfo, TeleporterReceipt, TeleporterRewardDetails, TeleporterService, TeleporterSourceTransaction, TimeIntervalGranularityExtended, TooManyRequests, Transaction, TransactionDetails, TransactionDirectionType, TransactionEvent, TransactionExportMetadata, TransactionMethodType, TransactionStatus, TransactionVertexDetail, Unauthorized, UnknownContract, UnsubscribeRequest, UpdateContractResponse, UpdateWebhookRequest, UsageMetricsGroupByEnum, UsageMetricsResponseDTO, UsageMetricsValueDTO, UtilityAddresses, Utxo, UtxoCredential, UtxoType, ValidationStatusType, ValidatorHealthDetails, ValidatorsDetails, VmName, WebhookAddressActivityResponse, WebhookStatus, WebhookStatusType, WebhooksService, XChainAssetDetails, XChainBalances, XChainId, XChainLinearTransaction, XChainNonLinearTransaction, XChainSharedAssetBalance, XChainTransactionType, XChainVertex };