@xelis/sdk 0.11.9 → 0.11.11
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.
|
@@ -44,7 +44,7 @@ export declare class RPC extends HttpRPC {
|
|
|
44
44
|
getDAGOrder(params?: types.TopoheightRangeParams): Promise<string[]>;
|
|
45
45
|
getBlocksRangeByTopoheight(params: types.TopoheightRangeParams): Promise<types.Block[]>;
|
|
46
46
|
getBlocksRangeByHeight(params: types.HeightRangeParams): Promise<types.Block[]>;
|
|
47
|
-
getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.
|
|
47
|
+
getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccountHistory[]>;
|
|
48
48
|
getAccountAssets(address: string): Promise<string[]>;
|
|
49
49
|
getAccounts(params: types.GetAccountsParams): Promise<string[]>;
|
|
50
50
|
isAccountRegistered(params: types.IsAccountRegisteredParams): Promise<boolean>;
|
|
@@ -253,10 +253,16 @@ export interface GetAccountHistoryParams {
|
|
|
253
253
|
asset?: string;
|
|
254
254
|
minimum_topoheight?: number;
|
|
255
255
|
maximum_topoheight?: number;
|
|
256
|
+
incoming_flow?: boolean;
|
|
257
|
+
outgoing_flow?: boolean;
|
|
256
258
|
}
|
|
257
|
-
export interface
|
|
259
|
+
export interface AccountHistory {
|
|
258
260
|
topoheight: number;
|
|
259
261
|
hash: string;
|
|
262
|
+
block_timestamp: number;
|
|
263
|
+
dev_fee?: {
|
|
264
|
+
reward: number;
|
|
265
|
+
};
|
|
260
266
|
mining?: {
|
|
261
267
|
reward: number;
|
|
262
268
|
};
|
|
@@ -269,7 +275,15 @@ export interface AccounHistory {
|
|
|
269
275
|
incoming?: {
|
|
270
276
|
from: string;
|
|
271
277
|
};
|
|
272
|
-
|
|
278
|
+
multi_sig?: {
|
|
279
|
+
participants: string[];
|
|
280
|
+
threshold: number;
|
|
281
|
+
};
|
|
282
|
+
invoke_contract?: {
|
|
283
|
+
contract: string;
|
|
284
|
+
chunk_id: number;
|
|
285
|
+
};
|
|
286
|
+
deploy_contract?: {};
|
|
273
287
|
}
|
|
274
288
|
export interface PeerPeerListUpdated {
|
|
275
289
|
peer_id: string;
|
|
@@ -72,7 +72,7 @@ export declare class DaemonMethods {
|
|
|
72
72
|
getDAGOrder(params: types.TopoheightRangeParams): Promise<string[]>;
|
|
73
73
|
getBlocksRangeByTopoheight(params: types.TopoheightRangeParams): Promise<types.Block[]>;
|
|
74
74
|
getBlocksRangeByHeight(params: types.HeightRangeParams): Promise<types.Block[]>;
|
|
75
|
-
getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.
|
|
75
|
+
getAccountHistory(params: types.GetAccountHistoryParams): Promise<types.AccountHistory[]>;
|
|
76
76
|
getAccountAssets(address: string): Promise<string[]>;
|
|
77
77
|
getAccounts(params: types.GetAccountsParams): Promise<string[]>;
|
|
78
78
|
isAccountRegistered(params: types.IsAccountRegisteredParams): Promise<boolean>;
|
package/package.json
CHANGED