@ocap/client 1.30.26 → 1.31.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.d.ts CHANGED
@@ -430,6 +430,7 @@ signUpdateTokenFactoryTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.
430
430
  signMintTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.MintTokenTx>>): Promise<GraphQLClient.Transaction>;
431
431
  signBurnTokenTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.BurnTokenTx>>): Promise<GraphQLClient.Transaction>;
432
432
  multiSignExchangeV2Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.ExchangeV2Tx>>): Promise<GraphQLClient.Transaction>;
433
+ multiSignAccountMigrateTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AccountMigrateTx>>): Promise<GraphQLClient.Transaction>;
433
434
  multiSignTransferV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.TransferV3Tx>>): Promise<GraphQLClient.Transaction>;
434
435
  multiSignAcquireAssetV3Tx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.AcquireAssetV3Tx>>): Promise<GraphQLClient.Transaction>;
435
436
  multiSignStakeTx(param: GraphQLClient.TxParam<PartialDeep<GraphQLClient.StakeTx>>): Promise<GraphQLClient.Transaction>;
@@ -466,6 +467,9 @@ getNetInfo(): Promise<GraphQLClient.ResponseGetNetInfo>
466
467
  getNodeInfo(): Promise<GraphQLClient.ResponseGetNodeInfo>
467
468
  getValidatorsInfo(): Promise<GraphQLClient.ResponseGetValidatorsInfo>
468
469
  getForgeStats(): Promise<GraphQLClient.ResponseGetForgeStats>
470
+ getLatestCheckpoint(params?: PartialDeep<GraphQLClient.GetLatestCheckpointParams>): Promise<GraphQLClient.ResponseGetLatestCheckpoint>
471
+ getLedgerEntry(params?: PartialDeep<GraphQLClient.GetLedgerEntryParams>): Promise<GraphQLClient.ResponseGetLedgerEntry>
472
+ getMerkleProof(params?: PartialDeep<GraphQLClient.GetMerkleProofParams>): Promise<GraphQLClient.ResponseGetMerkleProof>
469
473
  listAssetTransactions(params?: PartialDeep<GraphQLClient.ListAssetTransactionsParams>): Promise<GraphQLClient.ResponseListAssetTransactions>
470
474
  listAssets(params?: PartialDeep<GraphQLClient.ListAssetsParams>): Promise<GraphQLClient.ResponseListAssets>
471
475
  listBlocks(params?: PartialDeep<GraphQLClient.ListBlocksParams>): Promise<GraphQLClient.ResponseListBlocks>
@@ -705,6 +709,7 @@ interface AddressFilterInput {
705
709
  sender: string;
706
710
  receiver: string;
707
711
  direction: GraphQLClient.Direction;
712
+ gasPayer: string;
708
713
  }
709
714
 
710
715
  interface AssetFilterInput {
@@ -942,6 +947,7 @@ interface TokenFilterInput {
942
947
 
943
948
  interface TxFilterInput {
944
949
  txs: string[];
950
+ gasPayer: string;
945
951
  }
946
952
 
947
953
  interface TypeFilterInput {
@@ -1332,6 +1338,7 @@ interface DelegateConfig {
1332
1338
  interface DelegateLimit {
1333
1339
  tokens: GraphQLClient.TokenLimit[];
1334
1340
  assets: GraphQLClient.AssetLimit[];
1341
+ unlimited: boolean;
1335
1342
  }
1336
1343
 
1337
1344
  interface DelegateOp {
@@ -1752,6 +1759,7 @@ interface IndexedTransaction {
1752
1759
  code: string;
1753
1760
  tokenSymbols: GraphQLClient.TokenMeta[];
1754
1761
  receipts: GraphQLClient.TransactionReceipt[];
1762
+ gasPayer: string;
1755
1763
  }
1756
1764
 
1757
1765
  interface JoinRollupTx {
@@ -1774,6 +1782,45 @@ interface LeaveRollupTx {
1774
1782
  data: GraphQLClient.Any;
1775
1783
  }
1776
1784
 
1785
+ interface LedgerCheckpoint {
1786
+ height: number;
1787
+ sequence: number;
1788
+ prevSequence: number;
1789
+ txRoot: string;
1790
+ txCount: number;
1791
+ stateRoot: string;
1792
+ timestamp: string;
1793
+ prevCheckpoint: string;
1794
+ proposer: string;
1795
+ hash: string;
1796
+ signature: string;
1797
+ }
1798
+
1799
+ interface LedgerEntry {
1800
+ sequence: number;
1801
+ hash: string;
1802
+ from: string;
1803
+ nonce: string;
1804
+ pk: string;
1805
+ signature: string;
1806
+ txRaw: string;
1807
+ tx: any;
1808
+ txType: string;
1809
+ timestamp: string;
1810
+ chainId: string;
1811
+ entryHash: string;
1812
+ txExtra: any;
1813
+ stateCommitHash: string;
1814
+ finalized: boolean;
1815
+ }
1816
+
1817
+ interface LedgerMerkleProof {
1818
+ index: number;
1819
+ leaf: string;
1820
+ proof: string[];
1821
+ root: string;
1822
+ }
1823
+
1777
1824
  interface MigrateRollupTx {
1778
1825
  rollup: string;
1779
1826
  to: string;
@@ -1804,6 +1851,7 @@ interface Multisig {
1804
1851
  pk: string;
1805
1852
  signature: string;
1806
1853
  delegator: string;
1854
+ extra: string;
1807
1855
  data: GraphQLClient.Any;
1808
1856
  }
1809
1857
 
@@ -1963,6 +2011,22 @@ interface ResponseGetForgeStats {
1963
2011
  forgeStats: GraphQLClient.ForgeStats;
1964
2012
  }
1965
2013
 
2014
+ interface ResponseGetLatestCheckpoint {
2015
+ code: string;
2016
+ checkpoint: GraphQLClient.LedgerCheckpoint;
2017
+ }
2018
+
2019
+ interface ResponseGetLedgerEntry {
2020
+ code: string;
2021
+ entry: GraphQLClient.LedgerEntry;
2022
+ }
2023
+
2024
+ interface ResponseGetMerkleProof {
2025
+ code: string;
2026
+ proof: GraphQLClient.LedgerMerkleProof;
2027
+ checkpoint: GraphQLClient.LedgerCheckpoint;
2028
+ }
2029
+
1966
2030
  interface ResponseGetNetInfo {
1967
2031
  code: string;
1968
2032
  netInfo: GraphQLClient.NetInfo;
@@ -2112,6 +2176,7 @@ interface ResponseSearch {
2112
2176
  interface ResponseSendTx {
2113
2177
  code: string;
2114
2178
  hash: string;
2179
+ warning: GraphQLClient.TxSecurityWarning;
2115
2180
  }
2116
2181
 
2117
2182
  interface ResponseVerifyAccountRisk {
@@ -2329,6 +2394,16 @@ interface TokenLimit {
2329
2394
  lastTx: number;
2330
2395
  decimal: number;
2331
2396
  symbol: string;
2397
+ maxPerTx: string;
2398
+ windowLimit: string;
2399
+ windowSeconds: number;
2400
+ windowStart: number;
2401
+ windowSpent: string;
2402
+ coSignAllowance: string;
2403
+ coSignRequired: boolean;
2404
+ requirePinnedPayee: boolean;
2405
+ notifyBeforeDebit: boolean;
2406
+ notifyLeadSeconds: number;
2332
2407
  }
2333
2408
 
2334
2409
  interface TokenMeta {
@@ -2383,6 +2458,7 @@ interface Transaction {
2383
2458
  serviceFee: string;
2384
2459
  gasFee: string;
2385
2460
  gasPaid: string;
2461
+ gasPayer: string;
2386
2462
  }
2387
2463
 
2388
2464
  interface TransactionConfig {
@@ -2456,6 +2532,29 @@ interface TxGasConfig {
2456
2532
  stakeLockPeriod: number;
2457
2533
  }
2458
2534
 
2535
+ interface TxGasQuotaTelemetry {
2536
+ loadRatio: number;
2537
+ remainingNormalQuota: number;
2538
+ currentGasMultiplier: number;
2539
+ nextTxEstimatedGas: string;
2540
+ recommendedBackoffMs: number;
2541
+ stakeRequiredFor1x: string;
2542
+ }
2543
+
2544
+ interface TxSecurityWarning {
2545
+ tier: string;
2546
+ code: string;
2547
+ message: string;
2548
+ actor: string;
2549
+ strikeCount: number;
2550
+ warningThreshold: number;
2551
+ throttleThreshold: number;
2552
+ slashThreshold: number;
2553
+ gasStakeQuotaRemaining: number;
2554
+ cooldownUntilMs: number;
2555
+ telemetry: GraphQLClient.TxGasQuotaTelemetry;
2556
+ }
2557
+
2459
2558
  interface TxStakeConfig {
2460
2559
  createToken: string;
2461
2560
  createCreditToken: string;
@@ -2662,6 +2761,19 @@ interface GetConfigParams {
2662
2761
  parsed: boolean;
2663
2762
  }
2664
2763
 
2764
+ interface GetLatestCheckpointParams {
2765
+ height: number;
2766
+ }
2767
+
2768
+ interface GetLedgerEntryParams {
2769
+ hash: string;
2770
+ sequence: number;
2771
+ }
2772
+
2773
+ interface GetMerkleProofParams {
2774
+ sequence: number;
2775
+ }
2776
+
2665
2777
  interface ListAssetTransactionsParams {
2666
2778
  address: string;
2667
2779
  paging: GraphQLClient.PageInput;