@ocap/client 1.29.14 → 1.29.16
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/base.js +1 -1
- package/dist/browser.d.ts +874 -401
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +34 -2
- package/dist/schema/graphql.txt +3 -3
- package/dist/types.js +205 -24
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +1 -0
- package/docs/README.md +209 -4
- package/lib/base.js +1 -1
- package/lib/node.d.ts +874 -401
- package/lib/schema/graphql.json +34 -2
- package/lib/schema/graphql.txt +3 -3
- package/lib/types.js +205 -24
- package/lib/types.js.map +1 -1
- package/package.json +16 -16
package/docs/QUERIES.md
CHANGED
package/docs/README.md
CHANGED
|
@@ -2308,6 +2308,15 @@ Structure of GraphQLClient.RangeFilterInput
|
|
|
2308
2308
|
|
|
2309
2309
|
Structure of GraphQLClient.RequestEstimateGasInput
|
|
2310
2310
|
|
|
2311
|
+
Checkout the following snippet for the format of RequestEstimateGasInput:
|
|
2312
|
+
|
|
2313
|
+
```json
|
|
2314
|
+
{
|
|
2315
|
+
"typeUrl": "abc",
|
|
2316
|
+
"tx": "abc"
|
|
2317
|
+
}
|
|
2318
|
+
```
|
|
2319
|
+
|
|
2311
2320
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2312
2321
|
**Properties**
|
|
2313
2322
|
|
|
@@ -2334,6 +2343,15 @@ Structure of GraphQLClient.RequestGetAccountStateInput
|
|
|
2334
2343
|
|
|
2335
2344
|
Structure of GraphQLClient.RequestGetAccountTokensInput
|
|
2336
2345
|
|
|
2346
|
+
Checkout the following snippet for the format of RequestGetAccountTokensInput:
|
|
2347
|
+
|
|
2348
|
+
```json
|
|
2349
|
+
{
|
|
2350
|
+
"address": "abc",
|
|
2351
|
+
"token": "abc"
|
|
2352
|
+
}
|
|
2353
|
+
```
|
|
2354
|
+
|
|
2337
2355
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2338
2356
|
**Properties**
|
|
2339
2357
|
|
|
@@ -2346,6 +2364,14 @@ Structure of GraphQLClient.RequestGetAccountTokensInput
|
|
|
2346
2364
|
|
|
2347
2365
|
Structure of GraphQLClient.RequestGetBlockInput
|
|
2348
2366
|
|
|
2367
|
+
Checkout the following snippet for the format of RequestGetBlockInput:
|
|
2368
|
+
|
|
2369
|
+
```json
|
|
2370
|
+
{
|
|
2371
|
+
"height": 123
|
|
2372
|
+
}
|
|
2373
|
+
```
|
|
2374
|
+
|
|
2349
2375
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2350
2376
|
**Properties**
|
|
2351
2377
|
|
|
@@ -2357,6 +2383,14 @@ Structure of GraphQLClient.RequestGetBlockInput
|
|
|
2357
2383
|
|
|
2358
2384
|
Structure of GraphQLClient.RequestGetBlocksInput
|
|
2359
2385
|
|
|
2386
|
+
Checkout the following snippet for the format of RequestGetBlocksInput:
|
|
2387
|
+
|
|
2388
|
+
```json
|
|
2389
|
+
{
|
|
2390
|
+
"emptyExcluded": true
|
|
2391
|
+
}
|
|
2392
|
+
```
|
|
2393
|
+
|
|
2360
2394
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2361
2395
|
**Properties**
|
|
2362
2396
|
|
|
@@ -2370,6 +2404,14 @@ Structure of GraphQLClient.RequestGetBlocksInput
|
|
|
2370
2404
|
|
|
2371
2405
|
Structure of GraphQLClient.RequestGetConfigInput
|
|
2372
2406
|
|
|
2407
|
+
Checkout the following snippet for the format of RequestGetConfigInput:
|
|
2408
|
+
|
|
2409
|
+
```json
|
|
2410
|
+
{
|
|
2411
|
+
"parsed": true
|
|
2412
|
+
}
|
|
2413
|
+
```
|
|
2414
|
+
|
|
2373
2415
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2374
2416
|
**Properties**
|
|
2375
2417
|
|
|
@@ -2381,6 +2423,14 @@ Structure of GraphQLClient.RequestGetConfigInput
|
|
|
2381
2423
|
|
|
2382
2424
|
Structure of GraphQLClient.RequestGetEvidenceStateInput
|
|
2383
2425
|
|
|
2426
|
+
Checkout the following snippet for the format of RequestGetEvidenceStateInput:
|
|
2427
|
+
|
|
2428
|
+
```json
|
|
2429
|
+
{
|
|
2430
|
+
"hash": "abc"
|
|
2431
|
+
}
|
|
2432
|
+
```
|
|
2433
|
+
|
|
2384
2434
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2385
2435
|
**Properties**
|
|
2386
2436
|
|
|
@@ -2392,6 +2442,16 @@ Structure of GraphQLClient.RequestGetEvidenceStateInput
|
|
|
2392
2442
|
|
|
2393
2443
|
Structure of GraphQLClient.RequestGetRollupBlockInput
|
|
2394
2444
|
|
|
2445
|
+
Checkout the following snippet for the format of RequestGetRollupBlockInput:
|
|
2446
|
+
|
|
2447
|
+
```json
|
|
2448
|
+
{
|
|
2449
|
+
"hash": "abc",
|
|
2450
|
+
"height": 123,
|
|
2451
|
+
"rollupAddress": "abc"
|
|
2452
|
+
}
|
|
2453
|
+
```
|
|
2454
|
+
|
|
2395
2455
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2396
2456
|
**Properties**
|
|
2397
2457
|
|
|
@@ -2418,6 +2478,14 @@ Structure of GraphQLClient.RequestGetStateInput
|
|
|
2418
2478
|
|
|
2419
2479
|
Structure of GraphQLClient.RequestGetTokenDistributionInput
|
|
2420
2480
|
|
|
2481
|
+
Checkout the following snippet for the format of RequestGetTokenDistributionInput:
|
|
2482
|
+
|
|
2483
|
+
```json
|
|
2484
|
+
{
|
|
2485
|
+
"tokenAddress": "abc"
|
|
2486
|
+
}
|
|
2487
|
+
```
|
|
2488
|
+
|
|
2421
2489
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2422
2490
|
**Properties**
|
|
2423
2491
|
|
|
@@ -2429,6 +2497,14 @@ Structure of GraphQLClient.RequestGetTokenDistributionInput
|
|
|
2429
2497
|
|
|
2430
2498
|
Structure of GraphQLClient.RequestGetTxInput
|
|
2431
2499
|
|
|
2500
|
+
Checkout the following snippet for the format of RequestGetTxInput:
|
|
2501
|
+
|
|
2502
|
+
```json
|
|
2503
|
+
{
|
|
2504
|
+
"hash": "abc"
|
|
2505
|
+
}
|
|
2506
|
+
```
|
|
2507
|
+
|
|
2432
2508
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2433
2509
|
**Properties**
|
|
2434
2510
|
|
|
@@ -2440,6 +2516,14 @@ Structure of GraphQLClient.RequestGetTxInput
|
|
|
2440
2516
|
|
|
2441
2517
|
Structure of GraphQLClient.RequestListAssetTransactionsInput
|
|
2442
2518
|
|
|
2519
|
+
Checkout the following snippet for the format of RequestListAssetTransactionsInput:
|
|
2520
|
+
|
|
2521
|
+
```json
|
|
2522
|
+
{
|
|
2523
|
+
"address": "abc"
|
|
2524
|
+
}
|
|
2525
|
+
```
|
|
2526
|
+
|
|
2443
2527
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2444
2528
|
**Properties**
|
|
2445
2529
|
|
|
@@ -2452,6 +2536,15 @@ Structure of GraphQLClient.RequestListAssetTransactionsInput
|
|
|
2452
2536
|
|
|
2453
2537
|
Structure of GraphQLClient.RequestListAssetsInput
|
|
2454
2538
|
|
|
2539
|
+
Checkout the following snippet for the format of RequestListAssetsInput:
|
|
2540
|
+
|
|
2541
|
+
```json
|
|
2542
|
+
{
|
|
2543
|
+
"ownerAddress": "abc",
|
|
2544
|
+
"factoryAddress": "abc"
|
|
2545
|
+
}
|
|
2546
|
+
```
|
|
2547
|
+
|
|
2455
2548
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2456
2549
|
**Properties**
|
|
2457
2550
|
|
|
@@ -2466,6 +2559,14 @@ Structure of GraphQLClient.RequestListAssetsInput
|
|
|
2466
2559
|
|
|
2467
2560
|
Structure of GraphQLClient.RequestListBlocksInput
|
|
2468
2561
|
|
|
2562
|
+
Checkout the following snippet for the format of RequestListBlocksInput:
|
|
2563
|
+
|
|
2564
|
+
```json
|
|
2565
|
+
{
|
|
2566
|
+
"proposer": "abc"
|
|
2567
|
+
}
|
|
2568
|
+
```
|
|
2569
|
+
|
|
2469
2570
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2470
2571
|
**Properties**
|
|
2471
2572
|
|
|
@@ -2482,6 +2583,15 @@ Structure of GraphQLClient.RequestListBlocksInput
|
|
|
2482
2583
|
|
|
2483
2584
|
Structure of GraphQLClient.RequestListDelegationsInput
|
|
2484
2585
|
|
|
2586
|
+
Checkout the following snippet for the format of RequestListDelegationsInput:
|
|
2587
|
+
|
|
2588
|
+
```json
|
|
2589
|
+
{
|
|
2590
|
+
"from": "abc",
|
|
2591
|
+
"to": "abc"
|
|
2592
|
+
}
|
|
2593
|
+
```
|
|
2594
|
+
|
|
2485
2595
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2486
2596
|
**Properties**
|
|
2487
2597
|
|
|
@@ -2510,6 +2620,16 @@ Structure of GraphQLClient.RequestListFactoriesInput
|
|
|
2510
2620
|
|
|
2511
2621
|
Structure of GraphQLClient.RequestListRollupBlocksInput
|
|
2512
2622
|
|
|
2623
|
+
Checkout the following snippet for the format of RequestListRollupBlocksInput:
|
|
2624
|
+
|
|
2625
|
+
```json
|
|
2626
|
+
{
|
|
2627
|
+
"rollupAddress": "abc",
|
|
2628
|
+
"tokenAddress": "abc",
|
|
2629
|
+
"proposer": "abc"
|
|
2630
|
+
}
|
|
2631
|
+
```
|
|
2632
|
+
|
|
2513
2633
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2514
2634
|
**Properties**
|
|
2515
2635
|
|
|
@@ -2527,6 +2647,14 @@ Structure of GraphQLClient.RequestListRollupBlocksInput
|
|
|
2527
2647
|
|
|
2528
2648
|
Structure of GraphQLClient.RequestListRollupValidatorsInput
|
|
2529
2649
|
|
|
2650
|
+
Checkout the following snippet for the format of RequestListRollupValidatorsInput:
|
|
2651
|
+
|
|
2652
|
+
```json
|
|
2653
|
+
{
|
|
2654
|
+
"rollupAddress": "abc"
|
|
2655
|
+
}
|
|
2656
|
+
```
|
|
2657
|
+
|
|
2530
2658
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2531
2659
|
**Properties**
|
|
2532
2660
|
|
|
@@ -2539,6 +2667,15 @@ Structure of GraphQLClient.RequestListRollupValidatorsInput
|
|
|
2539
2667
|
|
|
2540
2668
|
Structure of GraphQLClient.RequestListRollupsInput
|
|
2541
2669
|
|
|
2670
|
+
Checkout the following snippet for the format of RequestListRollupsInput:
|
|
2671
|
+
|
|
2672
|
+
```json
|
|
2673
|
+
{
|
|
2674
|
+
"tokenAddress": "abc",
|
|
2675
|
+
"foreignTokenAddress": "abc"
|
|
2676
|
+
}
|
|
2677
|
+
```
|
|
2678
|
+
|
|
2542
2679
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2543
2680
|
**Properties**
|
|
2544
2681
|
|
|
@@ -2553,6 +2690,12 @@ Structure of GraphQLClient.RequestListRollupsInput
|
|
|
2553
2690
|
|
|
2554
2691
|
Structure of GraphQLClient.RequestListStakesInput
|
|
2555
2692
|
|
|
2693
|
+
Checkout the following snippet for the format of RequestListStakesInput:
|
|
2694
|
+
|
|
2695
|
+
```json
|
|
2696
|
+
{}
|
|
2697
|
+
```
|
|
2698
|
+
|
|
2556
2699
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2557
2700
|
**Properties**
|
|
2558
2701
|
|
|
@@ -2567,6 +2710,17 @@ Structure of GraphQLClient.RequestListStakesInput
|
|
|
2567
2710
|
|
|
2568
2711
|
Structure of GraphQLClient.RequestListTokenFlowsInput
|
|
2569
2712
|
|
|
2713
|
+
Checkout the following snippet for the format of RequestListTokenFlowsInput:
|
|
2714
|
+
|
|
2715
|
+
```json
|
|
2716
|
+
{
|
|
2717
|
+
"accountAddress": "abc",
|
|
2718
|
+
"tokenAddress": "abc",
|
|
2719
|
+
"depth": 123,
|
|
2720
|
+
"direction": "IN"
|
|
2721
|
+
}
|
|
2722
|
+
```
|
|
2723
|
+
|
|
2570
2724
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2571
2725
|
**Properties**
|
|
2572
2726
|
|
|
@@ -2582,6 +2736,14 @@ Structure of GraphQLClient.RequestListTokenFlowsInput
|
|
|
2582
2736
|
|
|
2583
2737
|
Structure of GraphQLClient.RequestListTokensInput
|
|
2584
2738
|
|
|
2739
|
+
Checkout the following snippet for the format of RequestListTokensInput:
|
|
2740
|
+
|
|
2741
|
+
```json
|
|
2742
|
+
{
|
|
2743
|
+
"issuerAddress": "abc"
|
|
2744
|
+
}
|
|
2745
|
+
```
|
|
2746
|
+
|
|
2585
2747
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2586
2748
|
**Properties**
|
|
2587
2749
|
|
|
@@ -2595,6 +2757,14 @@ Structure of GraphQLClient.RequestListTokensInput
|
|
|
2595
2757
|
|
|
2596
2758
|
Structure of GraphQLClient.RequestListTopAccountsInput
|
|
2597
2759
|
|
|
2760
|
+
Checkout the following snippet for the format of RequestListTopAccountsInput:
|
|
2761
|
+
|
|
2762
|
+
```json
|
|
2763
|
+
{
|
|
2764
|
+
"tokenAddress": "abc"
|
|
2765
|
+
}
|
|
2766
|
+
```
|
|
2767
|
+
|
|
2598
2768
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2599
2769
|
**Properties**
|
|
2600
2770
|
|
|
@@ -2608,6 +2778,12 @@ Structure of GraphQLClient.RequestListTopAccountsInput
|
|
|
2608
2778
|
|
|
2609
2779
|
Structure of GraphQLClient.RequestListTransactionsInput
|
|
2610
2780
|
|
|
2781
|
+
Checkout the following snippet for the format of RequestListTransactionsInput:
|
|
2782
|
+
|
|
2783
|
+
```json
|
|
2784
|
+
{}
|
|
2785
|
+
```
|
|
2786
|
+
|
|
2611
2787
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2612
2788
|
**Properties**
|
|
2613
2789
|
|
|
@@ -2632,6 +2808,14 @@ Structure of GraphQLClient.RequestListTransactionsInput
|
|
|
2632
2808
|
|
|
2633
2809
|
Structure of GraphQLClient.RequestSearchInput
|
|
2634
2810
|
|
|
2811
|
+
Checkout the following snippet for the format of RequestSearchInput:
|
|
2812
|
+
|
|
2813
|
+
```json
|
|
2814
|
+
{
|
|
2815
|
+
"keyword": "abc"
|
|
2816
|
+
}
|
|
2817
|
+
```
|
|
2818
|
+
|
|
2635
2819
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2636
2820
|
**Properties**
|
|
2637
2821
|
|
|
@@ -2644,6 +2828,17 @@ Structure of GraphQLClient.RequestSearchInput
|
|
|
2644
2828
|
|
|
2645
2829
|
Structure of GraphQLClient.RequestSendTxInput
|
|
2646
2830
|
|
|
2831
|
+
Checkout the following snippet for the format of RequestSendTxInput:
|
|
2832
|
+
|
|
2833
|
+
```json
|
|
2834
|
+
{
|
|
2835
|
+
"tx": "abc",
|
|
2836
|
+
"token": "abc",
|
|
2837
|
+
"commit": true,
|
|
2838
|
+
"extra": "abc"
|
|
2839
|
+
}
|
|
2840
|
+
```
|
|
2841
|
+
|
|
2647
2842
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2648
2843
|
**Properties**
|
|
2649
2844
|
|
|
@@ -2659,6 +2854,15 @@ Structure of GraphQLClient.RequestSendTxInput
|
|
|
2659
2854
|
|
|
2660
2855
|
Structure of GraphQLClient.RequestVerifyAccountRiskInput
|
|
2661
2856
|
|
|
2857
|
+
Checkout the following snippet for the format of RequestVerifyAccountRiskInput:
|
|
2858
|
+
|
|
2859
|
+
```json
|
|
2860
|
+
{
|
|
2861
|
+
"accountAddress": "abc",
|
|
2862
|
+
"tokenAddress": "abc"
|
|
2863
|
+
}
|
|
2864
|
+
```
|
|
2865
|
+
|
|
2662
2866
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2663
2867
|
**Properties**
|
|
2664
2868
|
|
|
@@ -5144,10 +5348,11 @@ Structure of GraphQLClient.SearchResult
|
|
|
5144
5348
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5145
5349
|
**Properties**
|
|
5146
5350
|
|
|
5147
|
-
| Name
|
|
5148
|
-
|
|
|
5149
|
-
| type
|
|
5150
|
-
| id
|
|
5351
|
+
| Name | Type |
|
|
5352
|
+
| ----- | -------- |
|
|
5353
|
+
| type | `string` |
|
|
5354
|
+
| id | `string` |
|
|
5355
|
+
| title | `string` |
|
|
5151
5356
|
|
|
5152
5357
|
### GraphQLClient.SlashStakeTx : `object`
|
|
5153
5358
|
|