@xchainjs/xchain-thornode 1.0.0 → 1.0.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/lib/generated/thornodeApi/api.d.ts +333 -21
- package/lib/generated/thornodeApi/base.d.ts +1 -1
- package/lib/generated/thornodeApi/common.d.ts +1 -1
- package/lib/generated/thornodeApi/configuration.d.ts +1 -1
- package/lib/generated/thornodeApi/index.d.ts +1 -1
- package/lib/index.esm.js +337 -12
- package/lib/index.js +344 -11
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 3.
|
|
5
|
+
* The version of the OpenAPI document: 3.5.1
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -736,19 +736,25 @@ export interface InboundAddress {
|
|
|
736
736
|
* @type {boolean}
|
|
737
737
|
* @memberof InboundAddress
|
|
738
738
|
*/
|
|
739
|
-
'global_trading_paused'
|
|
739
|
+
'global_trading_paused': boolean;
|
|
740
740
|
/**
|
|
741
741
|
* Returns true if trading is paused for this chain
|
|
742
742
|
* @type {boolean}
|
|
743
743
|
* @memberof InboundAddress
|
|
744
744
|
*/
|
|
745
|
-
'chain_trading_paused'
|
|
745
|
+
'chain_trading_paused': boolean;
|
|
746
746
|
/**
|
|
747
747
|
* Returns true if LP actions are paused for this chain
|
|
748
748
|
* @type {boolean}
|
|
749
749
|
* @memberof InboundAddress
|
|
750
750
|
*/
|
|
751
|
-
'chain_lp_actions_paused'
|
|
751
|
+
'chain_lp_actions_paused': boolean;
|
|
752
|
+
/**
|
|
753
|
+
* The chain\'s observed fee rate in 1e8 format, before the 1.5x that makes an outbound more likely to have a sufficient gas rate. Used by validators to check whether they need to report a fee change.
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof InboundAddress
|
|
756
|
+
*/
|
|
757
|
+
'observed_fee_rate'?: string;
|
|
752
758
|
/**
|
|
753
759
|
* The minimum fee rate used by vaults to send outbound TXs. The actual fee rate may be higher. For EVM chains this is returned in gwei (1e9).
|
|
754
760
|
* @type {string}
|
|
@@ -768,7 +774,7 @@ export interface InboundAddress {
|
|
|
768
774
|
*/
|
|
769
775
|
'outbound_tx_size'?: string;
|
|
770
776
|
/**
|
|
771
|
-
* The total outbound fee charged to the user for outbound txs in the gas asset of the chain.
|
|
777
|
+
* The total outbound fee charged to the user for outbound txs in the gas asset of the chain. Can be observed_fee_rate * 1.5 * outbound_tx_size or else kept to an equivalent of Mimir key MinimumL1OutboundFeeUSD.
|
|
772
778
|
* @type {string}
|
|
773
779
|
* @memberof InboundAddress
|
|
774
780
|
*/
|
|
@@ -1447,6 +1453,18 @@ export interface NetworkResponse {
|
|
|
1447
1453
|
* @memberof NetworkResponse
|
|
1448
1454
|
*/
|
|
1449
1455
|
'total_bond_units': string;
|
|
1456
|
+
/**
|
|
1457
|
+
* RUNE in Available pools (equal in value to the Assets in those pools)
|
|
1458
|
+
* @type {string}
|
|
1459
|
+
* @memberof NetworkResponse
|
|
1460
|
+
*/
|
|
1461
|
+
'available_pools_rune': string;
|
|
1462
|
+
/**
|
|
1463
|
+
* RUNE value of Layer 1 Assets in vaults
|
|
1464
|
+
* @type {string}
|
|
1465
|
+
* @memberof NetworkResponse
|
|
1466
|
+
*/
|
|
1467
|
+
'vaults_liquidity_rune': string;
|
|
1450
1468
|
/**
|
|
1451
1469
|
* effective security bond used to determine maximum pooled RUNE
|
|
1452
1470
|
* @type {string}
|
|
@@ -3431,6 +3449,96 @@ export interface SwapperCloutResponse {
|
|
|
3431
3449
|
*/
|
|
3432
3450
|
'last_reclaim_height'?: number;
|
|
3433
3451
|
}
|
|
3452
|
+
/**
|
|
3453
|
+
*
|
|
3454
|
+
* @export
|
|
3455
|
+
* @interface TCYClaimer
|
|
3456
|
+
*/
|
|
3457
|
+
export interface TCYClaimer {
|
|
3458
|
+
/**
|
|
3459
|
+
*
|
|
3460
|
+
* @type {string}
|
|
3461
|
+
* @memberof TCYClaimer
|
|
3462
|
+
*/
|
|
3463
|
+
'l1_address'?: string;
|
|
3464
|
+
/**
|
|
3465
|
+
*
|
|
3466
|
+
* @type {string}
|
|
3467
|
+
* @memberof TCYClaimer
|
|
3468
|
+
*/
|
|
3469
|
+
'amount': string;
|
|
3470
|
+
/**
|
|
3471
|
+
*
|
|
3472
|
+
* @type {string}
|
|
3473
|
+
* @memberof TCYClaimer
|
|
3474
|
+
*/
|
|
3475
|
+
'asset': string;
|
|
3476
|
+
}
|
|
3477
|
+
/**
|
|
3478
|
+
*
|
|
3479
|
+
* @export
|
|
3480
|
+
* @interface TCYClaimerSummary
|
|
3481
|
+
*/
|
|
3482
|
+
export interface TCYClaimerSummary {
|
|
3483
|
+
/**
|
|
3484
|
+
*
|
|
3485
|
+
* @type {string}
|
|
3486
|
+
* @memberof TCYClaimerSummary
|
|
3487
|
+
*/
|
|
3488
|
+
'amount': string;
|
|
3489
|
+
/**
|
|
3490
|
+
*
|
|
3491
|
+
* @type {string}
|
|
3492
|
+
* @memberof TCYClaimerSummary
|
|
3493
|
+
*/
|
|
3494
|
+
'asset': string;
|
|
3495
|
+
}
|
|
3496
|
+
/**
|
|
3497
|
+
*
|
|
3498
|
+
* @export
|
|
3499
|
+
* @interface TCYClaimersResponse
|
|
3500
|
+
*/
|
|
3501
|
+
export interface TCYClaimersResponse extends Array<TCYClaimerSummary> {
|
|
3502
|
+
}
|
|
3503
|
+
/**
|
|
3504
|
+
*
|
|
3505
|
+
* @export
|
|
3506
|
+
* @interface TCYStaker
|
|
3507
|
+
*/
|
|
3508
|
+
export interface TCYStaker {
|
|
3509
|
+
/**
|
|
3510
|
+
*
|
|
3511
|
+
* @type {string}
|
|
3512
|
+
* @memberof TCYStaker
|
|
3513
|
+
*/
|
|
3514
|
+
'address'?: string;
|
|
3515
|
+
/**
|
|
3516
|
+
*
|
|
3517
|
+
* @type {string}
|
|
3518
|
+
* @memberof TCYStaker
|
|
3519
|
+
*/
|
|
3520
|
+
'amount': string;
|
|
3521
|
+
}
|
|
3522
|
+
/**
|
|
3523
|
+
*
|
|
3524
|
+
* @export
|
|
3525
|
+
* @interface TCYStakerSummary
|
|
3526
|
+
*/
|
|
3527
|
+
export interface TCYStakerSummary {
|
|
3528
|
+
/**
|
|
3529
|
+
*
|
|
3530
|
+
* @type {string}
|
|
3531
|
+
* @memberof TCYStakerSummary
|
|
3532
|
+
*/
|
|
3533
|
+
'amount': string;
|
|
3534
|
+
}
|
|
3535
|
+
/**
|
|
3536
|
+
*
|
|
3537
|
+
* @export
|
|
3538
|
+
* @interface TCYStakersResponse
|
|
3539
|
+
*/
|
|
3540
|
+
export interface TCYStakersResponse extends Array<TCYStakerSummary> {
|
|
3541
|
+
}
|
|
3434
3542
|
/**
|
|
3435
3543
|
*
|
|
3436
3544
|
* @export
|
|
@@ -3461,6 +3569,12 @@ export interface Thorname {
|
|
|
3461
3569
|
* @memberof Thorname
|
|
3462
3570
|
*/
|
|
3463
3571
|
'preferred_asset': string;
|
|
3572
|
+
/**
|
|
3573
|
+
* Amount of RUNE currently needed to trigger a preferred asset swap.
|
|
3574
|
+
* @type {string}
|
|
3575
|
+
* @memberof Thorname
|
|
3576
|
+
*/
|
|
3577
|
+
'preferred_asset_swap_threshold_rune'?: string;
|
|
3464
3578
|
/**
|
|
3465
3579
|
* Amount of RUNE currently accrued by this thorname in affiliate fees waiting to be swapped to preferred asset.
|
|
3466
3580
|
* @type {string}
|
|
@@ -3729,36 +3843,48 @@ export interface TxDetailsResponse {
|
|
|
3729
3843
|
* @interface TxOutItem
|
|
3730
3844
|
*/
|
|
3731
3845
|
export interface TxOutItem {
|
|
3846
|
+
/**
|
|
3847
|
+
*
|
|
3848
|
+
* @type {number}
|
|
3849
|
+
* @memberof TxOutItem
|
|
3850
|
+
*/
|
|
3851
|
+
'height'?: number;
|
|
3732
3852
|
/**
|
|
3733
3853
|
*
|
|
3734
3854
|
* @type {string}
|
|
3735
3855
|
* @memberof TxOutItem
|
|
3736
3856
|
*/
|
|
3737
|
-
'
|
|
3857
|
+
'vault_pub_key'?: string;
|
|
3738
3858
|
/**
|
|
3739
3859
|
*
|
|
3740
3860
|
* @type {string}
|
|
3741
3861
|
* @memberof TxOutItem
|
|
3742
3862
|
*/
|
|
3743
|
-
'
|
|
3863
|
+
'in_hash'?: string;
|
|
3744
3864
|
/**
|
|
3745
3865
|
*
|
|
3746
3866
|
* @type {string}
|
|
3747
3867
|
* @memberof TxOutItem
|
|
3748
3868
|
*/
|
|
3749
|
-
'
|
|
3869
|
+
'out_hash'?: string;
|
|
3750
3870
|
/**
|
|
3751
3871
|
*
|
|
3752
|
-
* @type {
|
|
3872
|
+
* @type {string}
|
|
3753
3873
|
* @memberof TxOutItem
|
|
3754
3874
|
*/
|
|
3755
|
-
'
|
|
3875
|
+
'chain': string;
|
|
3756
3876
|
/**
|
|
3757
3877
|
*
|
|
3758
3878
|
* @type {string}
|
|
3759
3879
|
* @memberof TxOutItem
|
|
3760
3880
|
*/
|
|
3761
|
-
'
|
|
3881
|
+
'to_address': string;
|
|
3882
|
+
/**
|
|
3883
|
+
*
|
|
3884
|
+
* @type {Coin}
|
|
3885
|
+
* @memberof TxOutItem
|
|
3886
|
+
*/
|
|
3887
|
+
'coin': Coin;
|
|
3762
3888
|
/**
|
|
3763
3889
|
*
|
|
3764
3890
|
* @type {Array<Coin>}
|
|
@@ -3776,19 +3902,25 @@ export interface TxOutItem {
|
|
|
3776
3902
|
* @type {string}
|
|
3777
3903
|
* @memberof TxOutItem
|
|
3778
3904
|
*/
|
|
3779
|
-
'
|
|
3905
|
+
'memo'?: string;
|
|
3780
3906
|
/**
|
|
3781
|
-
*
|
|
3907
|
+
* whitelisted DEX Aggregator contract address
|
|
3782
3908
|
* @type {string}
|
|
3783
3909
|
* @memberof TxOutItem
|
|
3784
3910
|
*/
|
|
3785
|
-
'
|
|
3911
|
+
'aggregator'?: string;
|
|
3786
3912
|
/**
|
|
3787
|
-
*
|
|
3788
|
-
* @type {
|
|
3913
|
+
* target asset for the aggregator contract to attempt a swap to
|
|
3914
|
+
* @type {string}
|
|
3789
3915
|
* @memberof TxOutItem
|
|
3790
3916
|
*/
|
|
3791
|
-
'
|
|
3917
|
+
'aggregator_target_asset'?: string;
|
|
3918
|
+
/**
|
|
3919
|
+
* the minimum number of tokens the swapper wants to receive of the output asset
|
|
3920
|
+
* @type {string}
|
|
3921
|
+
* @memberof TxOutItem
|
|
3922
|
+
*/
|
|
3923
|
+
'aggregator_target_limit'?: string;
|
|
3792
3924
|
/**
|
|
3793
3925
|
* clout spent in RUNE for the outbound
|
|
3794
3926
|
* @type {string}
|
|
@@ -6131,12 +6263,13 @@ export declare const QuoteApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6131
6263
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
6132
6264
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
6133
6265
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
6266
|
+
* @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
|
|
6134
6267
|
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6135
6268
|
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6136
6269
|
* @param {*} [options] Override http request option.
|
|
6137
6270
|
* @throws {RequiredError}
|
|
6138
6271
|
*/
|
|
6139
|
-
quoteswap: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6272
|
+
quoteswap: (height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6140
6273
|
};
|
|
6141
6274
|
/**
|
|
6142
6275
|
* QuoteApi - functional programming interface
|
|
@@ -6199,12 +6332,13 @@ export declare const QuoteApiFp: (configuration?: Configuration) => {
|
|
|
6199
6332
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
6200
6333
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
6201
6334
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
6335
|
+
* @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
|
|
6202
6336
|
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6203
6337
|
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6204
6338
|
* @param {*} [options] Override http request option.
|
|
6205
6339
|
* @throws {RequiredError}
|
|
6206
6340
|
*/
|
|
6207
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSwapResponse>>;
|
|
6341
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QuoteSwapResponse>>;
|
|
6208
6342
|
};
|
|
6209
6343
|
/**
|
|
6210
6344
|
* QuoteApi - factory interface
|
|
@@ -6267,12 +6401,13 @@ export declare const QuoteApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6267
6401
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
6268
6402
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
6269
6403
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
6404
|
+
* @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
|
|
6270
6405
|
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6271
6406
|
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6272
6407
|
* @param {*} [options] Override http request option.
|
|
6273
6408
|
* @throws {RequiredError}
|
|
6274
6409
|
*/
|
|
6275
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteSwapResponse>;
|
|
6410
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: any): AxiosPromise<QuoteSwapResponse>;
|
|
6276
6411
|
};
|
|
6277
6412
|
/**
|
|
6278
6413
|
* QuoteApi - object-oriented interface
|
|
@@ -6341,13 +6476,14 @@ export declare class QuoteApi extends BaseAPI {
|
|
|
6341
6476
|
* @param {number} [streamingInterval] the interval in which streaming swaps are swapped
|
|
6342
6477
|
* @param {number} [streamingQuantity] the quantity of swaps within a streaming swap
|
|
6343
6478
|
* @param {number} [toleranceBps] the maximum basis points from the current feeless swap price to set the limit in the generated memo
|
|
6479
|
+
* @param {number} [liquidityToleranceBps] the maximum basis points of tolerance for pool price movements to set the limit in the generated memo
|
|
6344
6480
|
* @param {number} [affiliateBps] the affiliate fee in basis points
|
|
6345
6481
|
* @param {string} [affiliate] the affiliate (address or thorname)
|
|
6346
6482
|
* @param {*} [options] Override http request option.
|
|
6347
6483
|
* @throws {RequiredError}
|
|
6348
6484
|
* @memberof QuoteApi
|
|
6349
6485
|
*/
|
|
6350
|
-
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
6486
|
+
quoteswap(height?: number, fromAsset?: string, toAsset?: string, amount?: number, destination?: string, refundAddress?: string, streamingInterval?: number, streamingQuantity?: number, toleranceBps?: number, liquidityToleranceBps?: number, affiliateBps?: number, affiliate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QuoteSwapResponse, any>>;
|
|
6351
6487
|
}
|
|
6352
6488
|
/**
|
|
6353
6489
|
* RUNEPoolApi - axios parameter creator
|
|
@@ -6764,6 +6900,182 @@ export declare class StreamingSwapApi extends BaseAPI {
|
|
|
6764
6900
|
*/
|
|
6765
6901
|
streamSwaps(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StreamingSwapsResponse, any>>;
|
|
6766
6902
|
}
|
|
6903
|
+
/**
|
|
6904
|
+
* TCYClaimersApi - axios parameter creator
|
|
6905
|
+
* @export
|
|
6906
|
+
*/
|
|
6907
|
+
export declare const TCYClaimersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6908
|
+
/**
|
|
6909
|
+
* Returns the tcy claimer information for an address.
|
|
6910
|
+
* @param {string} address
|
|
6911
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6912
|
+
* @param {*} [options] Override http request option.
|
|
6913
|
+
* @throws {RequiredError}
|
|
6914
|
+
*/
|
|
6915
|
+
tcyClaimer: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6916
|
+
/**
|
|
6917
|
+
* Returns all tcy claimers information.
|
|
6918
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6919
|
+
* @param {*} [options] Override http request option.
|
|
6920
|
+
* @throws {RequiredError}
|
|
6921
|
+
*/
|
|
6922
|
+
tcyClaimers: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6923
|
+
};
|
|
6924
|
+
/**
|
|
6925
|
+
* TCYClaimersApi - functional programming interface
|
|
6926
|
+
* @export
|
|
6927
|
+
*/
|
|
6928
|
+
export declare const TCYClaimersApiFp: (configuration?: Configuration) => {
|
|
6929
|
+
/**
|
|
6930
|
+
* Returns the tcy claimer information for an address.
|
|
6931
|
+
* @param {string} address
|
|
6932
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6933
|
+
* @param {*} [options] Override http request option.
|
|
6934
|
+
* @throws {RequiredError}
|
|
6935
|
+
*/
|
|
6936
|
+
tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TCYClaimer>>;
|
|
6937
|
+
/**
|
|
6938
|
+
* Returns all tcy claimers information.
|
|
6939
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6940
|
+
* @param {*} [options] Override http request option.
|
|
6941
|
+
* @throws {RequiredError}
|
|
6942
|
+
*/
|
|
6943
|
+
tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TCYClaimersResponse>>;
|
|
6944
|
+
};
|
|
6945
|
+
/**
|
|
6946
|
+
* TCYClaimersApi - factory interface
|
|
6947
|
+
* @export
|
|
6948
|
+
*/
|
|
6949
|
+
export declare const TCYClaimersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6950
|
+
/**
|
|
6951
|
+
* Returns the tcy claimer information for an address.
|
|
6952
|
+
* @param {string} address
|
|
6953
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6954
|
+
* @param {*} [options] Override http request option.
|
|
6955
|
+
* @throws {RequiredError}
|
|
6956
|
+
*/
|
|
6957
|
+
tcyClaimer(address: string, height?: number, options?: any): AxiosPromise<TCYClaimer>;
|
|
6958
|
+
/**
|
|
6959
|
+
* Returns all tcy claimers information.
|
|
6960
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6961
|
+
* @param {*} [options] Override http request option.
|
|
6962
|
+
* @throws {RequiredError}
|
|
6963
|
+
*/
|
|
6964
|
+
tcyClaimers(height?: number, options?: any): AxiosPromise<TCYClaimersResponse>;
|
|
6965
|
+
};
|
|
6966
|
+
/**
|
|
6967
|
+
* TCYClaimersApi - object-oriented interface
|
|
6968
|
+
* @export
|
|
6969
|
+
* @class TCYClaimersApi
|
|
6970
|
+
* @extends {BaseAPI}
|
|
6971
|
+
*/
|
|
6972
|
+
export declare class TCYClaimersApi extends BaseAPI {
|
|
6973
|
+
/**
|
|
6974
|
+
* Returns the tcy claimer information for an address.
|
|
6975
|
+
* @param {string} address
|
|
6976
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6977
|
+
* @param {*} [options] Override http request option.
|
|
6978
|
+
* @throws {RequiredError}
|
|
6979
|
+
* @memberof TCYClaimersApi
|
|
6980
|
+
*/
|
|
6981
|
+
tcyClaimer(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimer, any>>;
|
|
6982
|
+
/**
|
|
6983
|
+
* Returns all tcy claimers information.
|
|
6984
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
6985
|
+
* @param {*} [options] Override http request option.
|
|
6986
|
+
* @throws {RequiredError}
|
|
6987
|
+
* @memberof TCYClaimersApi
|
|
6988
|
+
*/
|
|
6989
|
+
tcyClaimers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYClaimersResponse, any>>;
|
|
6990
|
+
}
|
|
6991
|
+
/**
|
|
6992
|
+
* TCYStakersApi - axios parameter creator
|
|
6993
|
+
* @export
|
|
6994
|
+
*/
|
|
6995
|
+
export declare const TCYStakersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6996
|
+
/**
|
|
6997
|
+
* Returns the tcy staker information for an address.
|
|
6998
|
+
* @param {string} address
|
|
6999
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7000
|
+
* @param {*} [options] Override http request option.
|
|
7001
|
+
* @throws {RequiredError}
|
|
7002
|
+
*/
|
|
7003
|
+
tcyStaker: (address: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7004
|
+
/**
|
|
7005
|
+
* Returns all tcy stakers information.
|
|
7006
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7007
|
+
* @param {*} [options] Override http request option.
|
|
7008
|
+
* @throws {RequiredError}
|
|
7009
|
+
*/
|
|
7010
|
+
tcyStakers: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7011
|
+
};
|
|
7012
|
+
/**
|
|
7013
|
+
* TCYStakersApi - functional programming interface
|
|
7014
|
+
* @export
|
|
7015
|
+
*/
|
|
7016
|
+
export declare const TCYStakersApiFp: (configuration?: Configuration) => {
|
|
7017
|
+
/**
|
|
7018
|
+
* Returns the tcy staker information for an address.
|
|
7019
|
+
* @param {string} address
|
|
7020
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7021
|
+
* @param {*} [options] Override http request option.
|
|
7022
|
+
* @throws {RequiredError}
|
|
7023
|
+
*/
|
|
7024
|
+
tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TCYStaker>>;
|
|
7025
|
+
/**
|
|
7026
|
+
* Returns all tcy stakers information.
|
|
7027
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7028
|
+
* @param {*} [options] Override http request option.
|
|
7029
|
+
* @throws {RequiredError}
|
|
7030
|
+
*/
|
|
7031
|
+
tcyStakers(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TCYStakersResponse>>;
|
|
7032
|
+
};
|
|
7033
|
+
/**
|
|
7034
|
+
* TCYStakersApi - factory interface
|
|
7035
|
+
* @export
|
|
7036
|
+
*/
|
|
7037
|
+
export declare const TCYStakersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7038
|
+
/**
|
|
7039
|
+
* Returns the tcy staker information for an address.
|
|
7040
|
+
* @param {string} address
|
|
7041
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7042
|
+
* @param {*} [options] Override http request option.
|
|
7043
|
+
* @throws {RequiredError}
|
|
7044
|
+
*/
|
|
7045
|
+
tcyStaker(address: string, height?: number, options?: any): AxiosPromise<TCYStaker>;
|
|
7046
|
+
/**
|
|
7047
|
+
* Returns all tcy stakers information.
|
|
7048
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7049
|
+
* @param {*} [options] Override http request option.
|
|
7050
|
+
* @throws {RequiredError}
|
|
7051
|
+
*/
|
|
7052
|
+
tcyStakers(height?: number, options?: any): AxiosPromise<TCYStakersResponse>;
|
|
7053
|
+
};
|
|
7054
|
+
/**
|
|
7055
|
+
* TCYStakersApi - object-oriented interface
|
|
7056
|
+
* @export
|
|
7057
|
+
* @class TCYStakersApi
|
|
7058
|
+
* @extends {BaseAPI}
|
|
7059
|
+
*/
|
|
7060
|
+
export declare class TCYStakersApi extends BaseAPI {
|
|
7061
|
+
/**
|
|
7062
|
+
* Returns the tcy staker information for an address.
|
|
7063
|
+
* @param {string} address
|
|
7064
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7065
|
+
* @param {*} [options] Override http request option.
|
|
7066
|
+
* @throws {RequiredError}
|
|
7067
|
+
* @memberof TCYStakersApi
|
|
7068
|
+
*/
|
|
7069
|
+
tcyStaker(address: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStaker, any>>;
|
|
7070
|
+
/**
|
|
7071
|
+
* Returns all tcy stakers information.
|
|
7072
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
7073
|
+
* @param {*} [options] Override http request option.
|
|
7074
|
+
* @throws {RequiredError}
|
|
7075
|
+
* @memberof TCYStakersApi
|
|
7076
|
+
*/
|
|
7077
|
+
tcyStakers(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TCYStakersResponse, any>>;
|
|
7078
|
+
}
|
|
6767
7079
|
/**
|
|
6768
7080
|
* TSSApi - axios parameter creator
|
|
6769
7081
|
* @export
|