@xelis/sdk 0.11.31 → 0.11.33

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.
@@ -9,14 +9,30 @@ export interface ABIEntry {
9
9
  name: string;
10
10
  outputs?: string | string[];
11
11
  params: ABIParam[];
12
- type: 'entry' | 'view';
12
+ type: 'entry';
13
13
  description?: string;
14
14
  }
15
+ export interface InternalType {
16
+ name: string;
17
+ kind: 'struct' | 'enum';
18
+ fields?: Array<{
19
+ name: string;
20
+ type: string;
21
+ }>;
22
+ variants?: Array<{
23
+ name: string;
24
+ fields: Array<{
25
+ name: string;
26
+ type: string;
27
+ }>;
28
+ }>;
29
+ }
15
30
  export type ABI = {
16
31
  data: ABIEntry[];
17
32
  version: string;
33
+ internal_types?: InternalType[];
18
34
  };
19
- type ParamType<T extends string> = T extends 'Hash' ? string : T extends 'Address' ? string : T extends 'PublicKey' ? string : T extends 'Blob' ? string : T extends 'String' | 'string' ? string : T extends 'Boolean' | 'boolean' | 'bool' ? boolean : T extends 'U256' | 'u256' ? bigint | number : T extends 'U128' | 'u128' ? bigint | number : T extends 'U64' | 'u64' ? bigint | number : T extends 'U32' | 'u32' ? number : T extends 'U16' | 'u16' ? number : T extends 'U8' | 'u8' ? number : any;
35
+ type ParamType<T extends string> = T extends 'Hash' ? string : T extends 'Address' ? string : T extends 'PublicKey' ? string : T extends 'Blob' ? string : T extends 'String' | 'string' ? string : T extends 'Boolean' | 'boolean' | 'bool' ? boolean : T extends 'U256' | 'u256' ? bigint | number : T extends 'U128' | 'u128' ? bigint | number : T extends 'U64' | 'u64' ? bigint | number : T extends 'U32' | 'u32' ? number : T extends 'U16' | 'u16' ? number : T extends 'U8' | 'u8' ? number : T extends `${infer Inner}[]` ? Array<ParamType<Inner>> : T extends `optional<${infer Inner}>` ? ParamType<Inner> | null | undefined : T extends `map<${infer K}, ${infer V}>` ? ParamType<K> extends string | number | symbol ? Record<ParamType<K>, ParamType<V>> : Record<string, ParamType<V>> : T extends `(${string})` ? any[] : any;
20
36
  type ExtractParams<T extends ABIEntry> = {
21
37
  [K in T['params'][number] as K['name']]: K extends {
22
38
  optional: true;
@@ -37,39 +53,58 @@ export declare class TypedContract<T extends ABI> {
37
53
  readonly abi: T;
38
54
  private readonly methods;
39
55
  constructor(address: string, abi: T);
56
+ /**
57
+ * Register all custom types from ABI
58
+ */
59
+ private register_internal_types;
60
+ /**
61
+ * Helper to create struct values with positional arguments
62
+ * Validates field types immediately
63
+ * @param type_name - Name of the struct type
64
+ * @param field_values - Field values in the order defined in ABI
65
+ */
66
+ struct(type_name: string, ...field_values: any[]): any;
67
+ /**
68
+ * Helper to create enum values with positional arguments
69
+ * Validates field types immediately
70
+ * @param type_name - Name of the enum type
71
+ * @param variant_name - Name of the variant
72
+ * @param field_values - Field values in the order defined in ABI
73
+ */
74
+ enum(type_name: string, variant_name: string, ...field_values: any[]): any;
40
75
  /**
41
76
  * Internal method to invoke contract functions
42
77
  */
43
- invokeUnsafe(methodName: string, params?: any): Record<string, any>;
78
+ invokeUnsafe(method_name: string, params?: any): Record<string, any>;
44
79
  /**
45
80
  * Type-safe invoke method
46
81
  */
47
- invoke<K extends T['data'][number]['name']>(methodName: K, params: K extends T['data'][number]['name'] ? T['data'][number] extends infer E ? E extends ABIEntry ? E['name'] extends K ? ExtractParams<E> : never : never : never : never): Record<string, any>;
82
+ invoke<K extends T['data'][number]['name']>(method_name: K, params: K extends T['data'][number]['name'] ? T['data'][number] extends infer E ? E extends ABIEntry ? E['name'] extends K ? ExtractParams<E> : never : never : never : never): Record<string, any>;
48
83
  /**
49
84
  * Get list of available methods
50
85
  */
51
- getMethods(): string[];
86
+ get_methods(): string[];
52
87
  /**
53
88
  * Get method signature information
54
89
  */
55
- getMethodSignature(methodName: string): ABIEntry | undefined;
90
+ get_method_signature(method_name: string): ABIEntry | undefined;
56
91
  /**
57
92
  * Generate TypeScript interface for the contract
58
93
  */
59
- generateInterface(): string;
60
- private getTypeScriptType;
94
+ generate_interface(): string;
95
+ private get_typescript_type;
61
96
  }
62
97
  /**
63
98
  * Create a typed contract instance with full TypeScript support
64
99
  */
65
- export declare function createTypedContract<T extends ABI>(address: string, abi: T): TypedContract<T> & MethodsFromABI<T>;
100
+ export declare function create_typed_contract<T extends ABI>(address: string, abi: T): TypedContract<T> & MethodsFromABI<T>;
66
101
  /**
67
102
  * Contract factory with strong typing
68
103
  */
69
104
  export declare class TypedContractFactory<T extends ABI> {
70
105
  private readonly abi;
71
- private readonly contractName;
72
- constructor(abi: T, contractName?: string);
106
+ private readonly contract_name;
107
+ constructor(abi: T, contract_name?: string);
73
108
  /**
74
109
  * Create a new contract instance at the specified address
75
110
  */
@@ -77,18 +112,18 @@ export declare class TypedContractFactory<T extends ABI> {
77
112
  /**
78
113
  * Get the ABI
79
114
  */
80
- getABI(): T;
115
+ get_abi(): T;
81
116
  /**
82
117
  * Generate TypeScript definitions for this contract
83
118
  */
84
- generateTypeDefinitions(): string;
119
+ generate_type_definitions(): string;
85
120
  }
86
121
  /**
87
122
  * Utility to validate ABI structure
88
123
  */
89
- export declare function validateABI(abi: any): abi is ABI;
124
+ export declare function validate_abi(abi: any): abi is ABI;
90
125
  /**
91
126
  * Helper to create a contract from JSON ABI
92
127
  */
93
- export declare function createContractFromJSON(address: string, abiPath: string): Promise<TypedContract<ABI> & MethodsFromABI<ABI>>;
128
+ export declare function create_contract_from_json(address: string, abi_path: string): Promise<TypedContract<ABI> & MethodsFromABI<ABI>>;
94
129
  export {};
@@ -23,14 +23,26 @@ export type ValidationType = keyof typeof TYPE_VALIDATORS;
23
23
  * @param type - The type string (e.g., 'u64', 'Hash', 'string')
24
24
  * @param validate - Whether to validate and convert the value (default: true)
25
25
  */
26
- export declare function createVMParameter(value: any, type: ValidationType, validate?: boolean): VMParameter;
26
+ export declare function createVMPrimitive(value: any, type: ValidationType, validate?: boolean): VMParameter;
27
+ /**
28
+ * Serialize an array of values
29
+ */
30
+ export declare function serialize_array(items: any[], item_type: string): VMParameter;
31
+ /**
32
+ * Serialize a map
33
+ */
34
+ export declare function serialize_map(map: Record<string, any>, keyType: string, valueType: string): VMParameter;
35
+ /**
36
+ * Serialize an optional value
37
+ */
38
+ export declare function serialize_optional(value: any, inner_type: string): VMParameter;
27
39
  /**
28
40
  * Convenience functions for common types
29
41
  */
30
- export declare const vmParam: {
42
+ export declare const VMParam: {
31
43
  hash: (value: string) => VMParameter;
32
44
  address: (value: string) => VMParameter;
33
- publicKey: (value: string) => VMParameter;
45
+ public_key: (value: string) => VMParameter;
34
46
  blob: (value: string) => VMParameter;
35
47
  u64: (value: number | bigint) => VMParameter;
36
48
  u32: (value: number) => VMParameter;
@@ -39,6 +51,57 @@ export declare const vmParam: {
39
51
  string: (value: string) => VMParameter;
40
52
  boolean: (value: boolean) => VMParameter;
41
53
  };
54
+ /**
55
+ * A type that knows how to serialize itself to VMParameter
56
+ */
57
+ export interface SerializableType {
58
+ readonly name: string;
59
+ to_VMParameter(value: any): VMParameter;
60
+ }
61
+ /**
62
+ * Enum variant schema
63
+ */
64
+ export interface EnumVariantSchema {
65
+ name: string;
66
+ fields: Array<{
67
+ name: string;
68
+ type: string;
69
+ }>;
70
+ }
71
+ /**
72
+ * Struct field schema
73
+ */
74
+ export interface StructFieldSchema {
75
+ name: string;
76
+ type: string;
77
+ }
78
+ /**
79
+ * Define an enum type from ABI schema
80
+ */
81
+ export declare function defineEnum(name: string, variants: EnumVariantSchema[]): SerializableType;
82
+ /**
83
+ * Define a struct type from ABI schema
84
+ */
85
+ export declare function defineStruct(name: string, fields: StructFieldSchema[]): SerializableType;
86
+ /**
87
+ * Type registry - simple Map for custom types
88
+ */
89
+ declare class TypeRegistry {
90
+ private types;
91
+ register(definition: SerializableType): SerializableType;
92
+ get(name: string): SerializableType | undefined;
93
+ has(name: string): boolean;
94
+ clear(): void;
95
+ all(): Iterable<SerializableType>;
96
+ }
97
+ export declare const typeRegistry: TypeRegistry;
98
+ /**
99
+ * Enhanced parameter creation that handles both primitive and custom types
100
+ * @param value - The value to serialize
101
+ * @param type - The type string (primitive or custom type name)
102
+ * @param validate - Whether to validate primitive values (default: true)
103
+ */
104
+ export declare function createVMParameter(value: any, type: string, validate?: boolean): VMParameter;
42
105
  /**
43
106
  * Creates a deposits object for contract calls
44
107
  * @param deposits - Object mapping token hashes to amounts
@@ -51,8 +114,9 @@ export declare function createDeposits(deposits: Record<string, number | bigint>
51
114
  */
52
115
  export interface ContractInvocationParams {
53
116
  contract: string;
54
- chunkId: number;
117
+ chunk_id: number;
55
118
  parameters?: VMParameter[];
119
+ permission: string;
56
120
  deposits?: Record<string, number | bigint>;
57
121
  maxGas?: number;
58
122
  }
@@ -13,10 +13,14 @@ export declare class RPC extends HttpRPC {
13
13
  getStableHeight(): Promise<number>;
14
14
  getStableTopoheight(): Promise<number>;
15
15
  getHardForks(): Promise<types.HardFork[]>;
16
- getBlockAtTopoheight(params: types.GetBlockAtTopoheightParams): Promise<types.Block>;
16
+ getBlockAtTopoheight(params: types.GetBlockAtTopoHeightParams): Promise<types.Block>;
17
17
  getBlocksAtHeight(params: types.GetBlocksAtHeightParams): Promise<types.Block[]>;
18
18
  getBlockByHash(params: types.GetBlockByHashParams): Promise<types.Block>;
19
19
  getTopBlock(params?: types.GetTopBlockParams): Promise<types.Block>;
20
+ getBlockDifficultyByHash(params: types.GetBlockDifficultyByHashParams): Promise<types.GetDifficultyResult>;
21
+ getBlockBaseFeeByHash(params: types.GetBlockBaseFeeByHashParams): Promise<types.GetBlockBaseFeeByHashResult>;
22
+ getBlockSummaryAtTopoheight(params: types.GetBlockAtTopoHeightParams): Promise<types.GetBlockSummaryResult>;
23
+ getBlockSummaryByHash(params: types.GetBlockSummaryByHashParams): Promise<types.GetBlockSummaryResult>;
20
24
  getBalance(params: types.GetBalanceParams): Promise<types.GetBalanceResult>;
21
25
  getStableBalance(params: types.GetBalanceParams): Promise<types.GetStableBalanceResult>;
22
26
  hasBalance(params: types.HasBalanceParams): Promise<types.HasBalanceResult>;
@@ -35,6 +39,7 @@ export declare class RPC extends HttpRPC {
35
39
  getTransationExecutor(hash: string): Promise<types.GetTransactionExecutorResult>;
36
40
  getTransaction(hash: string): Promise<types.TransactionResponse>;
37
41
  getTransactions(txHashes: string[]): Promise<types.TransactionResponse[]>;
42
+ getTransactionsSummary(params: types.GetTransactionsParams): Promise<types.TransactionSummary[]>;
38
43
  isTxExecutedInBlock(params: types.IsTxExecutedInBlockParams): Promise<boolean>;
39
44
  p2pStatus(): Promise<types.P2PStatusResult>;
40
45
  getPeers(): Promise<types.GetPeersResult>;
@@ -54,6 +59,7 @@ export declare class RPC extends HttpRPC {
54
59
  validateAddress(params: types.ValidateAddressParams): Promise<types.ValidateAddressResult>;
55
60
  splitAddress(params: types.SplitAddressParams): Promise<types.SplitAddressResult>;
56
61
  extractKeyFromAddress(params: types.ExtractKeyFromAddressParams): Promise<string | number[]>;
62
+ keyToAddress(params: types.KeyToAddressParams): Promise<types.Address>;
57
63
  makeIntegratedAddress(params: types.MakeIntegratedAddressParams): Promise<string>;
58
64
  decryptExtraData(params: types.DecryptExtraDataParams): Promise<unknown>;
59
65
  getMultisigAtTopoheight(params: types.GetMutilsigAtTopoheightParams): Promise<types.GetMutilsigAtTopoheightResult>;
@@ -63,6 +69,7 @@ export declare class RPC extends HttpRPC {
63
69
  getContractLogs(params: types.GetContractLogsParams): Promise<types.ContractLog[]>;
64
70
  getContractScheduledExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<types.ScheduledExecution[]>;
65
71
  getContractRegisteredExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<[number, string][]>;
72
+ getContractsOutputs(params: types.GetContractOutputsParams): Promise<types.GetContractsOutputsResult>;
66
73
  getContractModule(params: types.GetContractModuleParams): Promise<types.GetContractModuleResult>;
67
74
  getContractData(params: types.GetContractDataParams): Promise<unknown>;
68
75
  getContractDataAtTopoheight(params: types.GetContractDataAtTopoheightParams): Promise<unknown>;
@@ -40,6 +40,74 @@ export interface Block {
40
40
  txs_hashes: string[];
41
41
  transactions?: Transaction[];
42
42
  }
43
+ export interface GetBlockDifficultyByHashParams {
44
+ block_hash: string;
45
+ }
46
+ export interface GetBlockBaseFeeByHashParams {
47
+ block_hash: string;
48
+ }
49
+ export interface GetBlockBaseFeeByHashResult {
50
+ fee_per_kb: number;
51
+ block_size_ema: number;
52
+ }
53
+ export interface TransactionSummary {
54
+ hash: string;
55
+ source: string;
56
+ fee: number;
57
+ size: number;
58
+ }
59
+ export interface GetBlockSummaryResult {
60
+ block_hash: string;
61
+ height: number;
62
+ miner: string;
63
+ timestamp: number;
64
+ block_type: BlockType;
65
+ cumulative_difficulty: string;
66
+ difficulty: string;
67
+ topoheight: number;
68
+ reward: number;
69
+ miner_reward: number;
70
+ dev_reward: number;
71
+ supply: number;
72
+ total_fees: number;
73
+ total_fees_burned: number;
74
+ transactions: TransactionSummary[];
75
+ }
76
+ export interface GetBlockSummaryByHashParams {
77
+ hash: string;
78
+ }
79
+ export interface GetTransactionsParams {
80
+ tx_hashes: string[];
81
+ }
82
+ export type KeyToAddressParams = string | number[];
83
+ export declare enum AddressType {
84
+ Normal = "normal",
85
+ Data = "data"
86
+ }
87
+ export interface Address {
88
+ mainnet: boolean;
89
+ addr_type: AddressType;
90
+ key: any;
91
+ }
92
+ export interface ContractTransfersEntryKey {
93
+ contract: string;
94
+ caller: string;
95
+ }
96
+ export interface ContractTransfersEntry {
97
+ transfers: {
98
+ [hash: string]: number;
99
+ };
100
+ }
101
+ export interface GetContractsOutputsResult {
102
+ executions: Array<{
103
+ key: ContractTransfersEntryKey;
104
+ value: ContractTransfersEntry;
105
+ }>;
106
+ }
107
+ export interface GetContractOutputsParams {
108
+ address: string;
109
+ topoheight: number;
110
+ }
43
111
  export interface GetBalanceParams {
44
112
  address: string;
45
113
  asset: string;
@@ -265,7 +333,7 @@ export interface GetAccountAssetsParams {
265
333
  skip?: number;
266
334
  maximum?: number;
267
335
  }
268
- export interface GetBlockAtTopoheightParams {
336
+ export interface GetBlockAtTopoHeightParams {
269
337
  topoheight: number;
270
338
  include_txs?: boolean;
271
339
  }
@@ -322,6 +390,11 @@ export interface AccountHistory {
322
390
  deploy_contract?: {
323
391
  deposits?: string[];
324
392
  };
393
+ from_contract?: {
394
+ contract: string;
395
+ asset: string;
396
+ amount: number;
397
+ };
325
398
  }
326
399
  export interface PeerPeerListUpdated {
327
400
  peer_id: string;
@@ -768,6 +841,10 @@ export declare enum RPCMethod {
768
841
  GetBlocksAtHeight = "get_blocks_at_height",
769
842
  GetBlockByHash = "get_block_by_hash",
770
843
  GetTopBlock = "get_top_block",
844
+ GetBlockDifficultyByHash = "get_block_difficulty_by_hash",
845
+ GetBlockBaseFeeByHash = "get_block_base_fee_by_hash",
846
+ GetBlockSummaryAtTopoheight = "get_block_summary_at_topoheight",
847
+ GetBlockSummaryByHash = "get_block_summary_by_hash",
771
848
  GetBalance = "get_balance",
772
849
  GetStableBalance = "get_stable_balance",
773
850
  HasBalance = "has_balance",
@@ -786,9 +863,11 @@ export declare enum RPCMethod {
786
863
  GetTransactionExecutor = "get_transaction_executor",
787
864
  GetTransaction = "get_transaction",
788
865
  GetTransactions = "get_transactions",
866
+ GetTransactionsSummary = "get_transactions_summary",
789
867
  IsTxExecutedInBlock = "is_tx_executed_in_block",
790
868
  P2PStatus = "p2p_status",
791
869
  GetPeers = "get_peers",
870
+ GetP2PBlockPropagation = "get_p2p_block_propagation",
792
871
  GetMempool = "get_mempool",
793
872
  GetMempoolSummary = "get_mempool_summary",
794
873
  GetMempoolCache = "get_mempool_cache",
@@ -805,6 +884,7 @@ export declare enum RPCMethod {
805
884
  ValidateAddress = "validate_address",
806
885
  SplitAddress = "split_address",
807
886
  ExtractKeyFromAddress = "extract_key_from_address",
887
+ KeyToAddress = "key_to_address",
808
888
  MakeIntegratedAddress = "make_integrated_address",
809
889
  DecryptExtraData = "decrypt_extra_data",
810
890
  GetMultisigAtTopoheight = "get_multisig_at_topoheight",
@@ -814,6 +894,7 @@ export declare enum RPCMethod {
814
894
  GetContractLogs = "get_contract_logs",
815
895
  GetContractScheduledExecutionsAtTopoheight = "get_contract_scheduled_executions_at_topoheight",
816
896
  GetContractRegisteredExecutionsAtTopoheight = "get_contract_registered_executions_at_topoheight",
897
+ GetContractsOutputs = "get_contracts_outputs",
817
898
  GetContractModule = "get_contract_module",
818
899
  GetContractData = "get_contract_data",
819
900
  GetContractDataAtTopoheight = "get_contract_data_at_topoheight",
@@ -822,7 +903,6 @@ export declare enum RPCMethod {
822
903
  GetContractAssets = "get_contract_assets",
823
904
  GetContracts = "get_contracts",
824
905
  GetContractDataEntries = "get_contract_data_entries",
825
- GetP2PBlockPropagation = "get_p2p_block_propagation",
826
906
  GetBlockTemplate = "get_block_template",
827
907
  GetMinerWork = "get_miner_work",
828
908
  SubmitBlock = "submit_block"
@@ -111,10 +111,14 @@ export declare class DaemonMethods {
111
111
  getStableHeight(): Promise<number>;
112
112
  getStableTopoheight(): Promise<number>;
113
113
  getHardForks(): Promise<types.HardFork[]>;
114
- getBlockAtTopoheight(params: types.GetBlockAtTopoheightParams): Promise<types.Block>;
114
+ getBlockAtTopoheight(params: types.GetBlockAtTopoHeightParams): Promise<types.Block>;
115
115
  getBlocksAtHeight(params: types.GetBlocksAtHeightParams): Promise<types.Block[]>;
116
116
  getBlockByHash(params: types.GetBlockByHashParams): Promise<types.Block>;
117
117
  getTopBlock(params: types.GetTopBlockParams): Promise<types.Block>;
118
+ getBlockDifficultyByHash(params: types.GetBlockDifficultyByHashParams): Promise<types.GetDifficultyResult>;
119
+ getBlockBaseFeeByHash(params: types.GetBlockBaseFeeByHashParams): Promise<types.GetBlockBaseFeeByHashResult>;
120
+ getBlockSummaryAtTopoheight(params: types.GetBlockAtTopoHeightParams): Promise<types.GetBlockSummaryResult>;
121
+ getBlockSummaryByHash(params: types.GetBlockSummaryByHashParams): Promise<types.GetBlockSummaryResult>;
118
122
  getBalance(params: types.GetBalanceParams): Promise<types.GetBalanceResult>;
119
123
  getStableBalance(params: types.GetBalanceParams): Promise<types.GetStableBalanceResult>;
120
124
  hasBalance(params: types.HasBalanceParams): Promise<types.HasBalanceResult>;
@@ -133,6 +137,7 @@ export declare class DaemonMethods {
133
137
  getTransactionExecutor(hash: string): Promise<types.GetTransactionExecutorResult>;
134
138
  getTransaction(hash: string): Promise<types.TransactionResponse>;
135
139
  getTransactions(txHashes: string[]): Promise<types.TransactionResponse[]>;
140
+ getTransactionsSummary(params: types.GetTransactionsParams): Promise<types.TransactionSummary[]>;
136
141
  isTxExecutedInBlock(params: types.IsTxExecutedInBlockParams): Promise<boolean>;
137
142
  p2pStatus(): Promise<types.P2PStatusResult>;
138
143
  getPeers(): Promise<types.GetPeersResult>;
@@ -152,6 +157,7 @@ export declare class DaemonMethods {
152
157
  validateAddress(params: types.ValidateAddressParams): Promise<types.ValidateAddressResult>;
153
158
  splitAddress(params: types.SplitAddressParams): Promise<types.SplitAddressResult>;
154
159
  extractKeyFromAddress(params: types.ExtractKeyFromAddressParams): Promise<string | number[]>;
160
+ keyToAddress(params: types.KeyToAddressParams): Promise<types.Address>;
155
161
  makeIntegratedAddress(params: types.MakeIntegratedAddressParams): Promise<string>;
156
162
  decryptExtraData(params: types.DecryptExtraDataParams): Promise<unknown>;
157
163
  getMultisigAtTopoheight(params: types.GetMutilsigAtTopoheightParams): Promise<types.GetMutilsigAtTopoheightResult>;
@@ -161,6 +167,7 @@ export declare class DaemonMethods {
161
167
  getContractLogs(params: types.GetContractLogsParams): Promise<types.ContractLog[]>;
162
168
  getContractScheduledExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<types.ScheduledExecution[]>;
163
169
  getContractRegisteredExecutionsAtTopoheight(params: types.GetContractScheduledExecutionsAtTopoheightParams): Promise<[number, string][]>;
170
+ getContractsOutputs(params: types.GetContractOutputsParams): Promise<types.GetContractsOutputsResult>;
164
171
  getContractModule(params: types.GetContractModuleParams): Promise<types.GetContractModuleResult>;
165
172
  getContractData(params: types.GetContractDataParams): Promise<unknown>;
166
173
  getContractDataAtTopoheight(params: types.GetContractDataAtTopoheightParams): Promise<unknown>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.11.31",
2
+ "version": "0.11.33",
3
3
  "name": "@xelis/sdk",
4
4
  "description": "Xelis software development kit for JS",
5
5
  "exports": {