@xelis/sdk 0.12.1 → 0.12.3
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.
|
@@ -84,7 +84,7 @@ export declare class RPC extends HttpRPC {
|
|
|
84
84
|
getBlockTemplate(address: string): Promise<types.GetBlockTemplateResult>;
|
|
85
85
|
getMinerWork(params: types.GetMinerWorkParams): Promise<types.GetMinerWorkResult>;
|
|
86
86
|
submitBlock(params: types.SubmitBlockParams): Promise<boolean>;
|
|
87
|
-
getContractTransactions(params: types.GetContractTransactionsParams): Promise<
|
|
87
|
+
getContractTransactions(params: types.GetContractTransactionsParams): Promise<string[]>;
|
|
88
88
|
simulateContractInvoke(params: types.SimulateContractInvokeParams): Promise<types.SimulateContractInvokeResult>;
|
|
89
89
|
rewindChain(params: types.RewindChainParams): Promise<types.RewindChainResult>;
|
|
90
90
|
clearCaches(): Promise<types.ClearCachesResult>;
|
|
@@ -891,9 +891,8 @@ export interface GetContractTransactionsParams {
|
|
|
891
891
|
contract: string;
|
|
892
892
|
skip?: number;
|
|
893
893
|
maximum?: number;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
tx_hashes: string[];
|
|
894
|
+
minimum_topoheight?: number;
|
|
895
|
+
maximum_topoheight?: number;
|
|
897
896
|
}
|
|
898
897
|
export interface SimulateContractInvokeParams {
|
|
899
898
|
source: string;
|
|
@@ -176,7 +176,7 @@ export declare class DaemonMethods {
|
|
|
176
176
|
getBlockTemplate(address: string): Promise<string>;
|
|
177
177
|
getMinerWork(params: types.GetMinerWorkParams): Promise<types.GetMinerWorkResult>;
|
|
178
178
|
submitBlock(params: types.SubmitBlockParams): Promise<boolean>;
|
|
179
|
-
getContractTransactions(params: types.GetContractTransactionsParams): Promise<
|
|
179
|
+
getContractTransactions(params: types.GetContractTransactionsParams): Promise<string[]>;
|
|
180
180
|
simulateContractInvoke(params: types.SimulateContractInvokeParams): Promise<types.SimulateContractInvokeResult>;
|
|
181
181
|
rewindChain(params: types.RewindChainParams): Promise<types.RewindChainResult>;
|
|
182
182
|
clearCaches(): Promise<types.ClearCachesResult>;
|
package/package.json
CHANGED