@iotexproject/kit 0.1.22 → 0.1.24
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 +8 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8508,9 +8508,7 @@ declare class Staking {
|
|
|
8508
8508
|
receiverAddress: `0x${string}`;
|
|
8509
8509
|
version: "v1" | "v2";
|
|
8510
8510
|
}): Promise<any>;
|
|
8511
|
-
delegate_list(
|
|
8512
|
-
isWhole?: boolean;
|
|
8513
|
-
}): Promise<{
|
|
8511
|
+
delegate_list(isWhole?: boolean): Promise<{
|
|
8514
8512
|
data: any;
|
|
8515
8513
|
error?: undefined;
|
|
8516
8514
|
} | {
|
|
@@ -8519,7 +8517,13 @@ declare class Staking {
|
|
|
8519
8517
|
}>;
|
|
8520
8518
|
delegate_detail(args: {
|
|
8521
8519
|
onChainName: string;
|
|
8522
|
-
}): Promise<
|
|
8520
|
+
}): Promise<{
|
|
8521
|
+
data: any;
|
|
8522
|
+
error?: undefined;
|
|
8523
|
+
} | {
|
|
8524
|
+
error: unknown;
|
|
8525
|
+
data?: undefined;
|
|
8526
|
+
}>;
|
|
8523
8527
|
}
|
|
8524
8528
|
declare class utils {
|
|
8525
8529
|
erc20(args: {
|