@xelis/sdk 0.12.2 → 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>;
|
|
@@ -894,9 +894,6 @@ export interface GetContractTransactionsParams {
|
|
|
894
894
|
minimum_topoheight?: number;
|
|
895
895
|
maximum_topoheight?: number;
|
|
896
896
|
}
|
|
897
|
-
export interface GetContractTransactionsResult {
|
|
898
|
-
tx_hashes: string[];
|
|
899
|
-
}
|
|
900
897
|
export interface SimulateContractInvokeParams {
|
|
901
898
|
source: string;
|
|
902
899
|
contract: 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