@avalabs/glacier-sdk 2.8.0-alpha.93 → 2.8.0-alpha.95
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
CHANGED
|
@@ -2409,6 +2409,14 @@ type PChainTransaction = {
|
|
|
2409
2409
|
* A list of objects containing emitted UTXO info pertaining to a given transaction.
|
|
2410
2410
|
*/
|
|
2411
2411
|
emittedUtxos?: Array<PChainEmittedUtxo>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Source chain for an atomic transaction.
|
|
2414
|
+
*/
|
|
2415
|
+
sourceChain?: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* Destination chain for an atomic transaction.
|
|
2418
|
+
*/
|
|
2419
|
+
destinationChain?: string;
|
|
2412
2420
|
/**
|
|
2413
2421
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
2414
2422
|
*/
|
|
@@ -2929,7 +2937,7 @@ declare class PrimaryNetworkService {
|
|
|
2929
2937
|
}): CancelablePromise<(ListPChainBalancesResponse | ListXChainBalancesResponse | ListCChainAtomicBalancesResponse)>;
|
|
2930
2938
|
/**
|
|
2931
2939
|
* Returns block by block_height or block_hash on P-Chain, X-Chain (Cortina), C-Chain (hexadecimal for C-Chain).
|
|
2932
|
-
* @returns
|
|
2940
|
+
* @returns Block
|
|
2933
2941
|
* @throws ApiError
|
|
2934
2942
|
*/
|
|
2935
2943
|
getBlockById({ blockchainId, network, blockId, }: {
|
|
@@ -2945,7 +2953,7 @@ declare class PrimaryNetworkService {
|
|
|
2945
2953
|
* A block identifier which is either a block number or the block hash.
|
|
2946
2954
|
*/
|
|
2947
2955
|
blockId: string;
|
|
2948
|
-
}): CancelablePromise<
|
|
2956
|
+
}): CancelablePromise<Block>;
|
|
2949
2957
|
/**
|
|
2950
2958
|
* Returns latest blocks proposed by a given NodeID, up to user defined limit.
|
|
2951
2959
|
* @returns ListBlocksResponse
|
|
@@ -22,6 +22,14 @@ type PChainTransaction = {
|
|
|
22
22
|
* A list of objects containing emitted UTXO info pertaining to a given transaction.
|
|
23
23
|
*/
|
|
24
24
|
emittedUtxos?: Array<PChainEmittedUtxo>;
|
|
25
|
+
/**
|
|
26
|
+
* Source chain for an atomic transaction.
|
|
27
|
+
*/
|
|
28
|
+
sourceChain?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Destination chain for an atomic transaction.
|
|
31
|
+
*/
|
|
32
|
+
destinationChain?: string;
|
|
25
33
|
/**
|
|
26
34
|
* A list of objects containing P-chain Asset ID and the amount of that Asset ID.
|
|
27
35
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Block } from '../models/Block.js';
|
|
1
2
|
import { BlockchainId } from '../models/BlockchainId.js';
|
|
2
3
|
import { CChainExportTransaction } from '../models/CChainExportTransaction.js';
|
|
3
4
|
import { CChainImportTransaction } from '../models/CChainImportTransaction.js';
|
|
@@ -174,7 +175,7 @@ declare class PrimaryNetworkService {
|
|
|
174
175
|
}): CancelablePromise<(ListPChainBalancesResponse | ListXChainBalancesResponse | ListCChainAtomicBalancesResponse)>;
|
|
175
176
|
/**
|
|
176
177
|
* Returns block by block_height or block_hash on P-Chain, X-Chain (Cortina), C-Chain (hexadecimal for C-Chain).
|
|
177
|
-
* @returns
|
|
178
|
+
* @returns Block
|
|
178
179
|
* @throws ApiError
|
|
179
180
|
*/
|
|
180
181
|
getBlockById({ blockchainId, network, blockId, }: {
|
|
@@ -190,7 +191,7 @@ declare class PrimaryNetworkService {
|
|
|
190
191
|
* A block identifier which is either a block number or the block hash.
|
|
191
192
|
*/
|
|
192
193
|
blockId: string;
|
|
193
|
-
}): CancelablePromise<
|
|
194
|
+
}): CancelablePromise<Block>;
|
|
194
195
|
/**
|
|
195
196
|
* Returns latest blocks proposed by a given NodeID, up to user defined limit.
|
|
196
197
|
* @returns ListBlocksResponse
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/glacier-sdk",
|
|
3
|
-
"version": "2.8.0-alpha.
|
|
3
|
+
"version": "2.8.0-alpha.95",
|
|
4
4
|
"description": "sdk for interacting with glacier-api",
|
|
5
5
|
"author": "Oliver Wang <oliver.wang@avalabs.org>",
|
|
6
6
|
"homepage": "https://github.com/ava-labs/avalanche-sdks#readme",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"bugs": {
|
|
33
33
|
"url": "https://github.com/ava-labs/avalanche-sdks/issues"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "3f1f5a80f0ca428d4e303cd393124e896da8ef24"
|
|
36
36
|
}
|