@illalabs/interfaces 0.27.0-canary-beta-1f4e4fa3 → 0.27.0

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.
@@ -1828,32 +1828,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1828
1828
  value: number;
1829
1829
  }>>;
1830
1830
  reduceOnly: z.ZodBoolean;
1831
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
1832
- slippage: z.ZodOptional<z.ZodNumber>;
1833
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
1834
- limitPx: z.ZodOptional<z.ZodString>;
1835
- /**
1836
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
1837
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
1838
- */
1839
- estFeeUsd: z.ZodOptional<z.ZodString>;
1840
- /**
1841
- * Add-to-position only (a position already exists for `coin`): incremental USD
1842
- * margin this order requires at the position's current leverage. Omitted for a
1843
- * brand-new position, whose leverage can't be read until the position exists.
1844
- */
1845
- marginRequired: z.ZodOptional<z.ZodString>;
1846
- /**
1847
- * Add-to-position only: the existing position's CURRENT liquidation price. It
1848
- * will move once the order fills (surfaced as context, not a post-trade estimate).
1849
- */
1850
- liquidationPx: z.ZodOptional<z.ZodString>;
1851
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
1852
- avgPx: z.ZodOptional<z.ZodString>;
1853
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
1854
- totalSz: z.ZodOptional<z.ZodString>;
1855
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
1856
- oid: z.ZodOptional<z.ZodNumber>;
1857
1831
  }, "strip", z.ZodTypeAny, {
1858
1832
  nonce: number;
1859
1833
  action: "perpetualsOrder";
@@ -1870,14 +1844,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1870
1844
  type: "cross" | "isolated";
1871
1845
  value: number;
1872
1846
  } | undefined;
1873
- slippage?: number | undefined;
1874
- limitPx?: string | undefined;
1875
- estFeeUsd?: string | undefined;
1876
- marginRequired?: string | undefined;
1877
- liquidationPx?: string | undefined;
1878
- avgPx?: string | undefined;
1879
- totalSz?: string | undefined;
1880
- oid?: number | undefined;
1881
1847
  }, {
1882
1848
  nonce: number;
1883
1849
  action: "perpetualsOrder";
@@ -1894,14 +1860,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1894
1860
  type: "cross" | "isolated";
1895
1861
  value: number;
1896
1862
  } | undefined;
1897
- slippage?: number | undefined;
1898
- limitPx?: string | undefined;
1899
- estFeeUsd?: string | undefined;
1900
- marginRequired?: string | undefined;
1901
- liquidationPx?: string | undefined;
1902
- avgPx?: string | undefined;
1903
- totalSz?: string | undefined;
1904
- oid?: number | undefined;
1905
1863
  }>, z.ZodObject<{
1906
1864
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
1907
1865
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -1919,17 +1877,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1919
1877
  type: "cross" | "isolated";
1920
1878
  value: number;
1921
1879
  }>;
1922
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
1923
- maxLeverage: z.ZodOptional<z.ZodNumber>;
1924
- /**
1925
- * Present only when a position already exists for `coin`: the position's CURRENT
1926
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
1927
- */
1928
- marginUsed: z.ZodOptional<z.ZodString>;
1929
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
1930
- liquidationPx: z.ZodOptional<z.ZodString>;
1931
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
1932
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
1933
1880
  }, "strip", z.ZodTypeAny, {
1934
1881
  nonce: number;
1935
1882
  action: "perpetualsUpdateLeverage";
@@ -1941,10 +1888,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1941
1888
  value: number;
1942
1889
  };
1943
1890
  unsignedAction?: unknown;
1944
- liquidationPx?: string | undefined;
1945
- maxLeverage?: number | undefined;
1946
- marginUsed?: string | undefined;
1947
- projectedMarginUsd?: string | undefined;
1948
1891
  }, {
1949
1892
  nonce: number;
1950
1893
  action: "perpetualsUpdateLeverage";
@@ -1956,10 +1899,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1956
1899
  value: number;
1957
1900
  };
1958
1901
  unsignedAction?: unknown;
1959
- liquidationPx?: string | undefined;
1960
- maxLeverage?: number | undefined;
1961
- marginUsed?: string | undefined;
1962
- projectedMarginUsd?: string | undefined;
1963
1902
  }>, z.ZodObject<{
1964
1903
  action: z.ZodLiteral<"perpetualsClosePosition">;
1965
1904
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -1971,19 +1910,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1971
1910
  side: z.ZodEnum<["buy", "sell"]>;
1972
1911
  markPx: z.ZodString;
1973
1912
  reduceOnly: z.ZodLiteral<true>;
1974
- /**
1975
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
1976
- * build time (the relay close response carries no closedPnl). Signed (+/-).
1977
- */
1978
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
1979
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
1980
- entryPx: z.ZodOptional<z.ZodString>;
1981
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
1982
- avgPx: z.ZodOptional<z.ZodString>;
1983
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
1984
- totalSz: z.ZodOptional<z.ZodString>;
1985
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
1986
- oid: z.ZodOptional<z.ZodNumber>;
1987
1913
  }, "strip", z.ZodTypeAny, {
1988
1914
  nonce: number;
1989
1915
  action: "perpetualsClosePosition";
@@ -1995,11 +1921,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
1995
1921
  markPx: string;
1996
1922
  reduceOnly: true;
1997
1923
  unsignedAction?: unknown;
1998
- avgPx?: string | undefined;
1999
- totalSz?: string | undefined;
2000
- oid?: number | undefined;
2001
- estimatedPnlUsd?: string | undefined;
2002
- entryPx?: string | undefined;
2003
1924
  }, {
2004
1925
  nonce: number;
2005
1926
  action: "perpetualsClosePosition";
@@ -2011,11 +1932,6 @@ export declare const TransactionActionMetadataSchema: z.ZodDiscriminatedUnion<"a
2011
1932
  markPx: string;
2012
1933
  reduceOnly: true;
2013
1934
  unsignedAction?: unknown;
2014
- avgPx?: string | undefined;
2015
- totalSz?: string | undefined;
2016
- oid?: number | undefined;
2017
- estimatedPnlUsd?: string | undefined;
2018
- entryPx?: string | undefined;
2019
1935
  }>, z.ZodObject<{
2020
1936
  action: z.ZodLiteral<"hyperliquidDeposit">;
2021
1937
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -3368,32 +3284,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3368
3284
  value: number;
3369
3285
  }>>;
3370
3286
  reduceOnly: z.ZodBoolean;
3371
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
3372
- slippage: z.ZodOptional<z.ZodNumber>;
3373
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
3374
- limitPx: z.ZodOptional<z.ZodString>;
3375
- /**
3376
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
3377
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
3378
- */
3379
- estFeeUsd: z.ZodOptional<z.ZodString>;
3380
- /**
3381
- * Add-to-position only (a position already exists for `coin`): incremental USD
3382
- * margin this order requires at the position's current leverage. Omitted for a
3383
- * brand-new position, whose leverage can't be read until the position exists.
3384
- */
3385
- marginRequired: z.ZodOptional<z.ZodString>;
3386
- /**
3387
- * Add-to-position only: the existing position's CURRENT liquidation price. It
3388
- * will move once the order fills (surfaced as context, not a post-trade estimate).
3389
- */
3390
- liquidationPx: z.ZodOptional<z.ZodString>;
3391
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
3392
- avgPx: z.ZodOptional<z.ZodString>;
3393
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
3394
- totalSz: z.ZodOptional<z.ZodString>;
3395
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
3396
- oid: z.ZodOptional<z.ZodNumber>;
3397
3287
  }, "strip", z.ZodTypeAny, {
3398
3288
  nonce: number;
3399
3289
  action: "perpetualsOrder";
@@ -3410,14 +3300,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3410
3300
  type: "cross" | "isolated";
3411
3301
  value: number;
3412
3302
  } | undefined;
3413
- slippage?: number | undefined;
3414
- limitPx?: string | undefined;
3415
- estFeeUsd?: string | undefined;
3416
- marginRequired?: string | undefined;
3417
- liquidationPx?: string | undefined;
3418
- avgPx?: string | undefined;
3419
- totalSz?: string | undefined;
3420
- oid?: number | undefined;
3421
3303
  }, {
3422
3304
  nonce: number;
3423
3305
  action: "perpetualsOrder";
@@ -3434,14 +3316,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3434
3316
  type: "cross" | "isolated";
3435
3317
  value: number;
3436
3318
  } | undefined;
3437
- slippage?: number | undefined;
3438
- limitPx?: string | undefined;
3439
- estFeeUsd?: string | undefined;
3440
- marginRequired?: string | undefined;
3441
- liquidationPx?: string | undefined;
3442
- avgPx?: string | undefined;
3443
- totalSz?: string | undefined;
3444
- oid?: number | undefined;
3445
3319
  }>, z.ZodObject<{
3446
3320
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
3447
3321
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -3459,17 +3333,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3459
3333
  type: "cross" | "isolated";
3460
3334
  value: number;
3461
3335
  }>;
3462
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
3463
- maxLeverage: z.ZodOptional<z.ZodNumber>;
3464
- /**
3465
- * Present only when a position already exists for `coin`: the position's CURRENT
3466
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
3467
- */
3468
- marginUsed: z.ZodOptional<z.ZodString>;
3469
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
3470
- liquidationPx: z.ZodOptional<z.ZodString>;
3471
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
3472
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
3473
3336
  }, "strip", z.ZodTypeAny, {
3474
3337
  nonce: number;
3475
3338
  action: "perpetualsUpdateLeverage";
@@ -3481,10 +3344,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3481
3344
  value: number;
3482
3345
  };
3483
3346
  unsignedAction?: unknown;
3484
- liquidationPx?: string | undefined;
3485
- maxLeverage?: number | undefined;
3486
- marginUsed?: string | undefined;
3487
- projectedMarginUsd?: string | undefined;
3488
3347
  }, {
3489
3348
  nonce: number;
3490
3349
  action: "perpetualsUpdateLeverage";
@@ -3496,10 +3355,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3496
3355
  value: number;
3497
3356
  };
3498
3357
  unsignedAction?: unknown;
3499
- liquidationPx?: string | undefined;
3500
- maxLeverage?: number | undefined;
3501
- marginUsed?: string | undefined;
3502
- projectedMarginUsd?: string | undefined;
3503
3358
  }>, z.ZodObject<{
3504
3359
  action: z.ZodLiteral<"perpetualsClosePosition">;
3505
3360
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -3511,19 +3366,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3511
3366
  side: z.ZodEnum<["buy", "sell"]>;
3512
3367
  markPx: z.ZodString;
3513
3368
  reduceOnly: z.ZodLiteral<true>;
3514
- /**
3515
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
3516
- * build time (the relay close response carries no closedPnl). Signed (+/-).
3517
- */
3518
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
3519
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
3520
- entryPx: z.ZodOptional<z.ZodString>;
3521
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
3522
- avgPx: z.ZodOptional<z.ZodString>;
3523
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
3524
- totalSz: z.ZodOptional<z.ZodString>;
3525
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
3526
- oid: z.ZodOptional<z.ZodNumber>;
3527
3369
  }, "strip", z.ZodTypeAny, {
3528
3370
  nonce: number;
3529
3371
  action: "perpetualsClosePosition";
@@ -3535,11 +3377,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3535
3377
  markPx: string;
3536
3378
  reduceOnly: true;
3537
3379
  unsignedAction?: unknown;
3538
- avgPx?: string | undefined;
3539
- totalSz?: string | undefined;
3540
- oid?: number | undefined;
3541
- estimatedPnlUsd?: string | undefined;
3542
- entryPx?: string | undefined;
3543
3380
  }, {
3544
3381
  nonce: number;
3545
3382
  action: "perpetualsClosePosition";
@@ -3551,11 +3388,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3551
3388
  markPx: string;
3552
3389
  reduceOnly: true;
3553
3390
  unsignedAction?: unknown;
3554
- avgPx?: string | undefined;
3555
- totalSz?: string | undefined;
3556
- oid?: number | undefined;
3557
- estimatedPnlUsd?: string | undefined;
3558
- entryPx?: string | undefined;
3559
3391
  }>, z.ZodObject<{
3560
3392
  action: z.ZodLiteral<"hyperliquidDeposit">;
3561
3393
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -3759,14 +3591,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3759
3591
  type: "cross" | "isolated";
3760
3592
  value: number;
3761
3593
  } | undefined;
3762
- slippage?: number | undefined;
3763
- limitPx?: string | undefined;
3764
- estFeeUsd?: string | undefined;
3765
- marginRequired?: string | undefined;
3766
- liquidationPx?: string | undefined;
3767
- avgPx?: string | undefined;
3768
- totalSz?: string | undefined;
3769
- oid?: number | undefined;
3770
3594
  } | {
3771
3595
  nonce: number;
3772
3596
  action: "perpetualsUpdateLeverage";
@@ -3778,10 +3602,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3778
3602
  value: number;
3779
3603
  };
3780
3604
  unsignedAction?: unknown;
3781
- liquidationPx?: string | undefined;
3782
- maxLeverage?: number | undefined;
3783
- marginUsed?: string | undefined;
3784
- projectedMarginUsd?: string | undefined;
3785
3605
  } | {
3786
3606
  nonce: number;
3787
3607
  action: "perpetualsClosePosition";
@@ -3793,11 +3613,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3793
3613
  markPx: string;
3794
3614
  reduceOnly: true;
3795
3615
  unsignedAction?: unknown;
3796
- avgPx?: string | undefined;
3797
- totalSz?: string | undefined;
3798
- oid?: number | undefined;
3799
- estimatedPnlUsd?: string | undefined;
3800
- entryPx?: string | undefined;
3801
3616
  } | {
3802
3617
  toAddress: string;
3803
3618
  chainId: number;
@@ -3955,14 +3770,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3955
3770
  type: "cross" | "isolated";
3956
3771
  value: number;
3957
3772
  } | undefined;
3958
- slippage?: number | undefined;
3959
- limitPx?: string | undefined;
3960
- estFeeUsd?: string | undefined;
3961
- marginRequired?: string | undefined;
3962
- liquidationPx?: string | undefined;
3963
- avgPx?: string | undefined;
3964
- totalSz?: string | undefined;
3965
- oid?: number | undefined;
3966
3773
  } | {
3967
3774
  nonce: number;
3968
3775
  action: "perpetualsUpdateLeverage";
@@ -3974,10 +3781,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3974
3781
  value: number;
3975
3782
  };
3976
3783
  unsignedAction?: unknown;
3977
- liquidationPx?: string | undefined;
3978
- maxLeverage?: number | undefined;
3979
- marginUsed?: string | undefined;
3980
- projectedMarginUsd?: string | undefined;
3981
3784
  } | {
3982
3785
  nonce: number;
3983
3786
  action: "perpetualsClosePosition";
@@ -3989,11 +3792,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
3989
3792
  markPx: string;
3990
3793
  reduceOnly: true;
3991
3794
  unsignedAction?: unknown;
3992
- avgPx?: string | undefined;
3993
- totalSz?: string | undefined;
3994
- oid?: number | undefined;
3995
- estimatedPnlUsd?: string | undefined;
3996
- entryPx?: string | undefined;
3997
3795
  } | {
3998
3796
  toAddress: string;
3999
3797
  chainId: number;
@@ -4479,32 +4277,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4479
4277
  value: number;
4480
4278
  }>>;
4481
4279
  reduceOnly: z.ZodBoolean;
4482
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
4483
- slippage: z.ZodOptional<z.ZodNumber>;
4484
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
4485
- limitPx: z.ZodOptional<z.ZodString>;
4486
- /**
4487
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
4488
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
4489
- */
4490
- estFeeUsd: z.ZodOptional<z.ZodString>;
4491
- /**
4492
- * Add-to-position only (a position already exists for `coin`): incremental USD
4493
- * margin this order requires at the position's current leverage. Omitted for a
4494
- * brand-new position, whose leverage can't be read until the position exists.
4495
- */
4496
- marginRequired: z.ZodOptional<z.ZodString>;
4497
- /**
4498
- * Add-to-position only: the existing position's CURRENT liquidation price. It
4499
- * will move once the order fills (surfaced as context, not a post-trade estimate).
4500
- */
4501
- liquidationPx: z.ZodOptional<z.ZodString>;
4502
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
4503
- avgPx: z.ZodOptional<z.ZodString>;
4504
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
4505
- totalSz: z.ZodOptional<z.ZodString>;
4506
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
4507
- oid: z.ZodOptional<z.ZodNumber>;
4508
4280
  }, "strip", z.ZodTypeAny, {
4509
4281
  nonce: number;
4510
4282
  action: "perpetualsOrder";
@@ -4521,14 +4293,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4521
4293
  type: "cross" | "isolated";
4522
4294
  value: number;
4523
4295
  } | undefined;
4524
- slippage?: number | undefined;
4525
- limitPx?: string | undefined;
4526
- estFeeUsd?: string | undefined;
4527
- marginRequired?: string | undefined;
4528
- liquidationPx?: string | undefined;
4529
- avgPx?: string | undefined;
4530
- totalSz?: string | undefined;
4531
- oid?: number | undefined;
4532
4296
  }, {
4533
4297
  nonce: number;
4534
4298
  action: "perpetualsOrder";
@@ -4545,14 +4309,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4545
4309
  type: "cross" | "isolated";
4546
4310
  value: number;
4547
4311
  } | undefined;
4548
- slippage?: number | undefined;
4549
- limitPx?: string | undefined;
4550
- estFeeUsd?: string | undefined;
4551
- marginRequired?: string | undefined;
4552
- liquidationPx?: string | undefined;
4553
- avgPx?: string | undefined;
4554
- totalSz?: string | undefined;
4555
- oid?: number | undefined;
4556
4312
  }>, z.ZodObject<{
4557
4313
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
4558
4314
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -4570,17 +4326,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4570
4326
  type: "cross" | "isolated";
4571
4327
  value: number;
4572
4328
  }>;
4573
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
4574
- maxLeverage: z.ZodOptional<z.ZodNumber>;
4575
- /**
4576
- * Present only when a position already exists for `coin`: the position's CURRENT
4577
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
4578
- */
4579
- marginUsed: z.ZodOptional<z.ZodString>;
4580
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
4581
- liquidationPx: z.ZodOptional<z.ZodString>;
4582
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
4583
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
4584
4329
  }, "strip", z.ZodTypeAny, {
4585
4330
  nonce: number;
4586
4331
  action: "perpetualsUpdateLeverage";
@@ -4592,10 +4337,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4592
4337
  value: number;
4593
4338
  };
4594
4339
  unsignedAction?: unknown;
4595
- liquidationPx?: string | undefined;
4596
- maxLeverage?: number | undefined;
4597
- marginUsed?: string | undefined;
4598
- projectedMarginUsd?: string | undefined;
4599
4340
  }, {
4600
4341
  nonce: number;
4601
4342
  action: "perpetualsUpdateLeverage";
@@ -4607,10 +4348,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4607
4348
  value: number;
4608
4349
  };
4609
4350
  unsignedAction?: unknown;
4610
- liquidationPx?: string | undefined;
4611
- maxLeverage?: number | undefined;
4612
- marginUsed?: string | undefined;
4613
- projectedMarginUsd?: string | undefined;
4614
4351
  }>, z.ZodObject<{
4615
4352
  action: z.ZodLiteral<"perpetualsClosePosition">;
4616
4353
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -4622,19 +4359,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4622
4359
  side: z.ZodEnum<["buy", "sell"]>;
4623
4360
  markPx: z.ZodString;
4624
4361
  reduceOnly: z.ZodLiteral<true>;
4625
- /**
4626
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
4627
- * build time (the relay close response carries no closedPnl). Signed (+/-).
4628
- */
4629
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
4630
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
4631
- entryPx: z.ZodOptional<z.ZodString>;
4632
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
4633
- avgPx: z.ZodOptional<z.ZodString>;
4634
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
4635
- totalSz: z.ZodOptional<z.ZodString>;
4636
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
4637
- oid: z.ZodOptional<z.ZodNumber>;
4638
4362
  }, "strip", z.ZodTypeAny, {
4639
4363
  nonce: number;
4640
4364
  action: "perpetualsClosePosition";
@@ -4646,11 +4370,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4646
4370
  markPx: string;
4647
4371
  reduceOnly: true;
4648
4372
  unsignedAction?: unknown;
4649
- avgPx?: string | undefined;
4650
- totalSz?: string | undefined;
4651
- oid?: number | undefined;
4652
- estimatedPnlUsd?: string | undefined;
4653
- entryPx?: string | undefined;
4654
4373
  }, {
4655
4374
  nonce: number;
4656
4375
  action: "perpetualsClosePosition";
@@ -4662,11 +4381,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4662
4381
  markPx: string;
4663
4382
  reduceOnly: true;
4664
4383
  unsignedAction?: unknown;
4665
- avgPx?: string | undefined;
4666
- totalSz?: string | undefined;
4667
- oid?: number | undefined;
4668
- estimatedPnlUsd?: string | undefined;
4669
- entryPx?: string | undefined;
4670
4384
  }>, z.ZodObject<{
4671
4385
  action: z.ZodLiteral<"hyperliquidDeposit">;
4672
4386
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -4870,14 +4584,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4870
4584
  type: "cross" | "isolated";
4871
4585
  value: number;
4872
4586
  } | undefined;
4873
- slippage?: number | undefined;
4874
- limitPx?: string | undefined;
4875
- estFeeUsd?: string | undefined;
4876
- marginRequired?: string | undefined;
4877
- liquidationPx?: string | undefined;
4878
- avgPx?: string | undefined;
4879
- totalSz?: string | undefined;
4880
- oid?: number | undefined;
4881
4587
  } | {
4882
4588
  nonce: number;
4883
4589
  action: "perpetualsUpdateLeverage";
@@ -4889,10 +4595,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4889
4595
  value: number;
4890
4596
  };
4891
4597
  unsignedAction?: unknown;
4892
- liquidationPx?: string | undefined;
4893
- maxLeverage?: number | undefined;
4894
- marginUsed?: string | undefined;
4895
- projectedMarginUsd?: string | undefined;
4896
4598
  } | {
4897
4599
  nonce: number;
4898
4600
  action: "perpetualsClosePosition";
@@ -4904,11 +4606,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
4904
4606
  markPx: string;
4905
4607
  reduceOnly: true;
4906
4608
  unsignedAction?: unknown;
4907
- avgPx?: string | undefined;
4908
- totalSz?: string | undefined;
4909
- oid?: number | undefined;
4910
- estimatedPnlUsd?: string | undefined;
4911
- entryPx?: string | undefined;
4912
4609
  } | {
4913
4610
  toAddress: string;
4914
4611
  chainId: number;
@@ -5066,14 +4763,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
5066
4763
  type: "cross" | "isolated";
5067
4764
  value: number;
5068
4765
  } | undefined;
5069
- slippage?: number | undefined;
5070
- limitPx?: string | undefined;
5071
- estFeeUsd?: string | undefined;
5072
- marginRequired?: string | undefined;
5073
- liquidationPx?: string | undefined;
5074
- avgPx?: string | undefined;
5075
- totalSz?: string | undefined;
5076
- oid?: number | undefined;
5077
4766
  } | {
5078
4767
  nonce: number;
5079
4768
  action: "perpetualsUpdateLeverage";
@@ -5085,10 +4774,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
5085
4774
  value: number;
5086
4775
  };
5087
4776
  unsignedAction?: unknown;
5088
- liquidationPx?: string | undefined;
5089
- maxLeverage?: number | undefined;
5090
- marginUsed?: string | undefined;
5091
- projectedMarginUsd?: string | undefined;
5092
4777
  } | {
5093
4778
  nonce: number;
5094
4779
  action: "perpetualsClosePosition";
@@ -5100,11 +4785,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
5100
4785
  markPx: string;
5101
4786
  reduceOnly: true;
5102
4787
  unsignedAction?: unknown;
5103
- avgPx?: string | undefined;
5104
- totalSz?: string | undefined;
5105
- oid?: number | undefined;
5106
- estimatedPnlUsd?: string | undefined;
5107
- entryPx?: string | undefined;
5108
4788
  } | {
5109
4789
  toAddress: string;
5110
4790
  chainId: number;
@@ -6935,32 +6615,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
6935
6615
  value: number;
6936
6616
  }>>;
6937
6617
  reduceOnly: z.ZodBoolean;
6938
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
6939
- slippage: z.ZodOptional<z.ZodNumber>;
6940
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
6941
- limitPx: z.ZodOptional<z.ZodString>;
6942
- /**
6943
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
6944
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
6945
- */
6946
- estFeeUsd: z.ZodOptional<z.ZodString>;
6947
- /**
6948
- * Add-to-position only (a position already exists for `coin`): incremental USD
6949
- * margin this order requires at the position's current leverage. Omitted for a
6950
- * brand-new position, whose leverage can't be read until the position exists.
6951
- */
6952
- marginRequired: z.ZodOptional<z.ZodString>;
6953
- /**
6954
- * Add-to-position only: the existing position's CURRENT liquidation price. It
6955
- * will move once the order fills (surfaced as context, not a post-trade estimate).
6956
- */
6957
- liquidationPx: z.ZodOptional<z.ZodString>;
6958
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
6959
- avgPx: z.ZodOptional<z.ZodString>;
6960
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
6961
- totalSz: z.ZodOptional<z.ZodString>;
6962
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
6963
- oid: z.ZodOptional<z.ZodNumber>;
6964
6618
  }, "strip", z.ZodTypeAny, {
6965
6619
  nonce: number;
6966
6620
  action: "perpetualsOrder";
@@ -6977,14 +6631,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
6977
6631
  type: "cross" | "isolated";
6978
6632
  value: number;
6979
6633
  } | undefined;
6980
- slippage?: number | undefined;
6981
- limitPx?: string | undefined;
6982
- estFeeUsd?: string | undefined;
6983
- marginRequired?: string | undefined;
6984
- liquidationPx?: string | undefined;
6985
- avgPx?: string | undefined;
6986
- totalSz?: string | undefined;
6987
- oid?: number | undefined;
6988
6634
  }, {
6989
6635
  nonce: number;
6990
6636
  action: "perpetualsOrder";
@@ -7001,14 +6647,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7001
6647
  type: "cross" | "isolated";
7002
6648
  value: number;
7003
6649
  } | undefined;
7004
- slippage?: number | undefined;
7005
- limitPx?: string | undefined;
7006
- estFeeUsd?: string | undefined;
7007
- marginRequired?: string | undefined;
7008
- liquidationPx?: string | undefined;
7009
- avgPx?: string | undefined;
7010
- totalSz?: string | undefined;
7011
- oid?: number | undefined;
7012
6650
  }>, z.ZodObject<{
7013
6651
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
7014
6652
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -7026,17 +6664,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7026
6664
  type: "cross" | "isolated";
7027
6665
  value: number;
7028
6666
  }>;
7029
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
7030
- maxLeverage: z.ZodOptional<z.ZodNumber>;
7031
- /**
7032
- * Present only when a position already exists for `coin`: the position's CURRENT
7033
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
7034
- */
7035
- marginUsed: z.ZodOptional<z.ZodString>;
7036
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
7037
- liquidationPx: z.ZodOptional<z.ZodString>;
7038
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
7039
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
7040
6667
  }, "strip", z.ZodTypeAny, {
7041
6668
  nonce: number;
7042
6669
  action: "perpetualsUpdateLeverage";
@@ -7048,10 +6675,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7048
6675
  value: number;
7049
6676
  };
7050
6677
  unsignedAction?: unknown;
7051
- liquidationPx?: string | undefined;
7052
- maxLeverage?: number | undefined;
7053
- marginUsed?: string | undefined;
7054
- projectedMarginUsd?: string | undefined;
7055
6678
  }, {
7056
6679
  nonce: number;
7057
6680
  action: "perpetualsUpdateLeverage";
@@ -7063,10 +6686,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7063
6686
  value: number;
7064
6687
  };
7065
6688
  unsignedAction?: unknown;
7066
- liquidationPx?: string | undefined;
7067
- maxLeverage?: number | undefined;
7068
- marginUsed?: string | undefined;
7069
- projectedMarginUsd?: string | undefined;
7070
6689
  }>, z.ZodObject<{
7071
6690
  action: z.ZodLiteral<"perpetualsClosePosition">;
7072
6691
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -7078,19 +6697,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7078
6697
  side: z.ZodEnum<["buy", "sell"]>;
7079
6698
  markPx: z.ZodString;
7080
6699
  reduceOnly: z.ZodLiteral<true>;
7081
- /**
7082
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
7083
- * build time (the relay close response carries no closedPnl). Signed (+/-).
7084
- */
7085
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
7086
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
7087
- entryPx: z.ZodOptional<z.ZodString>;
7088
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
7089
- avgPx: z.ZodOptional<z.ZodString>;
7090
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
7091
- totalSz: z.ZodOptional<z.ZodString>;
7092
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
7093
- oid: z.ZodOptional<z.ZodNumber>;
7094
6700
  }, "strip", z.ZodTypeAny, {
7095
6701
  nonce: number;
7096
6702
  action: "perpetualsClosePosition";
@@ -7102,11 +6708,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7102
6708
  markPx: string;
7103
6709
  reduceOnly: true;
7104
6710
  unsignedAction?: unknown;
7105
- avgPx?: string | undefined;
7106
- totalSz?: string | undefined;
7107
- oid?: number | undefined;
7108
- estimatedPnlUsd?: string | undefined;
7109
- entryPx?: string | undefined;
7110
6711
  }, {
7111
6712
  nonce: number;
7112
6713
  action: "perpetualsClosePosition";
@@ -7118,11 +6719,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7118
6719
  markPx: string;
7119
6720
  reduceOnly: true;
7120
6721
  unsignedAction?: unknown;
7121
- avgPx?: string | undefined;
7122
- totalSz?: string | undefined;
7123
- oid?: number | undefined;
7124
- estimatedPnlUsd?: string | undefined;
7125
- entryPx?: string | undefined;
7126
6722
  }>, z.ZodObject<{
7127
6723
  action: z.ZodLiteral<"hyperliquidDeposit">;
7128
6724
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -7517,14 +7113,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7517
7113
  type: "cross" | "isolated";
7518
7114
  value: number;
7519
7115
  } | undefined;
7520
- slippage?: number | undefined;
7521
- limitPx?: string | undefined;
7522
- estFeeUsd?: string | undefined;
7523
- marginRequired?: string | undefined;
7524
- liquidationPx?: string | undefined;
7525
- avgPx?: string | undefined;
7526
- totalSz?: string | undefined;
7527
- oid?: number | undefined;
7528
7116
  } | {
7529
7117
  nonce: number;
7530
7118
  action: "perpetualsUpdateLeverage";
@@ -7536,10 +7124,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7536
7124
  value: number;
7537
7125
  };
7538
7126
  unsignedAction?: unknown;
7539
- liquidationPx?: string | undefined;
7540
- maxLeverage?: number | undefined;
7541
- marginUsed?: string | undefined;
7542
- projectedMarginUsd?: string | undefined;
7543
7127
  } | {
7544
7128
  nonce: number;
7545
7129
  action: "perpetualsClosePosition";
@@ -7551,11 +7135,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7551
7135
  markPx: string;
7552
7136
  reduceOnly: true;
7553
7137
  unsignedAction?: unknown;
7554
- avgPx?: string | undefined;
7555
- totalSz?: string | undefined;
7556
- oid?: number | undefined;
7557
- estimatedPnlUsd?: string | undefined;
7558
- entryPx?: string | undefined;
7559
7138
  } | {
7560
7139
  toAddress: string;
7561
7140
  chainId: number;
@@ -7904,14 +7483,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7904
7483
  type: "cross" | "isolated";
7905
7484
  value: number;
7906
7485
  } | undefined;
7907
- slippage?: number | undefined;
7908
- limitPx?: string | undefined;
7909
- estFeeUsd?: string | undefined;
7910
- marginRequired?: string | undefined;
7911
- liquidationPx?: string | undefined;
7912
- avgPx?: string | undefined;
7913
- totalSz?: string | undefined;
7914
- oid?: number | undefined;
7915
7486
  } | {
7916
7487
  nonce: number;
7917
7488
  action: "perpetualsUpdateLeverage";
@@ -7923,10 +7494,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7923
7494
  value: number;
7924
7495
  };
7925
7496
  unsignedAction?: unknown;
7926
- liquidationPx?: string | undefined;
7927
- maxLeverage?: number | undefined;
7928
- marginUsed?: string | undefined;
7929
- projectedMarginUsd?: string | undefined;
7930
7497
  } | {
7931
7498
  nonce: number;
7932
7499
  action: "perpetualsClosePosition";
@@ -7938,11 +7505,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
7938
7505
  markPx: string;
7939
7506
  reduceOnly: true;
7940
7507
  unsignedAction?: unknown;
7941
- avgPx?: string | undefined;
7942
- totalSz?: string | undefined;
7943
- oid?: number | undefined;
7944
- estimatedPnlUsd?: string | undefined;
7945
- entryPx?: string | undefined;
7946
7508
  } | {
7947
7509
  toAddress: string;
7948
7510
  chainId: number;
@@ -8430,32 +7992,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8430
7992
  value: number;
8431
7993
  }>>;
8432
7994
  reduceOnly: z.ZodBoolean;
8433
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
8434
- slippage: z.ZodOptional<z.ZodNumber>;
8435
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
8436
- limitPx: z.ZodOptional<z.ZodString>;
8437
- /**
8438
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
8439
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
8440
- */
8441
- estFeeUsd: z.ZodOptional<z.ZodString>;
8442
- /**
8443
- * Add-to-position only (a position already exists for `coin`): incremental USD
8444
- * margin this order requires at the position's current leverage. Omitted for a
8445
- * brand-new position, whose leverage can't be read until the position exists.
8446
- */
8447
- marginRequired: z.ZodOptional<z.ZodString>;
8448
- /**
8449
- * Add-to-position only: the existing position's CURRENT liquidation price. It
8450
- * will move once the order fills (surfaced as context, not a post-trade estimate).
8451
- */
8452
- liquidationPx: z.ZodOptional<z.ZodString>;
8453
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
8454
- avgPx: z.ZodOptional<z.ZodString>;
8455
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
8456
- totalSz: z.ZodOptional<z.ZodString>;
8457
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
8458
- oid: z.ZodOptional<z.ZodNumber>;
8459
7995
  }, "strip", z.ZodTypeAny, {
8460
7996
  nonce: number;
8461
7997
  action: "perpetualsOrder";
@@ -8472,14 +8008,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8472
8008
  type: "cross" | "isolated";
8473
8009
  value: number;
8474
8010
  } | undefined;
8475
- slippage?: number | undefined;
8476
- limitPx?: string | undefined;
8477
- estFeeUsd?: string | undefined;
8478
- marginRequired?: string | undefined;
8479
- liquidationPx?: string | undefined;
8480
- avgPx?: string | undefined;
8481
- totalSz?: string | undefined;
8482
- oid?: number | undefined;
8483
8011
  }, {
8484
8012
  nonce: number;
8485
8013
  action: "perpetualsOrder";
@@ -8496,14 +8024,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8496
8024
  type: "cross" | "isolated";
8497
8025
  value: number;
8498
8026
  } | undefined;
8499
- slippage?: number | undefined;
8500
- limitPx?: string | undefined;
8501
- estFeeUsd?: string | undefined;
8502
- marginRequired?: string | undefined;
8503
- liquidationPx?: string | undefined;
8504
- avgPx?: string | undefined;
8505
- totalSz?: string | undefined;
8506
- oid?: number | undefined;
8507
8027
  }>, z.ZodObject<{
8508
8028
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
8509
8029
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -8521,17 +8041,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8521
8041
  type: "cross" | "isolated";
8522
8042
  value: number;
8523
8043
  }>;
8524
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
8525
- maxLeverage: z.ZodOptional<z.ZodNumber>;
8526
- /**
8527
- * Present only when a position already exists for `coin`: the position's CURRENT
8528
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
8529
- */
8530
- marginUsed: z.ZodOptional<z.ZodString>;
8531
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
8532
- liquidationPx: z.ZodOptional<z.ZodString>;
8533
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
8534
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
8535
8044
  }, "strip", z.ZodTypeAny, {
8536
8045
  nonce: number;
8537
8046
  action: "perpetualsUpdateLeverage";
@@ -8543,10 +8052,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8543
8052
  value: number;
8544
8053
  };
8545
8054
  unsignedAction?: unknown;
8546
- liquidationPx?: string | undefined;
8547
- maxLeverage?: number | undefined;
8548
- marginUsed?: string | undefined;
8549
- projectedMarginUsd?: string | undefined;
8550
8055
  }, {
8551
8056
  nonce: number;
8552
8057
  action: "perpetualsUpdateLeverage";
@@ -8558,10 +8063,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8558
8063
  value: number;
8559
8064
  };
8560
8065
  unsignedAction?: unknown;
8561
- liquidationPx?: string | undefined;
8562
- maxLeverage?: number | undefined;
8563
- marginUsed?: string | undefined;
8564
- projectedMarginUsd?: string | undefined;
8565
8066
  }>, z.ZodObject<{
8566
8067
  action: z.ZodLiteral<"perpetualsClosePosition">;
8567
8068
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -8573,19 +8074,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8573
8074
  side: z.ZodEnum<["buy", "sell"]>;
8574
8075
  markPx: z.ZodString;
8575
8076
  reduceOnly: z.ZodLiteral<true>;
8576
- /**
8577
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
8578
- * build time (the relay close response carries no closedPnl). Signed (+/-).
8579
- */
8580
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
8581
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
8582
- entryPx: z.ZodOptional<z.ZodString>;
8583
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
8584
- avgPx: z.ZodOptional<z.ZodString>;
8585
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
8586
- totalSz: z.ZodOptional<z.ZodString>;
8587
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
8588
- oid: z.ZodOptional<z.ZodNumber>;
8589
8077
  }, "strip", z.ZodTypeAny, {
8590
8078
  nonce: number;
8591
8079
  action: "perpetualsClosePosition";
@@ -8597,11 +8085,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8597
8085
  markPx: string;
8598
8086
  reduceOnly: true;
8599
8087
  unsignedAction?: unknown;
8600
- avgPx?: string | undefined;
8601
- totalSz?: string | undefined;
8602
- oid?: number | undefined;
8603
- estimatedPnlUsd?: string | undefined;
8604
- entryPx?: string | undefined;
8605
8088
  }, {
8606
8089
  nonce: number;
8607
8090
  action: "perpetualsClosePosition";
@@ -8613,11 +8096,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8613
8096
  markPx: string;
8614
8097
  reduceOnly: true;
8615
8098
  unsignedAction?: unknown;
8616
- avgPx?: string | undefined;
8617
- totalSz?: string | undefined;
8618
- oid?: number | undefined;
8619
- estimatedPnlUsd?: string | undefined;
8620
- entryPx?: string | undefined;
8621
8099
  }>, z.ZodObject<{
8622
8100
  action: z.ZodLiteral<"hyperliquidDeposit">;
8623
8101
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -8821,14 +8299,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8821
8299
  type: "cross" | "isolated";
8822
8300
  value: number;
8823
8301
  } | undefined;
8824
- slippage?: number | undefined;
8825
- limitPx?: string | undefined;
8826
- estFeeUsd?: string | undefined;
8827
- marginRequired?: string | undefined;
8828
- liquidationPx?: string | undefined;
8829
- avgPx?: string | undefined;
8830
- totalSz?: string | undefined;
8831
- oid?: number | undefined;
8832
8302
  } | {
8833
8303
  nonce: number;
8834
8304
  action: "perpetualsUpdateLeverage";
@@ -8840,10 +8310,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8840
8310
  value: number;
8841
8311
  };
8842
8312
  unsignedAction?: unknown;
8843
- liquidationPx?: string | undefined;
8844
- maxLeverage?: number | undefined;
8845
- marginUsed?: string | undefined;
8846
- projectedMarginUsd?: string | undefined;
8847
8313
  } | {
8848
8314
  nonce: number;
8849
8315
  action: "perpetualsClosePosition";
@@ -8855,11 +8321,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
8855
8321
  markPx: string;
8856
8322
  reduceOnly: true;
8857
8323
  unsignedAction?: unknown;
8858
- avgPx?: string | undefined;
8859
- totalSz?: string | undefined;
8860
- oid?: number | undefined;
8861
- estimatedPnlUsd?: string | undefined;
8862
- entryPx?: string | undefined;
8863
8324
  } | {
8864
8325
  toAddress: string;
8865
8326
  chainId: number;
@@ -9017,14 +8478,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9017
8478
  type: "cross" | "isolated";
9018
8479
  value: number;
9019
8480
  } | undefined;
9020
- slippage?: number | undefined;
9021
- limitPx?: string | undefined;
9022
- estFeeUsd?: string | undefined;
9023
- marginRequired?: string | undefined;
9024
- liquidationPx?: string | undefined;
9025
- avgPx?: string | undefined;
9026
- totalSz?: string | undefined;
9027
- oid?: number | undefined;
9028
8481
  } | {
9029
8482
  nonce: number;
9030
8483
  action: "perpetualsUpdateLeverage";
@@ -9036,10 +8489,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9036
8489
  value: number;
9037
8490
  };
9038
8491
  unsignedAction?: unknown;
9039
- liquidationPx?: string | undefined;
9040
- maxLeverage?: number | undefined;
9041
- marginUsed?: string | undefined;
9042
- projectedMarginUsd?: string | undefined;
9043
8492
  } | {
9044
8493
  nonce: number;
9045
8494
  action: "perpetualsClosePosition";
@@ -9051,11 +8500,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9051
8500
  markPx: string;
9052
8501
  reduceOnly: true;
9053
8502
  unsignedAction?: unknown;
9054
- avgPx?: string | undefined;
9055
- totalSz?: string | undefined;
9056
- oid?: number | undefined;
9057
- estimatedPnlUsd?: string | undefined;
9058
- entryPx?: string | undefined;
9059
8503
  } | {
9060
8504
  toAddress: string;
9061
8505
  chainId: number;
@@ -9541,32 +8985,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9541
8985
  value: number;
9542
8986
  }>>;
9543
8987
  reduceOnly: z.ZodBoolean;
9544
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
9545
- slippage: z.ZodOptional<z.ZodNumber>;
9546
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
9547
- limitPx: z.ZodOptional<z.ZodString>;
9548
- /**
9549
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
9550
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
9551
- */
9552
- estFeeUsd: z.ZodOptional<z.ZodString>;
9553
- /**
9554
- * Add-to-position only (a position already exists for `coin`): incremental USD
9555
- * margin this order requires at the position's current leverage. Omitted for a
9556
- * brand-new position, whose leverage can't be read until the position exists.
9557
- */
9558
- marginRequired: z.ZodOptional<z.ZodString>;
9559
- /**
9560
- * Add-to-position only: the existing position's CURRENT liquidation price. It
9561
- * will move once the order fills (surfaced as context, not a post-trade estimate).
9562
- */
9563
- liquidationPx: z.ZodOptional<z.ZodString>;
9564
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
9565
- avgPx: z.ZodOptional<z.ZodString>;
9566
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
9567
- totalSz: z.ZodOptional<z.ZodString>;
9568
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
9569
- oid: z.ZodOptional<z.ZodNumber>;
9570
8988
  }, "strip", z.ZodTypeAny, {
9571
8989
  nonce: number;
9572
8990
  action: "perpetualsOrder";
@@ -9583,14 +9001,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9583
9001
  type: "cross" | "isolated";
9584
9002
  value: number;
9585
9003
  } | undefined;
9586
- slippage?: number | undefined;
9587
- limitPx?: string | undefined;
9588
- estFeeUsd?: string | undefined;
9589
- marginRequired?: string | undefined;
9590
- liquidationPx?: string | undefined;
9591
- avgPx?: string | undefined;
9592
- totalSz?: string | undefined;
9593
- oid?: number | undefined;
9594
9004
  }, {
9595
9005
  nonce: number;
9596
9006
  action: "perpetualsOrder";
@@ -9607,14 +9017,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9607
9017
  type: "cross" | "isolated";
9608
9018
  value: number;
9609
9019
  } | undefined;
9610
- slippage?: number | undefined;
9611
- limitPx?: string | undefined;
9612
- estFeeUsd?: string | undefined;
9613
- marginRequired?: string | undefined;
9614
- liquidationPx?: string | undefined;
9615
- avgPx?: string | undefined;
9616
- totalSz?: string | undefined;
9617
- oid?: number | undefined;
9618
9020
  }>, z.ZodObject<{
9619
9021
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
9620
9022
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -9632,17 +9034,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9632
9034
  type: "cross" | "isolated";
9633
9035
  value: number;
9634
9036
  }>;
9635
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
9636
- maxLeverage: z.ZodOptional<z.ZodNumber>;
9637
- /**
9638
- * Present only when a position already exists for `coin`: the position's CURRENT
9639
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
9640
- */
9641
- marginUsed: z.ZodOptional<z.ZodString>;
9642
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
9643
- liquidationPx: z.ZodOptional<z.ZodString>;
9644
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
9645
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
9646
9037
  }, "strip", z.ZodTypeAny, {
9647
9038
  nonce: number;
9648
9039
  action: "perpetualsUpdateLeverage";
@@ -9654,10 +9045,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9654
9045
  value: number;
9655
9046
  };
9656
9047
  unsignedAction?: unknown;
9657
- liquidationPx?: string | undefined;
9658
- maxLeverage?: number | undefined;
9659
- marginUsed?: string | undefined;
9660
- projectedMarginUsd?: string | undefined;
9661
9048
  }, {
9662
9049
  nonce: number;
9663
9050
  action: "perpetualsUpdateLeverage";
@@ -9669,10 +9056,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9669
9056
  value: number;
9670
9057
  };
9671
9058
  unsignedAction?: unknown;
9672
- liquidationPx?: string | undefined;
9673
- maxLeverage?: number | undefined;
9674
- marginUsed?: string | undefined;
9675
- projectedMarginUsd?: string | undefined;
9676
9059
  }>, z.ZodObject<{
9677
9060
  action: z.ZodLiteral<"perpetualsClosePosition">;
9678
9061
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -9684,19 +9067,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9684
9067
  side: z.ZodEnum<["buy", "sell"]>;
9685
9068
  markPx: z.ZodString;
9686
9069
  reduceOnly: z.ZodLiteral<true>;
9687
- /**
9688
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
9689
- * build time (the relay close response carries no closedPnl). Signed (+/-).
9690
- */
9691
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
9692
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
9693
- entryPx: z.ZodOptional<z.ZodString>;
9694
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
9695
- avgPx: z.ZodOptional<z.ZodString>;
9696
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
9697
- totalSz: z.ZodOptional<z.ZodString>;
9698
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
9699
- oid: z.ZodOptional<z.ZodNumber>;
9700
9070
  }, "strip", z.ZodTypeAny, {
9701
9071
  nonce: number;
9702
9072
  action: "perpetualsClosePosition";
@@ -9708,11 +9078,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9708
9078
  markPx: string;
9709
9079
  reduceOnly: true;
9710
9080
  unsignedAction?: unknown;
9711
- avgPx?: string | undefined;
9712
- totalSz?: string | undefined;
9713
- oid?: number | undefined;
9714
- estimatedPnlUsd?: string | undefined;
9715
- entryPx?: string | undefined;
9716
9081
  }, {
9717
9082
  nonce: number;
9718
9083
  action: "perpetualsClosePosition";
@@ -9724,11 +9089,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9724
9089
  markPx: string;
9725
9090
  reduceOnly: true;
9726
9091
  unsignedAction?: unknown;
9727
- avgPx?: string | undefined;
9728
- totalSz?: string | undefined;
9729
- oid?: number | undefined;
9730
- estimatedPnlUsd?: string | undefined;
9731
- entryPx?: string | undefined;
9732
9092
  }>, z.ZodObject<{
9733
9093
  action: z.ZodLiteral<"hyperliquidDeposit">;
9734
9094
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -9932,14 +9292,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9932
9292
  type: "cross" | "isolated";
9933
9293
  value: number;
9934
9294
  } | undefined;
9935
- slippage?: number | undefined;
9936
- limitPx?: string | undefined;
9937
- estFeeUsd?: string | undefined;
9938
- marginRequired?: string | undefined;
9939
- liquidationPx?: string | undefined;
9940
- avgPx?: string | undefined;
9941
- totalSz?: string | undefined;
9942
- oid?: number | undefined;
9943
9295
  } | {
9944
9296
  nonce: number;
9945
9297
  action: "perpetualsUpdateLeverage";
@@ -9951,10 +9303,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9951
9303
  value: number;
9952
9304
  };
9953
9305
  unsignedAction?: unknown;
9954
- liquidationPx?: string | undefined;
9955
- maxLeverage?: number | undefined;
9956
- marginUsed?: string | undefined;
9957
- projectedMarginUsd?: string | undefined;
9958
9306
  } | {
9959
9307
  nonce: number;
9960
9308
  action: "perpetualsClosePosition";
@@ -9966,11 +9314,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
9966
9314
  markPx: string;
9967
9315
  reduceOnly: true;
9968
9316
  unsignedAction?: unknown;
9969
- avgPx?: string | undefined;
9970
- totalSz?: string | undefined;
9971
- oid?: number | undefined;
9972
- estimatedPnlUsd?: string | undefined;
9973
- entryPx?: string | undefined;
9974
9317
  } | {
9975
9318
  toAddress: string;
9976
9319
  chainId: number;
@@ -10128,14 +9471,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
10128
9471
  type: "cross" | "isolated";
10129
9472
  value: number;
10130
9473
  } | undefined;
10131
- slippage?: number | undefined;
10132
- limitPx?: string | undefined;
10133
- estFeeUsd?: string | undefined;
10134
- marginRequired?: string | undefined;
10135
- liquidationPx?: string | undefined;
10136
- avgPx?: string | undefined;
10137
- totalSz?: string | undefined;
10138
- oid?: number | undefined;
10139
9474
  } | {
10140
9475
  nonce: number;
10141
9476
  action: "perpetualsUpdateLeverage";
@@ -10147,10 +9482,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
10147
9482
  value: number;
10148
9483
  };
10149
9484
  unsignedAction?: unknown;
10150
- liquidationPx?: string | undefined;
10151
- maxLeverage?: number | undefined;
10152
- marginUsed?: string | undefined;
10153
- projectedMarginUsd?: string | undefined;
10154
9485
  } | {
10155
9486
  nonce: number;
10156
9487
  action: "perpetualsClosePosition";
@@ -10162,11 +9493,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
10162
9493
  markPx: string;
10163
9494
  reduceOnly: true;
10164
9495
  unsignedAction?: unknown;
10165
- avgPx?: string | undefined;
10166
- totalSz?: string | undefined;
10167
- oid?: number | undefined;
10168
- estimatedPnlUsd?: string | undefined;
10169
- entryPx?: string | undefined;
10170
9496
  } | {
10171
9497
  toAddress: string;
10172
9498
  chainId: number;
@@ -11997,32 +11323,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
11997
11323
  value: number;
11998
11324
  }>>;
11999
11325
  reduceOnly: z.ZodBoolean;
12000
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
12001
- slippage: z.ZodOptional<z.ZodNumber>;
12002
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
12003
- limitPx: z.ZodOptional<z.ZodString>;
12004
- /**
12005
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
12006
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
12007
- */
12008
- estFeeUsd: z.ZodOptional<z.ZodString>;
12009
- /**
12010
- * Add-to-position only (a position already exists for `coin`): incremental USD
12011
- * margin this order requires at the position's current leverage. Omitted for a
12012
- * brand-new position, whose leverage can't be read until the position exists.
12013
- */
12014
- marginRequired: z.ZodOptional<z.ZodString>;
12015
- /**
12016
- * Add-to-position only: the existing position's CURRENT liquidation price. It
12017
- * will move once the order fills (surfaced as context, not a post-trade estimate).
12018
- */
12019
- liquidationPx: z.ZodOptional<z.ZodString>;
12020
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
12021
- avgPx: z.ZodOptional<z.ZodString>;
12022
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
12023
- totalSz: z.ZodOptional<z.ZodString>;
12024
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
12025
- oid: z.ZodOptional<z.ZodNumber>;
12026
11326
  }, "strip", z.ZodTypeAny, {
12027
11327
  nonce: number;
12028
11328
  action: "perpetualsOrder";
@@ -12039,14 +11339,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12039
11339
  type: "cross" | "isolated";
12040
11340
  value: number;
12041
11341
  } | undefined;
12042
- slippage?: number | undefined;
12043
- limitPx?: string | undefined;
12044
- estFeeUsd?: string | undefined;
12045
- marginRequired?: string | undefined;
12046
- liquidationPx?: string | undefined;
12047
- avgPx?: string | undefined;
12048
- totalSz?: string | undefined;
12049
- oid?: number | undefined;
12050
11342
  }, {
12051
11343
  nonce: number;
12052
11344
  action: "perpetualsOrder";
@@ -12063,14 +11355,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12063
11355
  type: "cross" | "isolated";
12064
11356
  value: number;
12065
11357
  } | undefined;
12066
- slippage?: number | undefined;
12067
- limitPx?: string | undefined;
12068
- estFeeUsd?: string | undefined;
12069
- marginRequired?: string | undefined;
12070
- liquidationPx?: string | undefined;
12071
- avgPx?: string | undefined;
12072
- totalSz?: string | undefined;
12073
- oid?: number | undefined;
12074
11358
  }>, z.ZodObject<{
12075
11359
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
12076
11360
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -12088,17 +11372,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12088
11372
  type: "cross" | "isolated";
12089
11373
  value: number;
12090
11374
  }>;
12091
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
12092
- maxLeverage: z.ZodOptional<z.ZodNumber>;
12093
- /**
12094
- * Present only when a position already exists for `coin`: the position's CURRENT
12095
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
12096
- */
12097
- marginUsed: z.ZodOptional<z.ZodString>;
12098
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
12099
- liquidationPx: z.ZodOptional<z.ZodString>;
12100
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
12101
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
12102
11375
  }, "strip", z.ZodTypeAny, {
12103
11376
  nonce: number;
12104
11377
  action: "perpetualsUpdateLeverage";
@@ -12110,10 +11383,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12110
11383
  value: number;
12111
11384
  };
12112
11385
  unsignedAction?: unknown;
12113
- liquidationPx?: string | undefined;
12114
- maxLeverage?: number | undefined;
12115
- marginUsed?: string | undefined;
12116
- projectedMarginUsd?: string | undefined;
12117
11386
  }, {
12118
11387
  nonce: number;
12119
11388
  action: "perpetualsUpdateLeverage";
@@ -12125,10 +11394,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12125
11394
  value: number;
12126
11395
  };
12127
11396
  unsignedAction?: unknown;
12128
- liquidationPx?: string | undefined;
12129
- maxLeverage?: number | undefined;
12130
- marginUsed?: string | undefined;
12131
- projectedMarginUsd?: string | undefined;
12132
11397
  }>, z.ZodObject<{
12133
11398
  action: z.ZodLiteral<"perpetualsClosePosition">;
12134
11399
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -12140,19 +11405,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12140
11405
  side: z.ZodEnum<["buy", "sell"]>;
12141
11406
  markPx: z.ZodString;
12142
11407
  reduceOnly: z.ZodLiteral<true>;
12143
- /**
12144
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
12145
- * build time (the relay close response carries no closedPnl). Signed (+/-).
12146
- */
12147
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
12148
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
12149
- entryPx: z.ZodOptional<z.ZodString>;
12150
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
12151
- avgPx: z.ZodOptional<z.ZodString>;
12152
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
12153
- totalSz: z.ZodOptional<z.ZodString>;
12154
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
12155
- oid: z.ZodOptional<z.ZodNumber>;
12156
11408
  }, "strip", z.ZodTypeAny, {
12157
11409
  nonce: number;
12158
11410
  action: "perpetualsClosePosition";
@@ -12164,11 +11416,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12164
11416
  markPx: string;
12165
11417
  reduceOnly: true;
12166
11418
  unsignedAction?: unknown;
12167
- avgPx?: string | undefined;
12168
- totalSz?: string | undefined;
12169
- oid?: number | undefined;
12170
- estimatedPnlUsd?: string | undefined;
12171
- entryPx?: string | undefined;
12172
11419
  }, {
12173
11420
  nonce: number;
12174
11421
  action: "perpetualsClosePosition";
@@ -12180,11 +11427,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12180
11427
  markPx: string;
12181
11428
  reduceOnly: true;
12182
11429
  unsignedAction?: unknown;
12183
- avgPx?: string | undefined;
12184
- totalSz?: string | undefined;
12185
- oid?: number | undefined;
12186
- estimatedPnlUsd?: string | undefined;
12187
- entryPx?: string | undefined;
12188
11430
  }>, z.ZodObject<{
12189
11431
  action: z.ZodLiteral<"hyperliquidDeposit">;
12190
11432
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -12579,14 +11821,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12579
11821
  type: "cross" | "isolated";
12580
11822
  value: number;
12581
11823
  } | undefined;
12582
- slippage?: number | undefined;
12583
- limitPx?: string | undefined;
12584
- estFeeUsd?: string | undefined;
12585
- marginRequired?: string | undefined;
12586
- liquidationPx?: string | undefined;
12587
- avgPx?: string | undefined;
12588
- totalSz?: string | undefined;
12589
- oid?: number | undefined;
12590
11824
  } | {
12591
11825
  nonce: number;
12592
11826
  action: "perpetualsUpdateLeverage";
@@ -12598,10 +11832,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12598
11832
  value: number;
12599
11833
  };
12600
11834
  unsignedAction?: unknown;
12601
- liquidationPx?: string | undefined;
12602
- maxLeverage?: number | undefined;
12603
- marginUsed?: string | undefined;
12604
- projectedMarginUsd?: string | undefined;
12605
11835
  } | {
12606
11836
  nonce: number;
12607
11837
  action: "perpetualsClosePosition";
@@ -12613,11 +11843,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12613
11843
  markPx: string;
12614
11844
  reduceOnly: true;
12615
11845
  unsignedAction?: unknown;
12616
- avgPx?: string | undefined;
12617
- totalSz?: string | undefined;
12618
- oid?: number | undefined;
12619
- estimatedPnlUsd?: string | undefined;
12620
- entryPx?: string | undefined;
12621
11846
  } | {
12622
11847
  toAddress: string;
12623
11848
  chainId: number;
@@ -12966,14 +12191,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12966
12191
  type: "cross" | "isolated";
12967
12192
  value: number;
12968
12193
  } | undefined;
12969
- slippage?: number | undefined;
12970
- limitPx?: string | undefined;
12971
- estFeeUsd?: string | undefined;
12972
- marginRequired?: string | undefined;
12973
- liquidationPx?: string | undefined;
12974
- avgPx?: string | undefined;
12975
- totalSz?: string | undefined;
12976
- oid?: number | undefined;
12977
12194
  } | {
12978
12195
  nonce: number;
12979
12196
  action: "perpetualsUpdateLeverage";
@@ -12985,10 +12202,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
12985
12202
  value: number;
12986
12203
  };
12987
12204
  unsignedAction?: unknown;
12988
- liquidationPx?: string | undefined;
12989
- maxLeverage?: number | undefined;
12990
- marginUsed?: string | undefined;
12991
- projectedMarginUsd?: string | undefined;
12992
12205
  } | {
12993
12206
  nonce: number;
12994
12207
  action: "perpetualsClosePosition";
@@ -13000,11 +12213,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13000
12213
  markPx: string;
13001
12214
  reduceOnly: true;
13002
12215
  unsignedAction?: unknown;
13003
- avgPx?: string | undefined;
13004
- totalSz?: string | undefined;
13005
- oid?: number | undefined;
13006
- estimatedPnlUsd?: string | undefined;
13007
- entryPx?: string | undefined;
13008
12216
  } | {
13009
12217
  toAddress: string;
13010
12218
  chainId: number;
@@ -13453,32 +12661,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13453
12661
  value: number;
13454
12662
  }>>;
13455
12663
  reduceOnly: z.ZodBoolean;
13456
- /** IOC slippage tolerance applied to the marketable limit price (e.g. 0.05 = 5%). */
13457
- slippage: z.ZodOptional<z.ZodNumber>;
13458
- /** Marketable IOC limit price (mark ± slippage) the order is actually priced at. */
13459
- limitPx: z.ZodOptional<z.ZodString>;
13460
- /**
13461
- * Estimated taker fee in USD (base taker rate × effective notional). Always a
13462
- * taker order on Hyperliquid (market-style IOC); may be lower at higher VIP tiers.
13463
- */
13464
- estFeeUsd: z.ZodOptional<z.ZodString>;
13465
- /**
13466
- * Add-to-position only (a position already exists for `coin`): incremental USD
13467
- * margin this order requires at the position's current leverage. Omitted for a
13468
- * brand-new position, whose leverage can't be read until the position exists.
13469
- */
13470
- marginRequired: z.ZodOptional<z.ZodString>;
13471
- /**
13472
- * Add-to-position only: the existing position's CURRENT liquidation price. It
13473
- * will move once the order fills (surfaced as context, not a post-trade estimate).
13474
- */
13475
- liquidationPx: z.ZodOptional<z.ZodString>;
13476
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
13477
- avgPx: z.ZodOptional<z.ZodString>;
13478
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
13479
- totalSz: z.ZodOptional<z.ZodString>;
13480
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
13481
- oid: z.ZodOptional<z.ZodNumber>;
13482
12664
  }, "strip", z.ZodTypeAny, {
13483
12665
  nonce: number;
13484
12666
  action: "perpetualsOrder";
@@ -13495,14 +12677,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13495
12677
  type: "cross" | "isolated";
13496
12678
  value: number;
13497
12679
  } | undefined;
13498
- slippage?: number | undefined;
13499
- limitPx?: string | undefined;
13500
- estFeeUsd?: string | undefined;
13501
- marginRequired?: string | undefined;
13502
- liquidationPx?: string | undefined;
13503
- avgPx?: string | undefined;
13504
- totalSz?: string | undefined;
13505
- oid?: number | undefined;
13506
12680
  }, {
13507
12681
  nonce: number;
13508
12682
  action: "perpetualsOrder";
@@ -13519,14 +12693,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13519
12693
  type: "cross" | "isolated";
13520
12694
  value: number;
13521
12695
  } | undefined;
13522
- slippage?: number | undefined;
13523
- limitPx?: string | undefined;
13524
- estFeeUsd?: string | undefined;
13525
- marginRequired?: string | undefined;
13526
- liquidationPx?: string | undefined;
13527
- avgPx?: string | undefined;
13528
- totalSz?: string | undefined;
13529
- oid?: number | undefined;
13530
12696
  }>, z.ZodObject<{
13531
12697
  action: z.ZodLiteral<"perpetualsUpdateLeverage">;
13532
12698
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -13544,17 +12710,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13544
12710
  type: "cross" | "isolated";
13545
12711
  value: number;
13546
12712
  }>;
13547
- /** The asset's maximum allowed leverage (e.g. 25 → "max 25×"). */
13548
- maxLeverage: z.ZodOptional<z.ZodNumber>;
13549
- /**
13550
- * Present only when a position already exists for `coin`: the position's CURRENT
13551
- * margin in USD — paired with `projectedMarginUsd` for a before→after display.
13552
- */
13553
- marginUsed: z.ZodOptional<z.ZodString>;
13554
- /** Present only when a position exists: the position's CURRENT liquidation price (it will move). */
13555
- liquidationPx: z.ZodOptional<z.ZodString>;
13556
- /** Present only when a position exists: projected new margin = position notional ÷ new leverage. */
13557
- projectedMarginUsd: z.ZodOptional<z.ZodString>;
13558
12713
  }, "strip", z.ZodTypeAny, {
13559
12714
  nonce: number;
13560
12715
  action: "perpetualsUpdateLeverage";
@@ -13566,10 +12721,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13566
12721
  value: number;
13567
12722
  };
13568
12723
  unsignedAction?: unknown;
13569
- liquidationPx?: string | undefined;
13570
- maxLeverage?: number | undefined;
13571
- marginUsed?: string | undefined;
13572
- projectedMarginUsd?: string | undefined;
13573
12724
  }, {
13574
12725
  nonce: number;
13575
12726
  action: "perpetualsUpdateLeverage";
@@ -13581,10 +12732,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13581
12732
  value: number;
13582
12733
  };
13583
12734
  unsignedAction?: unknown;
13584
- liquidationPx?: string | undefined;
13585
- maxLeverage?: number | undefined;
13586
- marginUsed?: string | undefined;
13587
- projectedMarginUsd?: string | undefined;
13588
12735
  }>, z.ZodObject<{
13589
12736
  action: z.ZodLiteral<"perpetualsClosePosition">;
13590
12737
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -13596,19 +12743,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13596
12743
  side: z.ZodEnum<["buy", "sell"]>;
13597
12744
  markPx: z.ZodString;
13598
12745
  reduceOnly: z.ZodLiteral<true>;
13599
- /**
13600
- * To-be-realized PnL in USD, sourced from the live position's unrealized PnL at
13601
- * build time (the relay close response carries no closedPnl). Signed (+/-).
13602
- */
13603
- estimatedPnlUsd: z.ZodOptional<z.ZodString>;
13604
- /** The closing position's entry price, for "Closing long X · entry $Y" context. */
13605
- entryPx: z.ZodOptional<z.ZodString>;
13606
- /** Fill detail, merged in post-confirm by the relay continuation: average fill price. */
13607
- avgPx: z.ZodOptional<z.ZodString>;
13608
- /** Fill detail, merged in post-confirm by the relay continuation: filled base size. */
13609
- totalSz: z.ZodOptional<z.ZodString>;
13610
- /** Fill detail, merged in post-confirm by the relay continuation: exchange order id. */
13611
- oid: z.ZodOptional<z.ZodNumber>;
13612
12746
  }, "strip", z.ZodTypeAny, {
13613
12747
  nonce: number;
13614
12748
  action: "perpetualsClosePosition";
@@ -13620,11 +12754,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13620
12754
  markPx: string;
13621
12755
  reduceOnly: true;
13622
12756
  unsignedAction?: unknown;
13623
- avgPx?: string | undefined;
13624
- totalSz?: string | undefined;
13625
- oid?: number | undefined;
13626
- estimatedPnlUsd?: string | undefined;
13627
- entryPx?: string | undefined;
13628
12757
  }, {
13629
12758
  nonce: number;
13630
12759
  action: "perpetualsClosePosition";
@@ -13636,11 +12765,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13636
12765
  markPx: string;
13637
12766
  reduceOnly: true;
13638
12767
  unsignedAction?: unknown;
13639
- avgPx?: string | undefined;
13640
- totalSz?: string | undefined;
13641
- oid?: number | undefined;
13642
- estimatedPnlUsd?: string | undefined;
13643
- entryPx?: string | undefined;
13644
12768
  }>, z.ZodObject<{
13645
12769
  action: z.ZodLiteral<"hyperliquidDeposit">;
13646
12770
  network: z.ZodEnum<["mainnet", "testnet"]>;
@@ -13846,14 +12970,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13846
12970
  type: "cross" | "isolated";
13847
12971
  value: number;
13848
12972
  } | undefined;
13849
- slippage?: number | undefined;
13850
- limitPx?: string | undefined;
13851
- estFeeUsd?: string | undefined;
13852
- marginRequired?: string | undefined;
13853
- liquidationPx?: string | undefined;
13854
- avgPx?: string | undefined;
13855
- totalSz?: string | undefined;
13856
- oid?: number | undefined;
13857
12973
  } | {
13858
12974
  nonce: number;
13859
12975
  action: "perpetualsUpdateLeverage";
@@ -13865,10 +12981,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13865
12981
  value: number;
13866
12982
  };
13867
12983
  unsignedAction?: unknown;
13868
- liquidationPx?: string | undefined;
13869
- maxLeverage?: number | undefined;
13870
- marginUsed?: string | undefined;
13871
- projectedMarginUsd?: string | undefined;
13872
12984
  } | {
13873
12985
  nonce: number;
13874
12986
  action: "perpetualsClosePosition";
@@ -13880,11 +12992,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
13880
12992
  markPx: string;
13881
12993
  reduceOnly: true;
13882
12994
  unsignedAction?: unknown;
13883
- avgPx?: string | undefined;
13884
- totalSz?: string | undefined;
13885
- oid?: number | undefined;
13886
- estimatedPnlUsd?: string | undefined;
13887
- entryPx?: string | undefined;
13888
12995
  } | {
13889
12996
  toAddress: string;
13890
12997
  chainId: number;
@@ -14042,14 +13149,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14042
13149
  type: "cross" | "isolated";
14043
13150
  value: number;
14044
13151
  } | undefined;
14045
- slippage?: number | undefined;
14046
- limitPx?: string | undefined;
14047
- estFeeUsd?: string | undefined;
14048
- marginRequired?: string | undefined;
14049
- liquidationPx?: string | undefined;
14050
- avgPx?: string | undefined;
14051
- totalSz?: string | undefined;
14052
- oid?: number | undefined;
14053
13152
  } | {
14054
13153
  nonce: number;
14055
13154
  action: "perpetualsUpdateLeverage";
@@ -14061,10 +13160,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14061
13160
  value: number;
14062
13161
  };
14063
13162
  unsignedAction?: unknown;
14064
- liquidationPx?: string | undefined;
14065
- maxLeverage?: number | undefined;
14066
- marginUsed?: string | undefined;
14067
- projectedMarginUsd?: string | undefined;
14068
13163
  } | {
14069
13164
  nonce: number;
14070
13165
  action: "perpetualsClosePosition";
@@ -14076,11 +13171,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14076
13171
  markPx: string;
14077
13172
  reduceOnly: true;
14078
13173
  unsignedAction?: unknown;
14079
- avgPx?: string | undefined;
14080
- totalSz?: string | undefined;
14081
- oid?: number | undefined;
14082
- estimatedPnlUsd?: string | undefined;
14083
- entryPx?: string | undefined;
14084
13174
  } | {
14085
13175
  toAddress: string;
14086
13176
  chainId: number;
@@ -14429,14 +13519,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14429
13519
  type: "cross" | "isolated";
14430
13520
  value: number;
14431
13521
  } | undefined;
14432
- slippage?: number | undefined;
14433
- limitPx?: string | undefined;
14434
- estFeeUsd?: string | undefined;
14435
- marginRequired?: string | undefined;
14436
- liquidationPx?: string | undefined;
14437
- avgPx?: string | undefined;
14438
- totalSz?: string | undefined;
14439
- oid?: number | undefined;
14440
13522
  } | {
14441
13523
  nonce: number;
14442
13524
  action: "perpetualsUpdateLeverage";
@@ -14448,10 +13530,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14448
13530
  value: number;
14449
13531
  };
14450
13532
  unsignedAction?: unknown;
14451
- liquidationPx?: string | undefined;
14452
- maxLeverage?: number | undefined;
14453
- marginUsed?: string | undefined;
14454
- projectedMarginUsd?: string | undefined;
14455
13533
  } | {
14456
13534
  nonce: number;
14457
13535
  action: "perpetualsClosePosition";
@@ -14463,11 +13541,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14463
13541
  markPx: string;
14464
13542
  reduceOnly: true;
14465
13543
  unsignedAction?: unknown;
14466
- avgPx?: string | undefined;
14467
- totalSz?: string | undefined;
14468
- oid?: number | undefined;
14469
- estimatedPnlUsd?: string | undefined;
14470
- entryPx?: string | undefined;
14471
13544
  } | {
14472
13545
  toAddress: string;
14473
13546
  chainId: number;
@@ -14616,14 +13689,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14616
13689
  type: "cross" | "isolated";
14617
13690
  value: number;
14618
13691
  } | undefined;
14619
- slippage?: number | undefined;
14620
- limitPx?: string | undefined;
14621
- estFeeUsd?: string | undefined;
14622
- marginRequired?: string | undefined;
14623
- liquidationPx?: string | undefined;
14624
- avgPx?: string | undefined;
14625
- totalSz?: string | undefined;
14626
- oid?: number | undefined;
14627
13692
  } | {
14628
13693
  nonce: number;
14629
13694
  action: "perpetualsUpdateLeverage";
@@ -14635,10 +13700,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14635
13700
  value: number;
14636
13701
  };
14637
13702
  unsignedAction?: unknown;
14638
- liquidationPx?: string | undefined;
14639
- maxLeverage?: number | undefined;
14640
- marginUsed?: string | undefined;
14641
- projectedMarginUsd?: string | undefined;
14642
13703
  } | {
14643
13704
  nonce: number;
14644
13705
  action: "perpetualsClosePosition";
@@ -14650,11 +13711,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14650
13711
  markPx: string;
14651
13712
  reduceOnly: true;
14652
13713
  unsignedAction?: unknown;
14653
- avgPx?: string | undefined;
14654
- totalSz?: string | undefined;
14655
- oid?: number | undefined;
14656
- estimatedPnlUsd?: string | undefined;
14657
- entryPx?: string | undefined;
14658
13714
  } | {
14659
13715
  toAddress: string;
14660
13716
  chainId: number;
@@ -14814,14 +13870,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14814
13870
  type: "cross" | "isolated";
14815
13871
  value: number;
14816
13872
  } | undefined;
14817
- slippage?: number | undefined;
14818
- limitPx?: string | undefined;
14819
- estFeeUsd?: string | undefined;
14820
- marginRequired?: string | undefined;
14821
- liquidationPx?: string | undefined;
14822
- avgPx?: string | undefined;
14823
- totalSz?: string | undefined;
14824
- oid?: number | undefined;
14825
13873
  } | {
14826
13874
  nonce: number;
14827
13875
  action: "perpetualsUpdateLeverage";
@@ -14833,10 +13881,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14833
13881
  value: number;
14834
13882
  };
14835
13883
  unsignedAction?: unknown;
14836
- liquidationPx?: string | undefined;
14837
- maxLeverage?: number | undefined;
14838
- marginUsed?: string | undefined;
14839
- projectedMarginUsd?: string | undefined;
14840
13884
  } | {
14841
13885
  nonce: number;
14842
13886
  action: "perpetualsClosePosition";
@@ -14848,11 +13892,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
14848
13892
  markPx: string;
14849
13893
  reduceOnly: true;
14850
13894
  unsignedAction?: unknown;
14851
- avgPx?: string | undefined;
14852
- totalSz?: string | undefined;
14853
- oid?: number | undefined;
14854
- estimatedPnlUsd?: string | undefined;
14855
- entryPx?: string | undefined;
14856
13895
  } | {
14857
13896
  toAddress: string;
14858
13897
  chainId: number;
@@ -15010,14 +14049,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15010
14049
  type: "cross" | "isolated";
15011
14050
  value: number;
15012
14051
  } | undefined;
15013
- slippage?: number | undefined;
15014
- limitPx?: string | undefined;
15015
- estFeeUsd?: string | undefined;
15016
- marginRequired?: string | undefined;
15017
- liquidationPx?: string | undefined;
15018
- avgPx?: string | undefined;
15019
- totalSz?: string | undefined;
15020
- oid?: number | undefined;
15021
14052
  } | {
15022
14053
  nonce: number;
15023
14054
  action: "perpetualsUpdateLeverage";
@@ -15029,10 +14060,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15029
14060
  value: number;
15030
14061
  };
15031
14062
  unsignedAction?: unknown;
15032
- liquidationPx?: string | undefined;
15033
- maxLeverage?: number | undefined;
15034
- marginUsed?: string | undefined;
15035
- projectedMarginUsd?: string | undefined;
15036
14063
  } | {
15037
14064
  nonce: number;
15038
14065
  action: "perpetualsClosePosition";
@@ -15044,11 +14071,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15044
14071
  markPx: string;
15045
14072
  reduceOnly: true;
15046
14073
  unsignedAction?: unknown;
15047
- avgPx?: string | undefined;
15048
- totalSz?: string | undefined;
15049
- oid?: number | undefined;
15050
- estimatedPnlUsd?: string | undefined;
15051
- entryPx?: string | undefined;
15052
14074
  } | {
15053
14075
  toAddress: string;
15054
14076
  chainId: number;
@@ -15397,14 +14419,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15397
14419
  type: "cross" | "isolated";
15398
14420
  value: number;
15399
14421
  } | undefined;
15400
- slippage?: number | undefined;
15401
- limitPx?: string | undefined;
15402
- estFeeUsd?: string | undefined;
15403
- marginRequired?: string | undefined;
15404
- liquidationPx?: string | undefined;
15405
- avgPx?: string | undefined;
15406
- totalSz?: string | undefined;
15407
- oid?: number | undefined;
15408
14422
  } | {
15409
14423
  nonce: number;
15410
14424
  action: "perpetualsUpdateLeverage";
@@ -15416,10 +14430,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15416
14430
  value: number;
15417
14431
  };
15418
14432
  unsignedAction?: unknown;
15419
- liquidationPx?: string | undefined;
15420
- maxLeverage?: number | undefined;
15421
- marginUsed?: string | undefined;
15422
- projectedMarginUsd?: string | undefined;
15423
14433
  } | {
15424
14434
  nonce: number;
15425
14435
  action: "perpetualsClosePosition";
@@ -15431,11 +14441,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15431
14441
  markPx: string;
15432
14442
  reduceOnly: true;
15433
14443
  unsignedAction?: unknown;
15434
- avgPx?: string | undefined;
15435
- totalSz?: string | undefined;
15436
- oid?: number | undefined;
15437
- estimatedPnlUsd?: string | undefined;
15438
- entryPx?: string | undefined;
15439
14444
  } | {
15440
14445
  toAddress: string;
15441
14446
  chainId: number;
@@ -15584,14 +14589,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15584
14589
  type: "cross" | "isolated";
15585
14590
  value: number;
15586
14591
  } | undefined;
15587
- slippage?: number | undefined;
15588
- limitPx?: string | undefined;
15589
- estFeeUsd?: string | undefined;
15590
- marginRequired?: string | undefined;
15591
- liquidationPx?: string | undefined;
15592
- avgPx?: string | undefined;
15593
- totalSz?: string | undefined;
15594
- oid?: number | undefined;
15595
14592
  } | {
15596
14593
  nonce: number;
15597
14594
  action: "perpetualsUpdateLeverage";
@@ -15603,10 +14600,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15603
14600
  value: number;
15604
14601
  };
15605
14602
  unsignedAction?: unknown;
15606
- liquidationPx?: string | undefined;
15607
- maxLeverage?: number | undefined;
15608
- marginUsed?: string | undefined;
15609
- projectedMarginUsd?: string | undefined;
15610
14603
  } | {
15611
14604
  nonce: number;
15612
14605
  action: "perpetualsClosePosition";
@@ -15618,11 +14611,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
15618
14611
  markPx: string;
15619
14612
  reduceOnly: true;
15620
14613
  unsignedAction?: unknown;
15621
- avgPx?: string | undefined;
15622
- totalSz?: string | undefined;
15623
- oid?: number | undefined;
15624
- estimatedPnlUsd?: string | undefined;
15625
- entryPx?: string | undefined;
15626
14614
  } | {
15627
14615
  toAddress: string;
15628
14616
  chainId: number;
@@ -16205,14 +15193,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16205
15193
  type: "cross" | "isolated";
16206
15194
  value: number;
16207
15195
  } | undefined;
16208
- slippage?: number | undefined;
16209
- limitPx?: string | undefined;
16210
- estFeeUsd?: string | undefined;
16211
- marginRequired?: string | undefined;
16212
- liquidationPx?: string | undefined;
16213
- avgPx?: string | undefined;
16214
- totalSz?: string | undefined;
16215
- oid?: number | undefined;
16216
15196
  } | {
16217
15197
  nonce: number;
16218
15198
  action: "perpetualsUpdateLeverage";
@@ -16224,10 +15204,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16224
15204
  value: number;
16225
15205
  };
16226
15206
  unsignedAction?: unknown;
16227
- liquidationPx?: string | undefined;
16228
- maxLeverage?: number | undefined;
16229
- marginUsed?: string | undefined;
16230
- projectedMarginUsd?: string | undefined;
16231
15207
  } | {
16232
15208
  nonce: number;
16233
15209
  action: "perpetualsClosePosition";
@@ -16239,11 +15215,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16239
15215
  markPx: string;
16240
15216
  reduceOnly: true;
16241
15217
  unsignedAction?: unknown;
16242
- avgPx?: string | undefined;
16243
- totalSz?: string | undefined;
16244
- oid?: number | undefined;
16245
- estimatedPnlUsd?: string | undefined;
16246
- entryPx?: string | undefined;
16247
15218
  } | {
16248
15219
  toAddress: string;
16249
15220
  chainId: number;
@@ -16401,14 +15372,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16401
15372
  type: "cross" | "isolated";
16402
15373
  value: number;
16403
15374
  } | undefined;
16404
- slippage?: number | undefined;
16405
- limitPx?: string | undefined;
16406
- estFeeUsd?: string | undefined;
16407
- marginRequired?: string | undefined;
16408
- liquidationPx?: string | undefined;
16409
- avgPx?: string | undefined;
16410
- totalSz?: string | undefined;
16411
- oid?: number | undefined;
16412
15375
  } | {
16413
15376
  nonce: number;
16414
15377
  action: "perpetualsUpdateLeverage";
@@ -16420,10 +15383,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16420
15383
  value: number;
16421
15384
  };
16422
15385
  unsignedAction?: unknown;
16423
- liquidationPx?: string | undefined;
16424
- maxLeverage?: number | undefined;
16425
- marginUsed?: string | undefined;
16426
- projectedMarginUsd?: string | undefined;
16427
15386
  } | {
16428
15387
  nonce: number;
16429
15388
  action: "perpetualsClosePosition";
@@ -16435,11 +15394,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16435
15394
  markPx: string;
16436
15395
  reduceOnly: true;
16437
15396
  unsignedAction?: unknown;
16438
- avgPx?: string | undefined;
16439
- totalSz?: string | undefined;
16440
- oid?: number | undefined;
16441
- estimatedPnlUsd?: string | undefined;
16442
- entryPx?: string | undefined;
16443
15397
  } | {
16444
15398
  toAddress: string;
16445
15399
  chainId: number;
@@ -16788,14 +15742,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16788
15742
  type: "cross" | "isolated";
16789
15743
  value: number;
16790
15744
  } | undefined;
16791
- slippage?: number | undefined;
16792
- limitPx?: string | undefined;
16793
- estFeeUsd?: string | undefined;
16794
- marginRequired?: string | undefined;
16795
- liquidationPx?: string | undefined;
16796
- avgPx?: string | undefined;
16797
- totalSz?: string | undefined;
16798
- oid?: number | undefined;
16799
15745
  } | {
16800
15746
  nonce: number;
16801
15747
  action: "perpetualsUpdateLeverage";
@@ -16807,10 +15753,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16807
15753
  value: number;
16808
15754
  };
16809
15755
  unsignedAction?: unknown;
16810
- liquidationPx?: string | undefined;
16811
- maxLeverage?: number | undefined;
16812
- marginUsed?: string | undefined;
16813
- projectedMarginUsd?: string | undefined;
16814
15756
  } | {
16815
15757
  nonce: number;
16816
15758
  action: "perpetualsClosePosition";
@@ -16822,11 +15764,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16822
15764
  markPx: string;
16823
15765
  reduceOnly: true;
16824
15766
  unsignedAction?: unknown;
16825
- avgPx?: string | undefined;
16826
- totalSz?: string | undefined;
16827
- oid?: number | undefined;
16828
- estimatedPnlUsd?: string | undefined;
16829
- entryPx?: string | undefined;
16830
15767
  } | {
16831
15768
  toAddress: string;
16832
15769
  chainId: number;
@@ -16986,14 +15923,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
16986
15923
  type: "cross" | "isolated";
16987
15924
  value: number;
16988
15925
  } | undefined;
16989
- slippage?: number | undefined;
16990
- limitPx?: string | undefined;
16991
- estFeeUsd?: string | undefined;
16992
- marginRequired?: string | undefined;
16993
- liquidationPx?: string | undefined;
16994
- avgPx?: string | undefined;
16995
- totalSz?: string | undefined;
16996
- oid?: number | undefined;
16997
15926
  } | {
16998
15927
  nonce: number;
16999
15928
  action: "perpetualsUpdateLeverage";
@@ -17005,10 +15934,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17005
15934
  value: number;
17006
15935
  };
17007
15936
  unsignedAction?: unknown;
17008
- liquidationPx?: string | undefined;
17009
- maxLeverage?: number | undefined;
17010
- marginUsed?: string | undefined;
17011
- projectedMarginUsd?: string | undefined;
17012
15937
  } | {
17013
15938
  nonce: number;
17014
15939
  action: "perpetualsClosePosition";
@@ -17020,11 +15945,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17020
15945
  markPx: string;
17021
15946
  reduceOnly: true;
17022
15947
  unsignedAction?: unknown;
17023
- avgPx?: string | undefined;
17024
- totalSz?: string | undefined;
17025
- oid?: number | undefined;
17026
- estimatedPnlUsd?: string | undefined;
17027
- entryPx?: string | undefined;
17028
15948
  } | {
17029
15949
  toAddress: string;
17030
15950
  chainId: number;
@@ -17182,14 +16102,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17182
16102
  type: "cross" | "isolated";
17183
16103
  value: number;
17184
16104
  } | undefined;
17185
- slippage?: number | undefined;
17186
- limitPx?: string | undefined;
17187
- estFeeUsd?: string | undefined;
17188
- marginRequired?: string | undefined;
17189
- liquidationPx?: string | undefined;
17190
- avgPx?: string | undefined;
17191
- totalSz?: string | undefined;
17192
- oid?: number | undefined;
17193
16105
  } | {
17194
16106
  nonce: number;
17195
16107
  action: "perpetualsUpdateLeverage";
@@ -17201,10 +16113,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17201
16113
  value: number;
17202
16114
  };
17203
16115
  unsignedAction?: unknown;
17204
- liquidationPx?: string | undefined;
17205
- maxLeverage?: number | undefined;
17206
- marginUsed?: string | undefined;
17207
- projectedMarginUsd?: string | undefined;
17208
16116
  } | {
17209
16117
  nonce: number;
17210
16118
  action: "perpetualsClosePosition";
@@ -17216,11 +16124,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17216
16124
  markPx: string;
17217
16125
  reduceOnly: true;
17218
16126
  unsignedAction?: unknown;
17219
- avgPx?: string | undefined;
17220
- totalSz?: string | undefined;
17221
- oid?: number | undefined;
17222
- estimatedPnlUsd?: string | undefined;
17223
- entryPx?: string | undefined;
17224
16127
  } | {
17225
16128
  toAddress: string;
17226
16129
  chainId: number;
@@ -17569,14 +16472,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17569
16472
  type: "cross" | "isolated";
17570
16473
  value: number;
17571
16474
  } | undefined;
17572
- slippage?: number | undefined;
17573
- limitPx?: string | undefined;
17574
- estFeeUsd?: string | undefined;
17575
- marginRequired?: string | undefined;
17576
- liquidationPx?: string | undefined;
17577
- avgPx?: string | undefined;
17578
- totalSz?: string | undefined;
17579
- oid?: number | undefined;
17580
16475
  } | {
17581
16476
  nonce: number;
17582
16477
  action: "perpetualsUpdateLeverage";
@@ -17588,10 +16483,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17588
16483
  value: number;
17589
16484
  };
17590
16485
  unsignedAction?: unknown;
17591
- liquidationPx?: string | undefined;
17592
- maxLeverage?: number | undefined;
17593
- marginUsed?: string | undefined;
17594
- projectedMarginUsd?: string | undefined;
17595
16486
  } | {
17596
16487
  nonce: number;
17597
16488
  action: "perpetualsClosePosition";
@@ -17603,11 +16494,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17603
16494
  markPx: string;
17604
16495
  reduceOnly: true;
17605
16496
  unsignedAction?: unknown;
17606
- avgPx?: string | undefined;
17607
- totalSz?: string | undefined;
17608
- oid?: number | undefined;
17609
- estimatedPnlUsd?: string | undefined;
17610
- entryPx?: string | undefined;
17611
16497
  } | {
17612
16498
  toAddress: string;
17613
16499
  chainId: number;
@@ -17756,14 +16642,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17756
16642
  type: "cross" | "isolated";
17757
16643
  value: number;
17758
16644
  } | undefined;
17759
- slippage?: number | undefined;
17760
- limitPx?: string | undefined;
17761
- estFeeUsd?: string | undefined;
17762
- marginRequired?: string | undefined;
17763
- liquidationPx?: string | undefined;
17764
- avgPx?: string | undefined;
17765
- totalSz?: string | undefined;
17766
- oid?: number | undefined;
17767
16645
  } | {
17768
16646
  nonce: number;
17769
16647
  action: "perpetualsUpdateLeverage";
@@ -17775,10 +16653,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17775
16653
  value: number;
17776
16654
  };
17777
16655
  unsignedAction?: unknown;
17778
- liquidationPx?: string | undefined;
17779
- maxLeverage?: number | undefined;
17780
- marginUsed?: string | undefined;
17781
- projectedMarginUsd?: string | undefined;
17782
16656
  } | {
17783
16657
  nonce: number;
17784
16658
  action: "perpetualsClosePosition";
@@ -17790,11 +16664,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
17790
16664
  markPx: string;
17791
16665
  reduceOnly: true;
17792
16666
  unsignedAction?: unknown;
17793
- avgPx?: string | undefined;
17794
- totalSz?: string | undefined;
17795
- oid?: number | undefined;
17796
- estimatedPnlUsd?: string | undefined;
17797
- entryPx?: string | undefined;
17798
16667
  } | {
17799
16668
  toAddress: string;
17800
16669
  chainId: number;
@@ -18027,14 +16896,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18027
16896
  type: "cross" | "isolated";
18028
16897
  value: number;
18029
16898
  } | undefined;
18030
- slippage?: number | undefined;
18031
- limitPx?: string | undefined;
18032
- estFeeUsd?: string | undefined;
18033
- marginRequired?: string | undefined;
18034
- liquidationPx?: string | undefined;
18035
- avgPx?: string | undefined;
18036
- totalSz?: string | undefined;
18037
- oid?: number | undefined;
18038
16899
  } | {
18039
16900
  nonce: number;
18040
16901
  action: "perpetualsUpdateLeverage";
@@ -18046,10 +16907,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18046
16907
  value: number;
18047
16908
  };
18048
16909
  unsignedAction?: unknown;
18049
- liquidationPx?: string | undefined;
18050
- maxLeverage?: number | undefined;
18051
- marginUsed?: string | undefined;
18052
- projectedMarginUsd?: string | undefined;
18053
16910
  } | {
18054
16911
  nonce: number;
18055
16912
  action: "perpetualsClosePosition";
@@ -18061,11 +16918,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18061
16918
  markPx: string;
18062
16919
  reduceOnly: true;
18063
16920
  unsignedAction?: unknown;
18064
- avgPx?: string | undefined;
18065
- totalSz?: string | undefined;
18066
- oid?: number | undefined;
18067
- estimatedPnlUsd?: string | undefined;
18068
- entryPx?: string | undefined;
18069
16921
  } | {
18070
16922
  toAddress: string;
18071
16923
  chainId: number;
@@ -18223,14 +17075,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18223
17075
  type: "cross" | "isolated";
18224
17076
  value: number;
18225
17077
  } | undefined;
18226
- slippage?: number | undefined;
18227
- limitPx?: string | undefined;
18228
- estFeeUsd?: string | undefined;
18229
- marginRequired?: string | undefined;
18230
- liquidationPx?: string | undefined;
18231
- avgPx?: string | undefined;
18232
- totalSz?: string | undefined;
18233
- oid?: number | undefined;
18234
17078
  } | {
18235
17079
  nonce: number;
18236
17080
  action: "perpetualsUpdateLeverage";
@@ -18242,10 +17086,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18242
17086
  value: number;
18243
17087
  };
18244
17088
  unsignedAction?: unknown;
18245
- liquidationPx?: string | undefined;
18246
- maxLeverage?: number | undefined;
18247
- marginUsed?: string | undefined;
18248
- projectedMarginUsd?: string | undefined;
18249
17089
  } | {
18250
17090
  nonce: number;
18251
17091
  action: "perpetualsClosePosition";
@@ -18257,11 +17097,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18257
17097
  markPx: string;
18258
17098
  reduceOnly: true;
18259
17099
  unsignedAction?: unknown;
18260
- avgPx?: string | undefined;
18261
- totalSz?: string | undefined;
18262
- oid?: number | undefined;
18263
- estimatedPnlUsd?: string | undefined;
18264
- entryPx?: string | undefined;
18265
17100
  } | {
18266
17101
  toAddress: string;
18267
17102
  chainId: number;
@@ -18610,14 +17445,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18610
17445
  type: "cross" | "isolated";
18611
17446
  value: number;
18612
17447
  } | undefined;
18613
- slippage?: number | undefined;
18614
- limitPx?: string | undefined;
18615
- estFeeUsd?: string | undefined;
18616
- marginRequired?: string | undefined;
18617
- liquidationPx?: string | undefined;
18618
- avgPx?: string | undefined;
18619
- totalSz?: string | undefined;
18620
- oid?: number | undefined;
18621
17448
  } | {
18622
17449
  nonce: number;
18623
17450
  action: "perpetualsUpdateLeverage";
@@ -18629,10 +17456,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18629
17456
  value: number;
18630
17457
  };
18631
17458
  unsignedAction?: unknown;
18632
- liquidationPx?: string | undefined;
18633
- maxLeverage?: number | undefined;
18634
- marginUsed?: string | undefined;
18635
- projectedMarginUsd?: string | undefined;
18636
17459
  } | {
18637
17460
  nonce: number;
18638
17461
  action: "perpetualsClosePosition";
@@ -18644,11 +17467,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18644
17467
  markPx: string;
18645
17468
  reduceOnly: true;
18646
17469
  unsignedAction?: unknown;
18647
- avgPx?: string | undefined;
18648
- totalSz?: string | undefined;
18649
- oid?: number | undefined;
18650
- estimatedPnlUsd?: string | undefined;
18651
- entryPx?: string | undefined;
18652
17470
  } | {
18653
17471
  toAddress: string;
18654
17472
  chainId: number;
@@ -18808,14 +17626,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18808
17626
  type: "cross" | "isolated";
18809
17627
  value: number;
18810
17628
  } | undefined;
18811
- slippage?: number | undefined;
18812
- limitPx?: string | undefined;
18813
- estFeeUsd?: string | undefined;
18814
- marginRequired?: string | undefined;
18815
- liquidationPx?: string | undefined;
18816
- avgPx?: string | undefined;
18817
- totalSz?: string | undefined;
18818
- oid?: number | undefined;
18819
17629
  } | {
18820
17630
  nonce: number;
18821
17631
  action: "perpetualsUpdateLeverage";
@@ -18827,10 +17637,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18827
17637
  value: number;
18828
17638
  };
18829
17639
  unsignedAction?: unknown;
18830
- liquidationPx?: string | undefined;
18831
- maxLeverage?: number | undefined;
18832
- marginUsed?: string | undefined;
18833
- projectedMarginUsd?: string | undefined;
18834
17640
  } | {
18835
17641
  nonce: number;
18836
17642
  action: "perpetualsClosePosition";
@@ -18842,11 +17648,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
18842
17648
  markPx: string;
18843
17649
  reduceOnly: true;
18844
17650
  unsignedAction?: unknown;
18845
- avgPx?: string | undefined;
18846
- totalSz?: string | undefined;
18847
- oid?: number | undefined;
18848
- estimatedPnlUsd?: string | undefined;
18849
- entryPx?: string | undefined;
18850
17651
  } | {
18851
17652
  toAddress: string;
18852
17653
  chainId: number;
@@ -19004,14 +17805,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19004
17805
  type: "cross" | "isolated";
19005
17806
  value: number;
19006
17807
  } | undefined;
19007
- slippage?: number | undefined;
19008
- limitPx?: string | undefined;
19009
- estFeeUsd?: string | undefined;
19010
- marginRequired?: string | undefined;
19011
- liquidationPx?: string | undefined;
19012
- avgPx?: string | undefined;
19013
- totalSz?: string | undefined;
19014
- oid?: number | undefined;
19015
17808
  } | {
19016
17809
  nonce: number;
19017
17810
  action: "perpetualsUpdateLeverage";
@@ -19023,10 +17816,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19023
17816
  value: number;
19024
17817
  };
19025
17818
  unsignedAction?: unknown;
19026
- liquidationPx?: string | undefined;
19027
- maxLeverage?: number | undefined;
19028
- marginUsed?: string | undefined;
19029
- projectedMarginUsd?: string | undefined;
19030
17819
  } | {
19031
17820
  nonce: number;
19032
17821
  action: "perpetualsClosePosition";
@@ -19038,11 +17827,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19038
17827
  markPx: string;
19039
17828
  reduceOnly: true;
19040
17829
  unsignedAction?: unknown;
19041
- avgPx?: string | undefined;
19042
- totalSz?: string | undefined;
19043
- oid?: number | undefined;
19044
- estimatedPnlUsd?: string | undefined;
19045
- entryPx?: string | undefined;
19046
17830
  } | {
19047
17831
  toAddress: string;
19048
17832
  chainId: number;
@@ -19391,14 +18175,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19391
18175
  type: "cross" | "isolated";
19392
18176
  value: number;
19393
18177
  } | undefined;
19394
- slippage?: number | undefined;
19395
- limitPx?: string | undefined;
19396
- estFeeUsd?: string | undefined;
19397
- marginRequired?: string | undefined;
19398
- liquidationPx?: string | undefined;
19399
- avgPx?: string | undefined;
19400
- totalSz?: string | undefined;
19401
- oid?: number | undefined;
19402
18178
  } | {
19403
18179
  nonce: number;
19404
18180
  action: "perpetualsUpdateLeverage";
@@ -19410,10 +18186,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19410
18186
  value: number;
19411
18187
  };
19412
18188
  unsignedAction?: unknown;
19413
- liquidationPx?: string | undefined;
19414
- maxLeverage?: number | undefined;
19415
- marginUsed?: string | undefined;
19416
- projectedMarginUsd?: string | undefined;
19417
18189
  } | {
19418
18190
  nonce: number;
19419
18191
  action: "perpetualsClosePosition";
@@ -19425,11 +18197,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19425
18197
  markPx: string;
19426
18198
  reduceOnly: true;
19427
18199
  unsignedAction?: unknown;
19428
- avgPx?: string | undefined;
19429
- totalSz?: string | undefined;
19430
- oid?: number | undefined;
19431
- estimatedPnlUsd?: string | undefined;
19432
- entryPx?: string | undefined;
19433
18200
  } | {
19434
18201
  toAddress: string;
19435
18202
  chainId: number;
@@ -19578,14 +18345,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19578
18345
  type: "cross" | "isolated";
19579
18346
  value: number;
19580
18347
  } | undefined;
19581
- slippage?: number | undefined;
19582
- limitPx?: string | undefined;
19583
- estFeeUsd?: string | undefined;
19584
- marginRequired?: string | undefined;
19585
- liquidationPx?: string | undefined;
19586
- avgPx?: string | undefined;
19587
- totalSz?: string | undefined;
19588
- oid?: number | undefined;
19589
18348
  } | {
19590
18349
  nonce: number;
19591
18350
  action: "perpetualsUpdateLeverage";
@@ -19597,10 +18356,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19597
18356
  value: number;
19598
18357
  };
19599
18358
  unsignedAction?: unknown;
19600
- liquidationPx?: string | undefined;
19601
- maxLeverage?: number | undefined;
19602
- marginUsed?: string | undefined;
19603
- projectedMarginUsd?: string | undefined;
19604
18359
  } | {
19605
18360
  nonce: number;
19606
18361
  action: "perpetualsClosePosition";
@@ -19612,11 +18367,6 @@ export declare const PendingToolCallSchema: z.ZodObject<{
19612
18367
  markPx: string;
19613
18368
  reduceOnly: true;
19614
18369
  unsignedAction?: unknown;
19615
- avgPx?: string | undefined;
19616
- totalSz?: string | undefined;
19617
- oid?: number | undefined;
19618
- estimatedPnlUsd?: string | undefined;
19619
- entryPx?: string | undefined;
19620
18370
  } | {
19621
18371
  toAddress: string;
19622
18372
  chainId: number;