@avalabs/glacier-sdk 3.1.0-alpha.44 → 3.1.0-alpha.46
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/index.d.ts +379 -35
- package/dist/index.js +1 -1
- package/esm/generated/models/AccessListData.d.ts +12 -0
- package/esm/generated/models/ActiveValidatorDetails.d.ts +5 -0
- package/esm/generated/models/{PChainBalanceType.d.ts → CommonBalanceType.d.ts} +4 -2
- package/esm/generated/models/CommonBalanceType.js +1 -0
- package/esm/generated/models/ERCToken.d.ts +24 -0
- package/esm/generated/models/ERCTransfer.d.ts +50 -0
- package/esm/generated/models/Geolocation.d.ts +24 -0
- package/esm/generated/models/InternalTransaction.d.ts +15 -16
- package/esm/generated/models/L1ValidatorDetailsFull.d.ts +4 -0
- package/esm/generated/models/L1ValidatorDetailsTransaction.d.ts +4 -0
- package/esm/generated/models/Log.d.ts +40 -0
- package/esm/generated/models/NetworkTokenInfo.d.ts +20 -0
- package/esm/generated/models/PlatformActivitySubEvents.d.ts +1 -1
- package/esm/generated/models/PlatformAddressActivitySubEventType.d.ts +2 -1
- package/esm/generated/models/PlatformAddressActivitySubEventType.js +1 -1
- package/esm/generated/models/PlatformBalanceThresholdFilter.d.ts +2 -2
- package/esm/generated/models/Subnet.d.ts +2 -2
- package/esm/generated/models/Transaction.d.ts +121 -0
- package/esm/generated/models/TransactionEvent.d.ts +15 -0
- package/esm/generated/models/WebhookAddressActivityResponse.d.ts +30 -0
- package/esm/generated/models/WebhookAddressActivityResponse.js +1 -0
- package/esm/generated/services/InterchainMessagingService.d.ts +2 -2
- package/esm/generated/services/PrimaryNetworkService.d.ts +18 -1
- package/esm/generated/services/PrimaryNetworkService.js +1 -1
- package/esm/index.d.ts +10 -2
- package/esm/index.js +1 -1
- package/package.json +2 -2
- package/esm/generated/models/BlockchainInfo.d.ts +0 -5
- package/esm/generated/models/PChainBalanceType.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -2220,31 +2220,33 @@ type ListErc721TransactionsResponse = {
|
|
|
2220
2220
|
|
|
2221
2221
|
type InternalTransaction = {
|
|
2222
2222
|
/**
|
|
2223
|
-
*
|
|
2223
|
+
* Sender address
|
|
2224
2224
|
*/
|
|
2225
|
-
|
|
2225
|
+
from: string;
|
|
2226
2226
|
/**
|
|
2227
|
-
*
|
|
2227
|
+
* Recipient address
|
|
2228
2228
|
*/
|
|
2229
|
-
|
|
2229
|
+
to: string;
|
|
2230
2230
|
/**
|
|
2231
|
-
*
|
|
2231
|
+
* Internal transaction type
|
|
2232
2232
|
*/
|
|
2233
|
-
|
|
2233
|
+
internalTxType: string;
|
|
2234
2234
|
/**
|
|
2235
|
-
*
|
|
2235
|
+
* Value transferred
|
|
2236
2236
|
*/
|
|
2237
|
-
txHash: string;
|
|
2238
|
-
from: RichAddress;
|
|
2239
|
-
to: RichAddress;
|
|
2240
|
-
internalTxType: InternalTransactionOpCall;
|
|
2241
2237
|
value: string;
|
|
2242
2238
|
/**
|
|
2243
|
-
*
|
|
2239
|
+
* Gas used
|
|
2244
2240
|
*/
|
|
2245
|
-
isReverted: boolean;
|
|
2246
2241
|
gasUsed: string;
|
|
2242
|
+
/**
|
|
2243
|
+
* Gas limit
|
|
2244
|
+
*/
|
|
2247
2245
|
gasLimit: string;
|
|
2246
|
+
/**
|
|
2247
|
+
* Transaction hash
|
|
2248
|
+
*/
|
|
2249
|
+
transactionHash: string;
|
|
2248
2250
|
};
|
|
2249
2251
|
|
|
2250
2252
|
type ListInternalTransactionsResponse = {
|
|
@@ -2849,13 +2851,13 @@ declare class InterchainMessagingService {
|
|
|
2849
2851
|
constructor(httpRequest: BaseHttpRequest);
|
|
2850
2852
|
/**
|
|
2851
2853
|
* Get an ICM message
|
|
2852
|
-
* Gets an ICM message by message ID.
|
|
2854
|
+
* Gets an ICM message by teleporter message ID.
|
|
2853
2855
|
* @returns any Successful response
|
|
2854
2856
|
* @throws ApiError
|
|
2855
2857
|
*/
|
|
2856
2858
|
getIcmMessage({ messageId, }: {
|
|
2857
2859
|
/**
|
|
2858
|
-
* The message ID of the ICM message.
|
|
2860
|
+
* The teleporter message ID of the ICM message.
|
|
2859
2861
|
*/
|
|
2860
2862
|
messageId: string;
|
|
2861
2863
|
}): CancelablePromise<(PendingIcmMessage | DeliveredIcmMessage | DeliveredSourceNotIndexedIcmMessage)>;
|
|
@@ -3225,6 +3227,15 @@ declare class OperationsService {
|
|
|
3225
3227
|
}): CancelablePromise<OperationStatusResponse>;
|
|
3226
3228
|
}
|
|
3227
3229
|
|
|
3230
|
+
type Blockchain = {
|
|
3231
|
+
createBlockTimestamp: number;
|
|
3232
|
+
createBlockNumber: string;
|
|
3233
|
+
blockchainId: string;
|
|
3234
|
+
vmId: string;
|
|
3235
|
+
subnetId: string;
|
|
3236
|
+
blockchainName: string;
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3228
3239
|
declare enum BlockchainIds {
|
|
3229
3240
|
_11111111111111111111111111111111LPO_YY = "11111111111111111111111111111111LpoYY",
|
|
3230
3241
|
_2O_YMBNV4E_NHYQK2FJJ_V5N_VQLDBTM_NJZQ5S3QS3LO6FTN_C6FBY_M = "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
|
|
@@ -3289,15 +3300,6 @@ type GetNetworkDetailsResponse = {
|
|
|
3289
3300
|
delegatorDetails: DelegatorsDetails;
|
|
3290
3301
|
};
|
|
3291
3302
|
|
|
3292
|
-
type Blockchain = {
|
|
3293
|
-
createBlockTimestamp: number;
|
|
3294
|
-
createBlockNumber: string;
|
|
3295
|
-
blockchainId: string;
|
|
3296
|
-
vmId: string;
|
|
3297
|
-
subnetId: string;
|
|
3298
|
-
blockchainName: string;
|
|
3299
|
-
};
|
|
3300
|
-
|
|
3301
3303
|
type ListBlockchainsResponse = {
|
|
3302
3304
|
/**
|
|
3303
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.
|
|
@@ -3393,6 +3395,10 @@ type L1ValidatorDetailsFull = {
|
|
|
3393
3395
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
3394
3396
|
*/
|
|
3395
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;
|
|
3396
3402
|
nodeId: string;
|
|
3397
3403
|
subnetId: string;
|
|
3398
3404
|
/**
|
|
@@ -3429,10 +3435,6 @@ type ListL1ValidatorsResponse = {
|
|
|
3429
3435
|
validators: Array<L1ValidatorDetailsFull>;
|
|
3430
3436
|
};
|
|
3431
3437
|
|
|
3432
|
-
type BlockchainInfo = {
|
|
3433
|
-
blockchainId: string;
|
|
3434
|
-
};
|
|
3435
|
-
|
|
3436
3438
|
type L1ValidatorManagerDetails = {
|
|
3437
3439
|
blockchainId: string;
|
|
3438
3440
|
contractAddress: string;
|
|
@@ -3488,7 +3490,7 @@ type Subnet = {
|
|
|
3488
3490
|
* L1 validator manager details.
|
|
3489
3491
|
*/
|
|
3490
3492
|
l1ValidatorManagerDetails?: L1ValidatorManagerDetails;
|
|
3491
|
-
blockchains: Array<
|
|
3493
|
+
blockchains: Array<Blockchain>;
|
|
3492
3494
|
};
|
|
3493
3495
|
|
|
3494
3496
|
type ListSubnetsResponse = {
|
|
@@ -3504,6 +3506,29 @@ type BlsCredentials = {
|
|
|
3504
3506
|
proofOfPossession: string;
|
|
3505
3507
|
};
|
|
3506
3508
|
|
|
3509
|
+
type Geolocation = {
|
|
3510
|
+
/**
|
|
3511
|
+
* The name of the validator node.
|
|
3512
|
+
*/
|
|
3513
|
+
city: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* The city of the validator node.
|
|
3516
|
+
*/
|
|
3517
|
+
country: string;
|
|
3518
|
+
/**
|
|
3519
|
+
* The country code of the validator node.
|
|
3520
|
+
*/
|
|
3521
|
+
countryCode: string;
|
|
3522
|
+
/**
|
|
3523
|
+
* The latitude of the validator node.
|
|
3524
|
+
*/
|
|
3525
|
+
latitude: number;
|
|
3526
|
+
/**
|
|
3527
|
+
* The longitude of the validator node.
|
|
3528
|
+
*/
|
|
3529
|
+
longitude: number;
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3507
3532
|
type Rewards = {
|
|
3508
3533
|
validationRewardAmount: string;
|
|
3509
3534
|
delegationRewardAmount: string;
|
|
@@ -3572,6 +3597,10 @@ type ActiveValidatorDetails = {
|
|
|
3572
3597
|
potentialRewards: Rewards;
|
|
3573
3598
|
validationStatus: ActiveValidatorDetails.validationStatus;
|
|
3574
3599
|
validatorHealth: ValidatorHealthDetails;
|
|
3600
|
+
/**
|
|
3601
|
+
* The geographical location of the validator node, if available.
|
|
3602
|
+
*/
|
|
3603
|
+
geolocation: Geolocation | null;
|
|
3575
3604
|
};
|
|
3576
3605
|
declare namespace ActiveValidatorDetails {
|
|
3577
3606
|
enum validationStatus {
|
|
@@ -3808,6 +3837,22 @@ declare class PrimaryNetworkService {
|
|
|
3808
3837
|
*/
|
|
3809
3838
|
sortOrder?: SortOrder;
|
|
3810
3839
|
}): CancelablePromise<ListBlockchainsResponse>;
|
|
3840
|
+
/**
|
|
3841
|
+
* Get blockchain details by ID
|
|
3842
|
+
* Get details of the blockchain registered on the network.
|
|
3843
|
+
* @returns Blockchain Successful response
|
|
3844
|
+
* @throws ApiError
|
|
3845
|
+
*/
|
|
3846
|
+
getBlockchainById({ blockchainId, network, }: {
|
|
3847
|
+
/**
|
|
3848
|
+
* The blockchain ID of the blockchain to retrieve.
|
|
3849
|
+
*/
|
|
3850
|
+
blockchainId: string;
|
|
3851
|
+
/**
|
|
3852
|
+
* Either mainnet or testnet/fuji.
|
|
3853
|
+
*/
|
|
3854
|
+
network: Network;
|
|
3855
|
+
}): CancelablePromise<Blockchain>;
|
|
3811
3856
|
/**
|
|
3812
3857
|
* List subnets
|
|
3813
3858
|
* Lists all subnets registered on the network.
|
|
@@ -4012,7 +4057,7 @@ declare class PrimaryNetworkService {
|
|
|
4012
4057
|
/**
|
|
4013
4058
|
* The L1 Validator's validation ID to filter by. If not provided, then all L1 Validators will be returned.
|
|
4014
4059
|
*/
|
|
4015
|
-
l1ValidationId?:
|
|
4060
|
+
l1ValidationId?: string;
|
|
4016
4061
|
includeInactiveL1Validators?: boolean;
|
|
4017
4062
|
/**
|
|
4018
4063
|
* A valid node ID in format 'NodeID-HASH'.
|
|
@@ -4795,6 +4840,10 @@ type L1ValidatorDetailsTransaction = {
|
|
|
4795
4840
|
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed.
|
|
4796
4841
|
*/
|
|
4797
4842
|
validationId: string;
|
|
4843
|
+
/**
|
|
4844
|
+
* Unique L1 validation ID used network-wide to identify L1 validation until its weight is reduced to 0 i.e. removed. In hex format
|
|
4845
|
+
*/
|
|
4846
|
+
validationIdHex: string;
|
|
4798
4847
|
nodeId: string;
|
|
4799
4848
|
subnetId: string;
|
|
4800
4849
|
/**
|
|
@@ -5896,33 +5945,36 @@ declare enum PlatformActivityKeyType {
|
|
|
5896
5945
|
*/
|
|
5897
5946
|
declare enum PlatformAddressActivitySubEventType {
|
|
5898
5947
|
BALANCE_CHANGE_PLATFORM = "balance_change_platform",
|
|
5899
|
-
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform"
|
|
5948
|
+
BALANCE_THRESHOLD_PLATFORM = "balance_threshold_platform",
|
|
5949
|
+
REWARD_DISTRIBUTION = "reward_distribution"
|
|
5900
5950
|
}
|
|
5901
5951
|
|
|
5902
5952
|
type PlatformActivitySubEvents = {
|
|
5903
5953
|
/**
|
|
5904
5954
|
* Array of validator activity sub-event types
|
|
5905
5955
|
*/
|
|
5906
|
-
validatorActivitySubEvents?: Array<'
|
|
5956
|
+
validatorActivitySubEvents?: Array<'validator_stake' | 'delegator_stake' | 'reward_distribution' | 'l1_validator_balance_increased' | 'l1_validator_disabled' | 'l1_validator_removed' | 'l1_validator_balance_threshold'>;
|
|
5907
5957
|
addressActivitySubEvents?: Array<PlatformAddressActivitySubEventType>;
|
|
5908
5958
|
};
|
|
5909
5959
|
|
|
5910
5960
|
/**
|
|
5911
5961
|
* Type of balance to monitor
|
|
5912
5962
|
*/
|
|
5913
|
-
declare enum
|
|
5963
|
+
declare enum CommonBalanceType {
|
|
5914
5964
|
UNLOCKED_UNSTAKED = "unlockedUnstaked",
|
|
5915
5965
|
UNLOCKED_STAKED = "unlockedStaked",
|
|
5916
5966
|
LOCKED_PLATFORM = "lockedPlatform",
|
|
5917
5967
|
LOCKED_STAKEABLE = "lockedStakeable",
|
|
5918
5968
|
LOCKED_STAKED = "lockedStaked",
|
|
5919
5969
|
PENDING_STAKED = "pendingStaked",
|
|
5970
|
+
UNLOCKED = "unlocked",
|
|
5971
|
+
LOCKED = "locked",
|
|
5920
5972
|
ATOMIC_MEMORY_UNLOCKED = "atomicMemoryUnlocked",
|
|
5921
5973
|
ATOMIC_MEMORY_LOCKED = "atomicMemoryLocked"
|
|
5922
5974
|
}
|
|
5923
5975
|
|
|
5924
5976
|
type PlatformBalanceThresholdFilter = {
|
|
5925
|
-
balanceType:
|
|
5977
|
+
balanceType: CommonBalanceType;
|
|
5926
5978
|
/**
|
|
5927
5979
|
* Threshold for balance corresponding to balanceType in nAVAX
|
|
5928
5980
|
*/
|
|
@@ -6205,6 +6257,17 @@ declare class ApiError extends Error {
|
|
|
6205
6257
|
constructor(request: ApiRequestOptions, response: ApiResult, message: string);
|
|
6206
6258
|
}
|
|
6207
6259
|
|
|
6260
|
+
type AccessListData = {
|
|
6261
|
+
/**
|
|
6262
|
+
* Access Address
|
|
6263
|
+
*/
|
|
6264
|
+
accessAddresses: string;
|
|
6265
|
+
/**
|
|
6266
|
+
* Storage keys
|
|
6267
|
+
*/
|
|
6268
|
+
storageKeys: Array<string>;
|
|
6269
|
+
};
|
|
6270
|
+
|
|
6208
6271
|
type BadGateway = {
|
|
6209
6272
|
/**
|
|
6210
6273
|
* The error message describing the reason for the exception
|
|
@@ -6239,6 +6302,76 @@ type DataListChainsResponse = {
|
|
|
6239
6302
|
chains: Array<ChainInfo>;
|
|
6240
6303
|
};
|
|
6241
6304
|
|
|
6305
|
+
type ERCToken = {
|
|
6306
|
+
/**
|
|
6307
|
+
* Token contract address
|
|
6308
|
+
*/
|
|
6309
|
+
address: string;
|
|
6310
|
+
/**
|
|
6311
|
+
* Token name
|
|
6312
|
+
*/
|
|
6313
|
+
name: string;
|
|
6314
|
+
/**
|
|
6315
|
+
* Token symbol
|
|
6316
|
+
*/
|
|
6317
|
+
symbol: string;
|
|
6318
|
+
/**
|
|
6319
|
+
* Token decimals
|
|
6320
|
+
*/
|
|
6321
|
+
decimals: number;
|
|
6322
|
+
/**
|
|
6323
|
+
* Value including decimals
|
|
6324
|
+
*/
|
|
6325
|
+
valueWithDecimals: string;
|
|
6326
|
+
};
|
|
6327
|
+
|
|
6328
|
+
type ERCTransfer = {
|
|
6329
|
+
/**
|
|
6330
|
+
* Transaction hash
|
|
6331
|
+
*/
|
|
6332
|
+
transactionHash: string;
|
|
6333
|
+
/**
|
|
6334
|
+
* Transfer type
|
|
6335
|
+
*/
|
|
6336
|
+
type: string;
|
|
6337
|
+
/**
|
|
6338
|
+
* Sender address
|
|
6339
|
+
*/
|
|
6340
|
+
from: string;
|
|
6341
|
+
/**
|
|
6342
|
+
* Recipient address
|
|
6343
|
+
*/
|
|
6344
|
+
to: string;
|
|
6345
|
+
/**
|
|
6346
|
+
* Amount transferred
|
|
6347
|
+
*/
|
|
6348
|
+
value: string;
|
|
6349
|
+
/**
|
|
6350
|
+
* Token Id
|
|
6351
|
+
*/
|
|
6352
|
+
tokenId?: string;
|
|
6353
|
+
/**
|
|
6354
|
+
* Block timestamp
|
|
6355
|
+
*/
|
|
6356
|
+
blockTimestamp: number;
|
|
6357
|
+
/**
|
|
6358
|
+
* Log index
|
|
6359
|
+
*/
|
|
6360
|
+
logIndex: number;
|
|
6361
|
+
/**
|
|
6362
|
+
* erc20 Token details
|
|
6363
|
+
*/
|
|
6364
|
+
erc20Token?: ERCToken;
|
|
6365
|
+
/**
|
|
6366
|
+
* erc721 Token details
|
|
6367
|
+
*/
|
|
6368
|
+
erc721Token?: ERCToken;
|
|
6369
|
+
/**
|
|
6370
|
+
* erc1155 Token details
|
|
6371
|
+
*/
|
|
6372
|
+
erc1155Token?: ERCToken;
|
|
6373
|
+
};
|
|
6374
|
+
|
|
6242
6375
|
type Forbidden = {
|
|
6243
6376
|
/**
|
|
6244
6377
|
* The error message describing the reason for the exception
|
|
@@ -6269,6 +6402,64 @@ type InternalServerError = {
|
|
|
6269
6402
|
error: string;
|
|
6270
6403
|
};
|
|
6271
6404
|
|
|
6405
|
+
type Log = {
|
|
6406
|
+
/**
|
|
6407
|
+
* Contract address
|
|
6408
|
+
*/
|
|
6409
|
+
address: string;
|
|
6410
|
+
/**
|
|
6411
|
+
* First topic
|
|
6412
|
+
*/
|
|
6413
|
+
topic0: string;
|
|
6414
|
+
/**
|
|
6415
|
+
* Second topic (optional)
|
|
6416
|
+
*/
|
|
6417
|
+
topic1?: string;
|
|
6418
|
+
/**
|
|
6419
|
+
* Third topic (optional)
|
|
6420
|
+
*/
|
|
6421
|
+
topic2?: string;
|
|
6422
|
+
/**
|
|
6423
|
+
* Fourth topic (optional)
|
|
6424
|
+
*/
|
|
6425
|
+
topic3?: string;
|
|
6426
|
+
/**
|
|
6427
|
+
* Event data
|
|
6428
|
+
*/
|
|
6429
|
+
data: string;
|
|
6430
|
+
/**
|
|
6431
|
+
* Transaction index
|
|
6432
|
+
*/
|
|
6433
|
+
transactionIndex: number;
|
|
6434
|
+
/**
|
|
6435
|
+
* Log index
|
|
6436
|
+
*/
|
|
6437
|
+
logIndex: number;
|
|
6438
|
+
/**
|
|
6439
|
+
* Indicates if the log was removed
|
|
6440
|
+
*/
|
|
6441
|
+
removed: boolean;
|
|
6442
|
+
};
|
|
6443
|
+
|
|
6444
|
+
type NetworkTokenInfo = {
|
|
6445
|
+
/**
|
|
6446
|
+
* Token name
|
|
6447
|
+
*/
|
|
6448
|
+
tokenName?: string;
|
|
6449
|
+
/**
|
|
6450
|
+
* Token symbol
|
|
6451
|
+
*/
|
|
6452
|
+
tokenSymbol?: string;
|
|
6453
|
+
/**
|
|
6454
|
+
* Token decimals
|
|
6455
|
+
*/
|
|
6456
|
+
tokenDecimals?: number;
|
|
6457
|
+
/**
|
|
6458
|
+
* Value including decimals
|
|
6459
|
+
*/
|
|
6460
|
+
valueWithDecimals?: string;
|
|
6461
|
+
};
|
|
6462
|
+
|
|
6272
6463
|
type NextPageToken = {
|
|
6273
6464
|
/**
|
|
6274
6465
|
* 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.
|
|
@@ -6321,6 +6512,132 @@ type TooManyRequests = {
|
|
|
6321
6512
|
error: string;
|
|
6322
6513
|
};
|
|
6323
6514
|
|
|
6515
|
+
type Transaction = {
|
|
6516
|
+
/**
|
|
6517
|
+
* Block hash of the transaction
|
|
6518
|
+
*/
|
|
6519
|
+
blockHash: string;
|
|
6520
|
+
/**
|
|
6521
|
+
* Block number of the transaction
|
|
6522
|
+
*/
|
|
6523
|
+
blockNumber: string;
|
|
6524
|
+
/**
|
|
6525
|
+
* Sender address
|
|
6526
|
+
*/
|
|
6527
|
+
from: string;
|
|
6528
|
+
/**
|
|
6529
|
+
* Gas limit for the transaction
|
|
6530
|
+
*/
|
|
6531
|
+
gas: string;
|
|
6532
|
+
/**
|
|
6533
|
+
* Gas price used
|
|
6534
|
+
*/
|
|
6535
|
+
gasPrice: string;
|
|
6536
|
+
/**
|
|
6537
|
+
* Maximum fee per gas
|
|
6538
|
+
*/
|
|
6539
|
+
maxFeePerGas: string;
|
|
6540
|
+
/**
|
|
6541
|
+
* Maximum priority fee per gas
|
|
6542
|
+
*/
|
|
6543
|
+
maxPriorityFeePerGas: string;
|
|
6544
|
+
/**
|
|
6545
|
+
* Transaction hash
|
|
6546
|
+
*/
|
|
6547
|
+
txHash: string;
|
|
6548
|
+
/**
|
|
6549
|
+
* Transaction status
|
|
6550
|
+
*/
|
|
6551
|
+
txStatus: string;
|
|
6552
|
+
/**
|
|
6553
|
+
* Input data
|
|
6554
|
+
*/
|
|
6555
|
+
input: string;
|
|
6556
|
+
/**
|
|
6557
|
+
* Nonce value
|
|
6558
|
+
*/
|
|
6559
|
+
nonce: string;
|
|
6560
|
+
/**
|
|
6561
|
+
* Recipient address
|
|
6562
|
+
*/
|
|
6563
|
+
to: string;
|
|
6564
|
+
/**
|
|
6565
|
+
* Transaction index
|
|
6566
|
+
*/
|
|
6567
|
+
transactionIndex: number;
|
|
6568
|
+
/**
|
|
6569
|
+
* Value transferred in the transaction
|
|
6570
|
+
*/
|
|
6571
|
+
value: string;
|
|
6572
|
+
/**
|
|
6573
|
+
* Transaction type
|
|
6574
|
+
*/
|
|
6575
|
+
type: number;
|
|
6576
|
+
/**
|
|
6577
|
+
* Chain ID of the network
|
|
6578
|
+
*/
|
|
6579
|
+
chainId: string;
|
|
6580
|
+
/**
|
|
6581
|
+
* Cumulative gas used
|
|
6582
|
+
*/
|
|
6583
|
+
receiptCumulativeGasUsed: string;
|
|
6584
|
+
/**
|
|
6585
|
+
* Gas used
|
|
6586
|
+
*/
|
|
6587
|
+
receiptGasUsed: string;
|
|
6588
|
+
/**
|
|
6589
|
+
* Effective gas price
|
|
6590
|
+
*/
|
|
6591
|
+
receiptEffectiveGasPrice: string;
|
|
6592
|
+
/**
|
|
6593
|
+
* Receipt root
|
|
6594
|
+
*/
|
|
6595
|
+
receiptRoot: string;
|
|
6596
|
+
/**
|
|
6597
|
+
* Block timestamp
|
|
6598
|
+
*/
|
|
6599
|
+
blockTimestamp: number;
|
|
6600
|
+
/**
|
|
6601
|
+
* Contract address (optional)
|
|
6602
|
+
*/
|
|
6603
|
+
contractAddress?: string;
|
|
6604
|
+
/**
|
|
6605
|
+
* ERC20 transfers
|
|
6606
|
+
*/
|
|
6607
|
+
erc20Transfers: Array<ERCTransfer>;
|
|
6608
|
+
/**
|
|
6609
|
+
* ERC721 transfers
|
|
6610
|
+
*/
|
|
6611
|
+
erc721Transfers: Array<ERCTransfer>;
|
|
6612
|
+
/**
|
|
6613
|
+
* ERC1155 transfers
|
|
6614
|
+
*/
|
|
6615
|
+
erc1155Transfers: Array<ERCTransfer>;
|
|
6616
|
+
/**
|
|
6617
|
+
* Internal transactions (optional)
|
|
6618
|
+
*/
|
|
6619
|
+
internalTransactions?: Array<InternalTransaction>;
|
|
6620
|
+
/**
|
|
6621
|
+
* Access list (optional)
|
|
6622
|
+
*/
|
|
6623
|
+
accessList?: Array<AccessListData>;
|
|
6624
|
+
/**
|
|
6625
|
+
* Network token info (optional)
|
|
6626
|
+
*/
|
|
6627
|
+
networkToken?: NetworkTokenInfo;
|
|
6628
|
+
};
|
|
6629
|
+
|
|
6630
|
+
type TransactionEvent = {
|
|
6631
|
+
/**
|
|
6632
|
+
* Transaction details
|
|
6633
|
+
*/
|
|
6634
|
+
transaction: Transaction;
|
|
6635
|
+
/**
|
|
6636
|
+
* Array of log events
|
|
6637
|
+
*/
|
|
6638
|
+
logs?: Array<Log>;
|
|
6639
|
+
};
|
|
6640
|
+
|
|
6324
6641
|
type Unauthorized = {
|
|
6325
6642
|
/**
|
|
6326
6643
|
* The error message describing the reason for the exception
|
|
@@ -6336,4 +6653,31 @@ type Unauthorized = {
|
|
|
6336
6653
|
error: string;
|
|
6337
6654
|
};
|
|
6338
6655
|
|
|
6339
|
-
|
|
6656
|
+
type WebhookAddressActivityResponse = {
|
|
6657
|
+
/**
|
|
6658
|
+
* Webhook ID
|
|
6659
|
+
*/
|
|
6660
|
+
webhookId: string;
|
|
6661
|
+
/**
|
|
6662
|
+
* Event type
|
|
6663
|
+
*/
|
|
6664
|
+
eventType: WebhookAddressActivityResponse.eventType;
|
|
6665
|
+
/**
|
|
6666
|
+
* Message ID
|
|
6667
|
+
*/
|
|
6668
|
+
messageId: string;
|
|
6669
|
+
/**
|
|
6670
|
+
* Event details
|
|
6671
|
+
*/
|
|
6672
|
+
event: TransactionEvent;
|
|
6673
|
+
};
|
|
6674
|
+
declare namespace WebhookAddressActivityResponse {
|
|
6675
|
+
/**
|
|
6676
|
+
* Event type
|
|
6677
|
+
*/
|
|
6678
|
+
enum eventType {
|
|
6679
|
+
ADDRESS_ACTIVITY = "address_activity"
|
|
6680
|
+
}
|
|
6681
|
+
}
|
|
6682
|
+
|
|
6683
|
+
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, Geolocation, 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 };
|