@xchainjs/xchain-thornode 0.3.15 → 0.3.17
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 +812 -271
- 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 +356 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +360 -1
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Thornode API
|
|
3
3
|
* Thornode REST API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.133.0
|
|
6
6
|
* Contact: devs@thorchain.org
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -127,6 +127,18 @@ export interface BaseQuoteResponse {
|
|
|
127
127
|
* @memberof BaseQuoteResponse
|
|
128
128
|
*/
|
|
129
129
|
'recommended_min_amount_in'?: string;
|
|
130
|
+
/**
|
|
131
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof BaseQuoteResponse
|
|
134
|
+
*/
|
|
135
|
+
'recommended_gas_rate'?: string;
|
|
136
|
+
/**
|
|
137
|
+
* the units of the recommended gas rate
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof BaseQuoteResponse
|
|
140
|
+
*/
|
|
141
|
+
'gas_rate_units'?: string;
|
|
130
142
|
}
|
|
131
143
|
/**
|
|
132
144
|
*
|
|
@@ -692,6 +704,93 @@ export interface InboundAddress {
|
|
|
692
704
|
*/
|
|
693
705
|
export interface InboundAddressesResponse extends Array<InboundAddress> {
|
|
694
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @export
|
|
710
|
+
* @interface InboundConfirmationCountedStage
|
|
711
|
+
*/
|
|
712
|
+
export interface InboundConfirmationCountedStage {
|
|
713
|
+
/**
|
|
714
|
+
* the THORChain block height when confirmation counting began
|
|
715
|
+
* @type {number}
|
|
716
|
+
* @memberof InboundConfirmationCountedStage
|
|
717
|
+
*/
|
|
718
|
+
'counting_start_height'?: number;
|
|
719
|
+
/**
|
|
720
|
+
* the external source chain for which confirmation counting takes place
|
|
721
|
+
* @type {string}
|
|
722
|
+
* @memberof InboundConfirmationCountedStage
|
|
723
|
+
*/
|
|
724
|
+
'chain'?: string;
|
|
725
|
+
/**
|
|
726
|
+
* the block height on the external source chain when the transaction was observed
|
|
727
|
+
* @type {number}
|
|
728
|
+
* @memberof InboundConfirmationCountedStage
|
|
729
|
+
*/
|
|
730
|
+
'external_observed_height'?: number;
|
|
731
|
+
/**
|
|
732
|
+
* the block height on the external source chain when confirmation counting will be complete
|
|
733
|
+
* @type {number}
|
|
734
|
+
* @memberof InboundConfirmationCountedStage
|
|
735
|
+
*/
|
|
736
|
+
'external_confirmation_delay_height'?: number;
|
|
737
|
+
/**
|
|
738
|
+
* the estimated remaining seconds before confirmation counting completes
|
|
739
|
+
* @type {number}
|
|
740
|
+
* @memberof InboundConfirmationCountedStage
|
|
741
|
+
*/
|
|
742
|
+
'remaining_confirmation_seconds'?: number;
|
|
743
|
+
/**
|
|
744
|
+
* returns true if no transaction confirmation counting remains to be done
|
|
745
|
+
* @type {boolean}
|
|
746
|
+
* @memberof InboundConfirmationCountedStage
|
|
747
|
+
*/
|
|
748
|
+
'completed': boolean;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @export
|
|
753
|
+
* @interface InboundFinalisedStage
|
|
754
|
+
*/
|
|
755
|
+
export interface InboundFinalisedStage {
|
|
756
|
+
/**
|
|
757
|
+
* returns true if the inbound transaction has been finalised (THORChain agreeing it exists)
|
|
758
|
+
* @type {boolean}
|
|
759
|
+
* @memberof InboundFinalisedStage
|
|
760
|
+
*/
|
|
761
|
+
'completed': boolean;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @export
|
|
766
|
+
* @interface InboundObservedStage
|
|
767
|
+
*/
|
|
768
|
+
export interface InboundObservedStage {
|
|
769
|
+
/**
|
|
770
|
+
* returns true if any nodes have observed the transaction (to be deprecated in favour of counts)
|
|
771
|
+
* @type {boolean}
|
|
772
|
+
* @memberof InboundObservedStage
|
|
773
|
+
*/
|
|
774
|
+
'started'?: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* number of signers for pre-confirmation-counting observations
|
|
777
|
+
* @type {number}
|
|
778
|
+
* @memberof InboundObservedStage
|
|
779
|
+
*/
|
|
780
|
+
'pre_confirmation_count'?: number;
|
|
781
|
+
/**
|
|
782
|
+
* number of signers for final observations, after any confirmation counting complete
|
|
783
|
+
* @type {number}
|
|
784
|
+
* @memberof InboundObservedStage
|
|
785
|
+
*/
|
|
786
|
+
'final_count': number;
|
|
787
|
+
/**
|
|
788
|
+
* returns true if no transaction observation remains to be done
|
|
789
|
+
* @type {boolean}
|
|
790
|
+
* @memberof InboundObservedStage
|
|
791
|
+
*/
|
|
792
|
+
'completed': boolean;
|
|
793
|
+
}
|
|
695
794
|
/**
|
|
696
795
|
*
|
|
697
796
|
* @export
|
|
@@ -730,6 +829,50 @@ export interface InvariantsResponse {
|
|
|
730
829
|
*/
|
|
731
830
|
'invariants'?: Array<string>;
|
|
732
831
|
}
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @export
|
|
835
|
+
* @interface Keygen
|
|
836
|
+
*/
|
|
837
|
+
export interface Keygen {
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @type {string}
|
|
841
|
+
* @memberof Keygen
|
|
842
|
+
*/
|
|
843
|
+
'id'?: string;
|
|
844
|
+
/**
|
|
845
|
+
*
|
|
846
|
+
* @type {string}
|
|
847
|
+
* @memberof Keygen
|
|
848
|
+
*/
|
|
849
|
+
'type'?: string;
|
|
850
|
+
/**
|
|
851
|
+
*
|
|
852
|
+
* @type {Array<string>}
|
|
853
|
+
* @memberof Keygen
|
|
854
|
+
*/
|
|
855
|
+
'members'?: Array<string>;
|
|
856
|
+
}
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @export
|
|
860
|
+
* @interface KeygenBlock
|
|
861
|
+
*/
|
|
862
|
+
export interface KeygenBlock {
|
|
863
|
+
/**
|
|
864
|
+
* the height of the keygen block
|
|
865
|
+
* @type {number}
|
|
866
|
+
* @memberof KeygenBlock
|
|
867
|
+
*/
|
|
868
|
+
'height'?: number;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {Array<Keygen>}
|
|
872
|
+
* @memberof KeygenBlock
|
|
873
|
+
*/
|
|
874
|
+
'keygens': Array<Keygen>;
|
|
875
|
+
}
|
|
733
876
|
/**
|
|
734
877
|
*
|
|
735
878
|
* @export
|
|
@@ -756,6 +899,25 @@ export interface KeygenMetric {
|
|
|
756
899
|
*/
|
|
757
900
|
export interface KeygenMetricsResponse extends Array<KeygenMetric> {
|
|
758
901
|
}
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @export
|
|
905
|
+
* @interface KeygenResponse
|
|
906
|
+
*/
|
|
907
|
+
export interface KeygenResponse {
|
|
908
|
+
/**
|
|
909
|
+
*
|
|
910
|
+
* @type {KeygenBlock}
|
|
911
|
+
* @memberof KeygenResponse
|
|
912
|
+
*/
|
|
913
|
+
'keygen_block': KeygenBlock;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @type {string}
|
|
917
|
+
* @memberof KeygenResponse
|
|
918
|
+
*/
|
|
919
|
+
'signature': string;
|
|
920
|
+
}
|
|
759
921
|
/**
|
|
760
922
|
*
|
|
761
923
|
* @export
|
|
@@ -805,13 +967,13 @@ export interface KeysignResponse {
|
|
|
805
967
|
* @type {KeysignInfo}
|
|
806
968
|
* @memberof KeysignResponse
|
|
807
969
|
*/
|
|
808
|
-
'keysign'
|
|
970
|
+
'keysign': KeysignInfo;
|
|
809
971
|
/**
|
|
810
972
|
*
|
|
811
973
|
* @type {string}
|
|
812
974
|
* @memberof KeysignResponse
|
|
813
975
|
*/
|
|
814
|
-
'signature'
|
|
976
|
+
'signature': string;
|
|
815
977
|
}
|
|
816
978
|
/**
|
|
817
979
|
*
|
|
@@ -928,31 +1090,31 @@ export interface LiquidityProvider {
|
|
|
928
1090
|
* @type {string}
|
|
929
1091
|
* @memberof LiquidityProvider
|
|
930
1092
|
*/
|
|
931
|
-
'rune_redeem_value'
|
|
1093
|
+
'rune_redeem_value'?: string;
|
|
932
1094
|
/**
|
|
933
1095
|
*
|
|
934
1096
|
* @type {string}
|
|
935
1097
|
* @memberof LiquidityProvider
|
|
936
1098
|
*/
|
|
937
|
-
'asset_redeem_value'
|
|
1099
|
+
'asset_redeem_value'?: string;
|
|
938
1100
|
/**
|
|
939
1101
|
*
|
|
940
1102
|
* @type {string}
|
|
941
1103
|
* @memberof LiquidityProvider
|
|
942
1104
|
*/
|
|
943
|
-
'luvi_deposit_value'
|
|
1105
|
+
'luvi_deposit_value'?: string;
|
|
944
1106
|
/**
|
|
945
1107
|
*
|
|
946
1108
|
* @type {string}
|
|
947
1109
|
* @memberof LiquidityProvider
|
|
948
1110
|
*/
|
|
949
|
-
'luvi_redeem_value'
|
|
1111
|
+
'luvi_redeem_value'?: string;
|
|
950
1112
|
/**
|
|
951
1113
|
*
|
|
952
1114
|
* @type {string}
|
|
953
1115
|
* @memberof LiquidityProvider
|
|
954
1116
|
*/
|
|
955
|
-
'luvi_growth_pct'
|
|
1117
|
+
'luvi_growth_pct'?: string;
|
|
956
1118
|
}
|
|
957
1119
|
/**
|
|
958
1120
|
*
|
|
@@ -1085,31 +1247,39 @@ export interface MimirV2IDsResponse {
|
|
|
1085
1247
|
* @type {number}
|
|
1086
1248
|
* @memberof MimirV2IDsResponse
|
|
1087
1249
|
*/
|
|
1088
|
-
'id'
|
|
1250
|
+
'id': number;
|
|
1089
1251
|
/**
|
|
1090
1252
|
*
|
|
1091
1253
|
* @type {string}
|
|
1092
1254
|
* @memberof MimirV2IDsResponse
|
|
1093
1255
|
*/
|
|
1094
|
-
'name'
|
|
1256
|
+
'name': string;
|
|
1095
1257
|
/**
|
|
1096
1258
|
*
|
|
1097
1259
|
* @type {string}
|
|
1098
1260
|
* @memberof MimirV2IDsResponse
|
|
1099
1261
|
*/
|
|
1100
|
-
'
|
|
1262
|
+
'vote_key': string;
|
|
1101
1263
|
/**
|
|
1102
1264
|
*
|
|
1103
1265
|
* @type {string}
|
|
1104
1266
|
* @memberof MimirV2IDsResponse
|
|
1105
1267
|
*/
|
|
1106
|
-
'
|
|
1268
|
+
'legacy_key': string;
|
|
1107
1269
|
/**
|
|
1108
1270
|
*
|
|
1109
|
-
* @type {
|
|
1271
|
+
* @type {string}
|
|
1110
1272
|
* @memberof MimirV2IDsResponse
|
|
1111
1273
|
*/
|
|
1112
|
-
'
|
|
1274
|
+
'type': string;
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @type {{ [key: string]: number; }}
|
|
1278
|
+
* @memberof MimirV2IDsResponse
|
|
1279
|
+
*/
|
|
1280
|
+
'votes': {
|
|
1281
|
+
[key: string]: number;
|
|
1282
|
+
};
|
|
1113
1283
|
}
|
|
1114
1284
|
/**
|
|
1115
1285
|
*
|
|
@@ -1203,11 +1373,11 @@ export interface MsgSwap {
|
|
|
1203
1373
|
*/
|
|
1204
1374
|
'aggregator_target_limit'?: string;
|
|
1205
1375
|
/**
|
|
1206
|
-
*
|
|
1207
|
-
* @type {
|
|
1376
|
+
* market if immediately completed or refunded, limit if held until fulfillable
|
|
1377
|
+
* @type {string}
|
|
1208
1378
|
* @memberof MsgSwap
|
|
1209
1379
|
*/
|
|
1210
|
-
'order_type'?:
|
|
1380
|
+
'order_type'?: string;
|
|
1211
1381
|
/**
|
|
1212
1382
|
* number of swaps to execute in a streaming swap
|
|
1213
1383
|
* @type {number}
|
|
@@ -1494,13 +1664,13 @@ export interface NodeBondProviders {
|
|
|
1494
1664
|
* @type {string}
|
|
1495
1665
|
* @memberof NodeBondProviders
|
|
1496
1666
|
*/
|
|
1497
|
-
'node_operator_fee'
|
|
1667
|
+
'node_operator_fee': string;
|
|
1498
1668
|
/**
|
|
1499
|
-
*
|
|
1500
|
-
* @type {NodeBondProvider}
|
|
1669
|
+
* all the bond providers for the node
|
|
1670
|
+
* @type {Array<NodeBondProvider>}
|
|
1501
1671
|
* @memberof NodeBondProviders
|
|
1502
1672
|
*/
|
|
1503
|
-
'providers'
|
|
1673
|
+
'providers': Array<NodeBondProvider>;
|
|
1504
1674
|
}
|
|
1505
1675
|
/**
|
|
1506
1676
|
*
|
|
@@ -1669,6 +1839,81 @@ export declare const ObservedTxStatusEnum: {
|
|
|
1669
1839
|
readonly Incomplete: "incomplete";
|
|
1670
1840
|
};
|
|
1671
1841
|
export type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof ObservedTxStatusEnum];
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @export
|
|
1845
|
+
* @interface OutboundDelayStage
|
|
1846
|
+
*/
|
|
1847
|
+
export interface OutboundDelayStage {
|
|
1848
|
+
/**
|
|
1849
|
+
* the number of remaining THORChain blocks the outbound will be delayed
|
|
1850
|
+
* @type {number}
|
|
1851
|
+
* @memberof OutboundDelayStage
|
|
1852
|
+
*/
|
|
1853
|
+
'remaining_delay_blocks'?: number;
|
|
1854
|
+
/**
|
|
1855
|
+
* the estimated remaining seconds of the outbound delay before it will be sent
|
|
1856
|
+
* @type {number}
|
|
1857
|
+
* @memberof OutboundDelayStage
|
|
1858
|
+
*/
|
|
1859
|
+
'remaining_delay_seconds'?: number;
|
|
1860
|
+
/**
|
|
1861
|
+
* returns true if no transaction outbound delay remains
|
|
1862
|
+
* @type {boolean}
|
|
1863
|
+
* @memberof OutboundDelayStage
|
|
1864
|
+
*/
|
|
1865
|
+
'completed': boolean;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
*
|
|
1869
|
+
* @export
|
|
1870
|
+
* @interface OutboundFee
|
|
1871
|
+
*/
|
|
1872
|
+
export interface OutboundFee {
|
|
1873
|
+
/**
|
|
1874
|
+
* the asset to display the outbound fee for
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof OutboundFee
|
|
1877
|
+
*/
|
|
1878
|
+
'asset': string;
|
|
1879
|
+
/**
|
|
1880
|
+
* the asset\'s outbound fee, in (1e8-format) units of the asset
|
|
1881
|
+
* @type {string}
|
|
1882
|
+
* @memberof OutboundFee
|
|
1883
|
+
*/
|
|
1884
|
+
'outbound_fee': string;
|
|
1885
|
+
/**
|
|
1886
|
+
* Total RUNE the network has withheld as fees to later cover gas costs for this asset\'s outbounds
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof OutboundFee
|
|
1889
|
+
*/
|
|
1890
|
+
'fee_withheld_rune'?: string;
|
|
1891
|
+
/**
|
|
1892
|
+
* Total RUNE the network has spent to reimburse gas costs for this asset\'s outbounds
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof OutboundFee
|
|
1895
|
+
*/
|
|
1896
|
+
'fee_spent_rune'?: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* amount of RUNE by which the fee_withheld_rune exceeds the fee_spent_rune
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof OutboundFee
|
|
1901
|
+
*/
|
|
1902
|
+
'surplus_rune'?: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* dynamic multiplier basis points, based on the surplus_rune, affecting the size of the outbound_fee
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof OutboundFee
|
|
1907
|
+
*/
|
|
1908
|
+
'dynamic_multiplier_basis_points'?: string;
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
*
|
|
1912
|
+
* @export
|
|
1913
|
+
* @interface OutboundFeesResponse
|
|
1914
|
+
*/
|
|
1915
|
+
export interface OutboundFeesResponse extends Array<OutboundFee> {
|
|
1916
|
+
}
|
|
1672
1917
|
/**
|
|
1673
1918
|
*
|
|
1674
1919
|
* @export
|
|
@@ -1676,6 +1921,31 @@ export type ObservedTxStatusEnum = typeof ObservedTxStatusEnum[keyof typeof Obse
|
|
|
1676
1921
|
*/
|
|
1677
1922
|
export interface OutboundResponse extends Array<TxOutItem> {
|
|
1678
1923
|
}
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @export
|
|
1927
|
+
* @interface OutboundSignedStage
|
|
1928
|
+
*/
|
|
1929
|
+
export interface OutboundSignedStage {
|
|
1930
|
+
/**
|
|
1931
|
+
* THORChain height for which the external outbound is scheduled
|
|
1932
|
+
* @type {number}
|
|
1933
|
+
* @memberof OutboundSignedStage
|
|
1934
|
+
*/
|
|
1935
|
+
'scheduled_outbound_height'?: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* THORChain blocks since the scheduled outbound height
|
|
1938
|
+
* @type {number}
|
|
1939
|
+
* @memberof OutboundSignedStage
|
|
1940
|
+
*/
|
|
1941
|
+
'blocks_since_scheduled'?: number;
|
|
1942
|
+
/**
|
|
1943
|
+
* returns true if an external transaction has been signed and broadcast (and observed in its mempool)
|
|
1944
|
+
* @type {boolean}
|
|
1945
|
+
* @memberof OutboundSignedStage
|
|
1946
|
+
*/
|
|
1947
|
+
'completed': boolean;
|
|
1948
|
+
}
|
|
1679
1949
|
/**
|
|
1680
1950
|
*
|
|
1681
1951
|
* @export
|
|
@@ -1726,6 +1996,37 @@ export interface Ping {
|
|
|
1726
1996
|
*/
|
|
1727
1997
|
'ping'?: string;
|
|
1728
1998
|
}
|
|
1999
|
+
/**
|
|
2000
|
+
*
|
|
2001
|
+
* @export
|
|
2002
|
+
* @interface PlannedOutTx
|
|
2003
|
+
*/
|
|
2004
|
+
export interface PlannedOutTx {
|
|
2005
|
+
/**
|
|
2006
|
+
*
|
|
2007
|
+
* @type {string}
|
|
2008
|
+
* @memberof PlannedOutTx
|
|
2009
|
+
*/
|
|
2010
|
+
'chain': string;
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @type {string}
|
|
2014
|
+
* @memberof PlannedOutTx
|
|
2015
|
+
*/
|
|
2016
|
+
'to_address': string;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @type {Coin}
|
|
2020
|
+
* @memberof PlannedOutTx
|
|
2021
|
+
*/
|
|
2022
|
+
'coin': Coin;
|
|
2023
|
+
/**
|
|
2024
|
+
* returns true if the planned transaction has a refund memo
|
|
2025
|
+
* @type {boolean}
|
|
2026
|
+
* @memberof PlannedOutTx
|
|
2027
|
+
*/
|
|
2028
|
+
'refund': boolean;
|
|
2029
|
+
}
|
|
1729
2030
|
/**
|
|
1730
2031
|
*
|
|
1731
2032
|
* @export
|
|
@@ -1780,6 +2081,12 @@ export interface Pool {
|
|
|
1780
2081
|
* @memberof Pool
|
|
1781
2082
|
*/
|
|
1782
2083
|
'balance_rune': string;
|
|
2084
|
+
/**
|
|
2085
|
+
* the USD (TOR) price of the asset in 1e8
|
|
2086
|
+
* @type {string}
|
|
2087
|
+
* @memberof Pool
|
|
2088
|
+
*/
|
|
2089
|
+
'asset_tor_price': string;
|
|
1783
2090
|
/**
|
|
1784
2091
|
* the total pool units, this is the sum of LP and synth units
|
|
1785
2092
|
* @type {string}
|
|
@@ -1853,6 +2160,56 @@ export interface Pool {
|
|
|
1853
2160
|
*/
|
|
1854
2161
|
'derived_depth_bps': string;
|
|
1855
2162
|
}
|
|
2163
|
+
/**
|
|
2164
|
+
*
|
|
2165
|
+
* @export
|
|
2166
|
+
* @interface PoolSlipResponse
|
|
2167
|
+
*/
|
|
2168
|
+
export interface PoolSlipResponse extends Array<PoolSlipResponseInner> {
|
|
2169
|
+
}
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @export
|
|
2173
|
+
* @interface PoolSlipResponseInner
|
|
2174
|
+
*/
|
|
2175
|
+
export interface PoolSlipResponseInner {
|
|
2176
|
+
/**
|
|
2177
|
+
*
|
|
2178
|
+
* @type {string}
|
|
2179
|
+
* @memberof PoolSlipResponseInner
|
|
2180
|
+
*/
|
|
2181
|
+
'asset': string;
|
|
2182
|
+
/**
|
|
2183
|
+
* Pool slip for this asset\'s pool for the current height
|
|
2184
|
+
* @type {number}
|
|
2185
|
+
* @memberof PoolSlipResponseInner
|
|
2186
|
+
*/
|
|
2187
|
+
'pool_slip': number;
|
|
2188
|
+
/**
|
|
2189
|
+
* Number of stored pool slips contributing to the current stored rollup
|
|
2190
|
+
* @type {number}
|
|
2191
|
+
* @memberof PoolSlipResponseInner
|
|
2192
|
+
*/
|
|
2193
|
+
'rollup_count': number;
|
|
2194
|
+
/**
|
|
2195
|
+
* Median of rollup snapshots over a long period
|
|
2196
|
+
* @type {number}
|
|
2197
|
+
* @memberof PoolSlipResponseInner
|
|
2198
|
+
*/
|
|
2199
|
+
'long_rollup': number;
|
|
2200
|
+
/**
|
|
2201
|
+
* Stored sum of pool slips over a number of previous block heights
|
|
2202
|
+
* @type {number}
|
|
2203
|
+
* @memberof PoolSlipResponseInner
|
|
2204
|
+
*/
|
|
2205
|
+
'rollup': number;
|
|
2206
|
+
/**
|
|
2207
|
+
* Summed pool slips over a number of previous block heights, to checksum the stored rollup
|
|
2208
|
+
* @type {number}
|
|
2209
|
+
* @memberof PoolSlipResponseInner
|
|
2210
|
+
*/
|
|
2211
|
+
'summed_rollup'?: number;
|
|
2212
|
+
}
|
|
1856
2213
|
/**
|
|
1857
2214
|
*
|
|
1858
2215
|
* @export
|
|
@@ -2036,6 +2393,18 @@ export interface QuoteLoanCloseResponse {
|
|
|
2036
2393
|
* @memberof QuoteLoanCloseResponse
|
|
2037
2394
|
*/
|
|
2038
2395
|
'recommended_min_amount_in'?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2398
|
+
* @type {string}
|
|
2399
|
+
* @memberof QuoteLoanCloseResponse
|
|
2400
|
+
*/
|
|
2401
|
+
'recommended_gas_rate'?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* the units of the recommended gas rate
|
|
2404
|
+
* @type {string}
|
|
2405
|
+
* @memberof QuoteLoanCloseResponse
|
|
2406
|
+
*/
|
|
2407
|
+
'gas_rate_units'?: string;
|
|
2039
2408
|
/**
|
|
2040
2409
|
* generated memo for the loan close
|
|
2041
2410
|
* @type {string}
|
|
@@ -2175,6 +2544,18 @@ export interface QuoteLoanOpenResponse {
|
|
|
2175
2544
|
* @memberof QuoteLoanOpenResponse
|
|
2176
2545
|
*/
|
|
2177
2546
|
'recommended_min_amount_in'?: string;
|
|
2547
|
+
/**
|
|
2548
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2549
|
+
* @type {string}
|
|
2550
|
+
* @memberof QuoteLoanOpenResponse
|
|
2551
|
+
*/
|
|
2552
|
+
'recommended_gas_rate': string;
|
|
2553
|
+
/**
|
|
2554
|
+
* the units of the recommended gas rate
|
|
2555
|
+
* @type {string}
|
|
2556
|
+
* @memberof QuoteLoanOpenResponse
|
|
2557
|
+
*/
|
|
2558
|
+
'gas_rate_units': string;
|
|
2178
2559
|
/**
|
|
2179
2560
|
* generated memo for the loan open
|
|
2180
2561
|
* @type {string}
|
|
@@ -2314,6 +2695,18 @@ export interface QuoteSaverDepositResponse {
|
|
|
2314
2695
|
* @memberof QuoteSaverDepositResponse
|
|
2315
2696
|
*/
|
|
2316
2697
|
'recommended_min_amount_in'?: string;
|
|
2698
|
+
/**
|
|
2699
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2700
|
+
* @type {string}
|
|
2701
|
+
* @memberof QuoteSaverDepositResponse
|
|
2702
|
+
*/
|
|
2703
|
+
'recommended_gas_rate': string;
|
|
2704
|
+
/**
|
|
2705
|
+
* the units of the recommended gas rate
|
|
2706
|
+
* @type {string}
|
|
2707
|
+
* @memberof QuoteSaverDepositResponse
|
|
2708
|
+
*/
|
|
2709
|
+
'gas_rate_units': string;
|
|
2317
2710
|
/**
|
|
2318
2711
|
* generated memo for the deposit
|
|
2319
2712
|
* @type {string}
|
|
@@ -2423,6 +2816,18 @@ export interface QuoteSaverWithdrawResponse {
|
|
|
2423
2816
|
* @memberof QuoteSaverWithdrawResponse
|
|
2424
2817
|
*/
|
|
2425
2818
|
'recommended_min_amount_in'?: string;
|
|
2819
|
+
/**
|
|
2820
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2821
|
+
* @type {string}
|
|
2822
|
+
* @memberof QuoteSaverWithdrawResponse
|
|
2823
|
+
*/
|
|
2824
|
+
'recommended_gas_rate': string;
|
|
2825
|
+
/**
|
|
2826
|
+
* the units of the recommended gas rate
|
|
2827
|
+
* @type {string}
|
|
2828
|
+
* @memberof QuoteSaverWithdrawResponse
|
|
2829
|
+
*/
|
|
2830
|
+
'gas_rate_units': string;
|
|
2426
2831
|
/**
|
|
2427
2832
|
* generated memo for the withdraw, the client can use this OR send the dust amount
|
|
2428
2833
|
* @type {string}
|
|
@@ -2532,6 +2937,18 @@ export interface QuoteSwapResponse {
|
|
|
2532
2937
|
* @memberof QuoteSwapResponse
|
|
2533
2938
|
*/
|
|
2534
2939
|
'recommended_min_amount_in'?: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2942
|
+
* @type {string}
|
|
2943
|
+
* @memberof QuoteSwapResponse
|
|
2944
|
+
*/
|
|
2945
|
+
'recommended_gas_rate'?: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* the units of the recommended gas rate
|
|
2948
|
+
* @type {string}
|
|
2949
|
+
* @memberof QuoteSwapResponse
|
|
2950
|
+
*/
|
|
2951
|
+
'gas_rate_units'?: string;
|
|
2535
2952
|
/**
|
|
2536
2953
|
* generated memo for the swap
|
|
2537
2954
|
* @type {string}
|
|
@@ -2644,6 +3061,31 @@ export interface SaversResponse extends Array<Saver> {
|
|
|
2644
3061
|
*/
|
|
2645
3062
|
export interface ScheduledResponse extends Array<TxOutItem> {
|
|
2646
3063
|
}
|
|
3064
|
+
/**
|
|
3065
|
+
*
|
|
3066
|
+
* @export
|
|
3067
|
+
* @interface StreamingStatus
|
|
3068
|
+
*/
|
|
3069
|
+
export interface StreamingStatus {
|
|
3070
|
+
/**
|
|
3071
|
+
* how often each swap is made, in blocks
|
|
3072
|
+
* @type {number}
|
|
3073
|
+
* @memberof StreamingStatus
|
|
3074
|
+
*/
|
|
3075
|
+
'interval': number;
|
|
3076
|
+
/**
|
|
3077
|
+
* the total number of swaps in a streaming swaps
|
|
3078
|
+
* @type {number}
|
|
3079
|
+
* @memberof StreamingStatus
|
|
3080
|
+
*/
|
|
3081
|
+
'quantity': number;
|
|
3082
|
+
/**
|
|
3083
|
+
* the amount of swap attempts so far
|
|
3084
|
+
* @type {number}
|
|
3085
|
+
* @memberof StreamingStatus
|
|
3086
|
+
*/
|
|
3087
|
+
'count': number;
|
|
3088
|
+
}
|
|
2647
3089
|
/**
|
|
2648
3090
|
*
|
|
2649
3091
|
* @export
|
|
@@ -2742,6 +3184,19 @@ export interface StreamingSwap {
|
|
|
2742
3184
|
*/
|
|
2743
3185
|
export interface StreamingSwapsResponse extends Array<StreamingSwap> {
|
|
2744
3186
|
}
|
|
3187
|
+
/**
|
|
3188
|
+
*
|
|
3189
|
+
* @export
|
|
3190
|
+
* @interface SwapFinalisedStage
|
|
3191
|
+
*/
|
|
3192
|
+
export interface SwapFinalisedStage {
|
|
3193
|
+
/**
|
|
3194
|
+
* (to be deprecated in favor of swap_status) returns true if an inbound transaction\'s swap (successful or refunded) is no longer pending
|
|
3195
|
+
* @type {boolean}
|
|
3196
|
+
* @memberof SwapFinalisedStage
|
|
3197
|
+
*/
|
|
3198
|
+
'completed': boolean;
|
|
3199
|
+
}
|
|
2745
3200
|
/**
|
|
2746
3201
|
*
|
|
2747
3202
|
* @export
|
|
@@ -2749,6 +3204,25 @@ export interface StreamingSwapsResponse extends Array<StreamingSwap> {
|
|
|
2749
3204
|
*/
|
|
2750
3205
|
export interface SwapQueueResponse extends Array<MsgSwap> {
|
|
2751
3206
|
}
|
|
3207
|
+
/**
|
|
3208
|
+
*
|
|
3209
|
+
* @export
|
|
3210
|
+
* @interface SwapStatus
|
|
3211
|
+
*/
|
|
3212
|
+
export interface SwapStatus {
|
|
3213
|
+
/**
|
|
3214
|
+
* true when awaiting a swap
|
|
3215
|
+
* @type {boolean}
|
|
3216
|
+
* @memberof SwapStatus
|
|
3217
|
+
*/
|
|
3218
|
+
'pending': boolean;
|
|
3219
|
+
/**
|
|
3220
|
+
*
|
|
3221
|
+
* @type {StreamingStatus}
|
|
3222
|
+
* @memberof SwapStatus
|
|
3223
|
+
*/
|
|
3224
|
+
'streaming'?: StreamingStatus;
|
|
3225
|
+
}
|
|
2752
3226
|
/**
|
|
2753
3227
|
*
|
|
2754
3228
|
* @export
|
|
@@ -3149,7 +3623,7 @@ export interface TxOutItem {
|
|
|
3149
3623
|
* @type {number}
|
|
3150
3624
|
* @memberof TxOutItem
|
|
3151
3625
|
*/
|
|
3152
|
-
'height'
|
|
3626
|
+
'height'?: number;
|
|
3153
3627
|
/**
|
|
3154
3628
|
* clout spent in RUNE for the outbound
|
|
3155
3629
|
* @type {string}
|
|
@@ -3269,240 +3743,46 @@ export interface TxSignersResponse {
|
|
|
3269
3743
|
export interface TxStagesResponse {
|
|
3270
3744
|
/**
|
|
3271
3745
|
*
|
|
3272
|
-
* @type {
|
|
3273
|
-
* @memberof TxStagesResponse
|
|
3274
|
-
*/
|
|
3275
|
-
'inbound_observed': TxStagesResponseInboundObserved;
|
|
3276
|
-
/**
|
|
3277
|
-
*
|
|
3278
|
-
* @type {TxStagesResponseInboundConfirmationCounted}
|
|
3746
|
+
* @type {InboundObservedStage}
|
|
3279
3747
|
* @memberof TxStagesResponse
|
|
3280
3748
|
*/
|
|
3281
|
-
'
|
|
3749
|
+
'inbound_observed': InboundObservedStage;
|
|
3282
3750
|
/**
|
|
3283
3751
|
*
|
|
3284
|
-
* @type {
|
|
3752
|
+
* @type {InboundConfirmationCountedStage}
|
|
3285
3753
|
* @memberof TxStagesResponse
|
|
3286
3754
|
*/
|
|
3287
|
-
'
|
|
3755
|
+
'inbound_confirmation_counted'?: InboundConfirmationCountedStage;
|
|
3288
3756
|
/**
|
|
3289
3757
|
*
|
|
3290
|
-
* @type {
|
|
3758
|
+
* @type {InboundFinalisedStage}
|
|
3291
3759
|
* @memberof TxStagesResponse
|
|
3292
3760
|
*/
|
|
3293
|
-
'
|
|
3761
|
+
'inbound_finalised'?: InboundFinalisedStage;
|
|
3294
3762
|
/**
|
|
3295
3763
|
*
|
|
3296
|
-
* @type {
|
|
3764
|
+
* @type {SwapStatus}
|
|
3297
3765
|
* @memberof TxStagesResponse
|
|
3298
3766
|
*/
|
|
3299
|
-
'
|
|
3767
|
+
'swap_status'?: SwapStatus;
|
|
3300
3768
|
/**
|
|
3301
3769
|
*
|
|
3302
|
-
* @type {
|
|
3770
|
+
* @type {SwapFinalisedStage}
|
|
3303
3771
|
* @memberof TxStagesResponse
|
|
3304
3772
|
*/
|
|
3305
|
-
'
|
|
3306
|
-
/**
|
|
3307
|
-
*
|
|
3308
|
-
* @type {TxStagesResponseOutboundSigned}
|
|
3309
|
-
* @memberof TxStagesResponse
|
|
3310
|
-
*/
|
|
3311
|
-
'outbound_signed'?: TxStagesResponseOutboundSigned;
|
|
3312
|
-
}
|
|
3313
|
-
/**
|
|
3314
|
-
*
|
|
3315
|
-
* @export
|
|
3316
|
-
* @interface TxStagesResponseInboundConfirmationCounted
|
|
3317
|
-
*/
|
|
3318
|
-
export interface TxStagesResponseInboundConfirmationCounted {
|
|
3319
|
-
/**
|
|
3320
|
-
* the THORChain block height when confirmation counting began
|
|
3321
|
-
* @type {number}
|
|
3322
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3323
|
-
*/
|
|
3324
|
-
'counting_start_height'?: number;
|
|
3325
|
-
/**
|
|
3326
|
-
* the external source chain for which confirmation counting takes place
|
|
3327
|
-
* @type {string}
|
|
3328
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3329
|
-
*/
|
|
3330
|
-
'chain'?: string;
|
|
3331
|
-
/**
|
|
3332
|
-
* the block height on the external source chain when the transaction was observed
|
|
3333
|
-
* @type {number}
|
|
3334
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3335
|
-
*/
|
|
3336
|
-
'external_observed_height'?: number;
|
|
3337
|
-
/**
|
|
3338
|
-
* the block height on the external source chain when confirmation counting will be complete
|
|
3339
|
-
* @type {number}
|
|
3340
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3341
|
-
*/
|
|
3342
|
-
'external_confirmation_delay_height'?: number;
|
|
3343
|
-
/**
|
|
3344
|
-
* the estimated remaining seconds before confirmation counting completes
|
|
3345
|
-
* @type {number}
|
|
3346
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3347
|
-
*/
|
|
3348
|
-
'remaining_confirmation_seconds'?: number;
|
|
3349
|
-
/**
|
|
3350
|
-
* returns true if no transaction confirmation counting remains to be done
|
|
3351
|
-
* @type {boolean}
|
|
3352
|
-
* @memberof TxStagesResponseInboundConfirmationCounted
|
|
3353
|
-
*/
|
|
3354
|
-
'completed': boolean;
|
|
3355
|
-
}
|
|
3356
|
-
/**
|
|
3357
|
-
*
|
|
3358
|
-
* @export
|
|
3359
|
-
* @interface TxStagesResponseInboundFinalised
|
|
3360
|
-
*/
|
|
3361
|
-
export interface TxStagesResponseInboundFinalised {
|
|
3362
|
-
/**
|
|
3363
|
-
* returns true if the inbound transaction has been finalised (THORChain agreeing it exists)
|
|
3364
|
-
* @type {boolean}
|
|
3365
|
-
* @memberof TxStagesResponseInboundFinalised
|
|
3366
|
-
*/
|
|
3367
|
-
'completed': boolean;
|
|
3368
|
-
}
|
|
3369
|
-
/**
|
|
3370
|
-
*
|
|
3371
|
-
* @export
|
|
3372
|
-
* @interface TxStagesResponseInboundObserved
|
|
3373
|
-
*/
|
|
3374
|
-
export interface TxStagesResponseInboundObserved {
|
|
3375
|
-
/**
|
|
3376
|
-
* returns true if any nodes have observed the transaction (to be deprecated in favour of counts)
|
|
3377
|
-
* @type {boolean}
|
|
3378
|
-
* @memberof TxStagesResponseInboundObserved
|
|
3379
|
-
*/
|
|
3380
|
-
'started'?: boolean;
|
|
3381
|
-
/**
|
|
3382
|
-
* number of signers for pre-confirmation-counting observations
|
|
3383
|
-
* @type {number}
|
|
3384
|
-
* @memberof TxStagesResponseInboundObserved
|
|
3385
|
-
*/
|
|
3386
|
-
'pre_confirmation_count'?: number;
|
|
3387
|
-
/**
|
|
3388
|
-
* number of signers for final observations, after any confirmation counting complete
|
|
3389
|
-
* @type {number}
|
|
3390
|
-
* @memberof TxStagesResponseInboundObserved
|
|
3391
|
-
*/
|
|
3392
|
-
'final_count'?: number;
|
|
3393
|
-
/**
|
|
3394
|
-
* returns true if no transaction observation remains to be done
|
|
3395
|
-
* @type {boolean}
|
|
3396
|
-
* @memberof TxStagesResponseInboundObserved
|
|
3397
|
-
*/
|
|
3398
|
-
'completed': boolean;
|
|
3399
|
-
}
|
|
3400
|
-
/**
|
|
3401
|
-
*
|
|
3402
|
-
* @export
|
|
3403
|
-
* @interface TxStagesResponseOutboundDelay
|
|
3404
|
-
*/
|
|
3405
|
-
export interface TxStagesResponseOutboundDelay {
|
|
3406
|
-
/**
|
|
3407
|
-
* the number of remaining THORChain blocks the outbound will be delayed
|
|
3408
|
-
* @type {number}
|
|
3409
|
-
* @memberof TxStagesResponseOutboundDelay
|
|
3410
|
-
*/
|
|
3411
|
-
'remaining_delay_blocks'?: number;
|
|
3412
|
-
/**
|
|
3413
|
-
* the estimated remaining seconds of the outbound delay before it will be sent
|
|
3414
|
-
* @type {number}
|
|
3415
|
-
* @memberof TxStagesResponseOutboundDelay
|
|
3416
|
-
*/
|
|
3417
|
-
'remaining_delay_seconds'?: number;
|
|
3418
|
-
/**
|
|
3419
|
-
* returns true if no transaction outbound delay remains
|
|
3420
|
-
* @type {boolean}
|
|
3421
|
-
* @memberof TxStagesResponseOutboundDelay
|
|
3422
|
-
*/
|
|
3423
|
-
'completed': boolean;
|
|
3424
|
-
}
|
|
3425
|
-
/**
|
|
3426
|
-
*
|
|
3427
|
-
* @export
|
|
3428
|
-
* @interface TxStagesResponseOutboundSigned
|
|
3429
|
-
*/
|
|
3430
|
-
export interface TxStagesResponseOutboundSigned {
|
|
3431
|
-
/**
|
|
3432
|
-
* THORChain height for which the external outbound is scheduled
|
|
3433
|
-
* @type {number}
|
|
3434
|
-
* @memberof TxStagesResponseOutboundSigned
|
|
3435
|
-
*/
|
|
3436
|
-
'scheduled_outbound_height'?: number;
|
|
3437
|
-
/**
|
|
3438
|
-
* THORChain blocks since the scheduled outbound height
|
|
3439
|
-
* @type {number}
|
|
3440
|
-
* @memberof TxStagesResponseOutboundSigned
|
|
3441
|
-
*/
|
|
3442
|
-
'blocks_since_scheduled'?: number;
|
|
3443
|
-
/**
|
|
3444
|
-
* returns true if an external transaction has been signed and broadcast (and observed in its mempool)
|
|
3445
|
-
* @type {boolean}
|
|
3446
|
-
* @memberof TxStagesResponseOutboundSigned
|
|
3447
|
-
*/
|
|
3448
|
-
'completed': boolean;
|
|
3449
|
-
}
|
|
3450
|
-
/**
|
|
3451
|
-
*
|
|
3452
|
-
* @export
|
|
3453
|
-
* @interface TxStagesResponseSwapFinalised
|
|
3454
|
-
*/
|
|
3455
|
-
export interface TxStagesResponseSwapFinalised {
|
|
3456
|
-
/**
|
|
3457
|
-
* (to be deprecated in favor of swap_status) returns true if an inbound transaction\'s swap (successful or refunded) is no longer pending
|
|
3458
|
-
* @type {boolean}
|
|
3459
|
-
* @memberof TxStagesResponseSwapFinalised
|
|
3460
|
-
*/
|
|
3461
|
-
'completed': boolean;
|
|
3462
|
-
}
|
|
3463
|
-
/**
|
|
3464
|
-
*
|
|
3465
|
-
* @export
|
|
3466
|
-
* @interface TxStagesResponseSwapStatus
|
|
3467
|
-
*/
|
|
3468
|
-
export interface TxStagesResponseSwapStatus {
|
|
3469
|
-
/**
|
|
3470
|
-
* true when awaiting a swap
|
|
3471
|
-
* @type {boolean}
|
|
3472
|
-
* @memberof TxStagesResponseSwapStatus
|
|
3473
|
-
*/
|
|
3474
|
-
'pending': boolean;
|
|
3773
|
+
'swap_finalised'?: SwapFinalisedStage;
|
|
3475
3774
|
/**
|
|
3476
3775
|
*
|
|
3477
|
-
* @type {
|
|
3478
|
-
* @memberof
|
|
3479
|
-
*/
|
|
3480
|
-
'streaming'?: TxStagesResponseSwapStatusStreaming;
|
|
3481
|
-
}
|
|
3482
|
-
/**
|
|
3483
|
-
*
|
|
3484
|
-
* @export
|
|
3485
|
-
* @interface TxStagesResponseSwapStatusStreaming
|
|
3486
|
-
*/
|
|
3487
|
-
export interface TxStagesResponseSwapStatusStreaming {
|
|
3488
|
-
/**
|
|
3489
|
-
* how often each swap is made, in blocks
|
|
3490
|
-
* @type {number}
|
|
3491
|
-
* @memberof TxStagesResponseSwapStatusStreaming
|
|
3492
|
-
*/
|
|
3493
|
-
'interval': number;
|
|
3494
|
-
/**
|
|
3495
|
-
* the total number of swaps in a streaming swaps
|
|
3496
|
-
* @type {number}
|
|
3497
|
-
* @memberof TxStagesResponseSwapStatusStreaming
|
|
3776
|
+
* @type {OutboundDelayStage}
|
|
3777
|
+
* @memberof TxStagesResponse
|
|
3498
3778
|
*/
|
|
3499
|
-
'
|
|
3779
|
+
'outbound_delay'?: OutboundDelayStage;
|
|
3500
3780
|
/**
|
|
3501
|
-
*
|
|
3502
|
-
* @type {
|
|
3503
|
-
* @memberof
|
|
3781
|
+
*
|
|
3782
|
+
* @type {OutboundSignedStage}
|
|
3783
|
+
* @memberof TxStagesResponse
|
|
3504
3784
|
*/
|
|
3505
|
-
'
|
|
3785
|
+
'outbound_signed'?: OutboundSignedStage;
|
|
3506
3786
|
}
|
|
3507
3787
|
/**
|
|
3508
3788
|
*
|
|
@@ -3518,10 +3798,10 @@ export interface TxStatusResponse {
|
|
|
3518
3798
|
'tx'?: Tx;
|
|
3519
3799
|
/**
|
|
3520
3800
|
*
|
|
3521
|
-
* @type {Array<
|
|
3801
|
+
* @type {Array<PlannedOutTx>}
|
|
3522
3802
|
* @memberof TxStatusResponse
|
|
3523
3803
|
*/
|
|
3524
|
-
'planned_out_txs'?: Array<
|
|
3804
|
+
'planned_out_txs'?: Array<PlannedOutTx>;
|
|
3525
3805
|
/**
|
|
3526
3806
|
*
|
|
3527
3807
|
* @type {Array<Tx>}
|
|
@@ -3535,37 +3815,6 @@ export interface TxStatusResponse {
|
|
|
3535
3815
|
*/
|
|
3536
3816
|
'stages': TxStagesResponse;
|
|
3537
3817
|
}
|
|
3538
|
-
/**
|
|
3539
|
-
*
|
|
3540
|
-
* @export
|
|
3541
|
-
* @interface TxStatusResponsePlannedOutTxsInner
|
|
3542
|
-
*/
|
|
3543
|
-
export interface TxStatusResponsePlannedOutTxsInner {
|
|
3544
|
-
/**
|
|
3545
|
-
*
|
|
3546
|
-
* @type {string}
|
|
3547
|
-
* @memberof TxStatusResponsePlannedOutTxsInner
|
|
3548
|
-
*/
|
|
3549
|
-
'chain': string;
|
|
3550
|
-
/**
|
|
3551
|
-
*
|
|
3552
|
-
* @type {string}
|
|
3553
|
-
* @memberof TxStatusResponsePlannedOutTxsInner
|
|
3554
|
-
*/
|
|
3555
|
-
'to_address': string;
|
|
3556
|
-
/**
|
|
3557
|
-
*
|
|
3558
|
-
* @type {Coin}
|
|
3559
|
-
* @memberof TxStatusResponsePlannedOutTxsInner
|
|
3560
|
-
*/
|
|
3561
|
-
'coin': Coin;
|
|
3562
|
-
/**
|
|
3563
|
-
* returns true if the planned transaction has a refund memo
|
|
3564
|
-
* @type {boolean}
|
|
3565
|
-
* @memberof TxStatusResponsePlannedOutTxsInner
|
|
3566
|
-
*/
|
|
3567
|
-
'refund': boolean;
|
|
3568
|
-
}
|
|
3569
3818
|
/**
|
|
3570
3819
|
*
|
|
3571
3820
|
* @export
|
|
@@ -3673,13 +3922,13 @@ export interface VaultAddress {
|
|
|
3673
3922
|
* @type {string}
|
|
3674
3923
|
* @memberof VaultAddress
|
|
3675
3924
|
*/
|
|
3676
|
-
'chain'
|
|
3925
|
+
'chain': string;
|
|
3677
3926
|
/**
|
|
3678
3927
|
*
|
|
3679
3928
|
* @type {string}
|
|
3680
3929
|
* @memberof VaultAddress
|
|
3681
3930
|
*/
|
|
3682
|
-
'address'
|
|
3931
|
+
'address': string;
|
|
3683
3932
|
}
|
|
3684
3933
|
/**
|
|
3685
3934
|
*
|
|
@@ -3782,6 +4031,115 @@ export interface VersionResponse {
|
|
|
3782
4031
|
*/
|
|
3783
4032
|
'querier': string;
|
|
3784
4033
|
}
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @export
|
|
4037
|
+
* @interface YggdrasilVault
|
|
4038
|
+
*/
|
|
4039
|
+
export interface YggdrasilVault {
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {number}
|
|
4043
|
+
* @memberof YggdrasilVault
|
|
4044
|
+
*/
|
|
4045
|
+
'block_height'?: number;
|
|
4046
|
+
/**
|
|
4047
|
+
*
|
|
4048
|
+
* @type {string}
|
|
4049
|
+
* @memberof YggdrasilVault
|
|
4050
|
+
*/
|
|
4051
|
+
'pub_key'?: string;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {Array<Coin>}
|
|
4055
|
+
* @memberof YggdrasilVault
|
|
4056
|
+
*/
|
|
4057
|
+
'coins': Array<Coin>;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {string}
|
|
4061
|
+
* @memberof YggdrasilVault
|
|
4062
|
+
*/
|
|
4063
|
+
'type'?: YggdrasilVaultTypeEnum;
|
|
4064
|
+
/**
|
|
4065
|
+
*
|
|
4066
|
+
* @type {number}
|
|
4067
|
+
* @memberof YggdrasilVault
|
|
4068
|
+
*/
|
|
4069
|
+
'status_since'?: number;
|
|
4070
|
+
/**
|
|
4071
|
+
* the list of node public keys which are members of the vault
|
|
4072
|
+
* @type {Array<string>}
|
|
4073
|
+
* @memberof YggdrasilVault
|
|
4074
|
+
*/
|
|
4075
|
+
'membership'?: Array<string>;
|
|
4076
|
+
/**
|
|
4077
|
+
*
|
|
4078
|
+
* @type {Array<string>}
|
|
4079
|
+
* @memberof YggdrasilVault
|
|
4080
|
+
*/
|
|
4081
|
+
'chains'?: Array<string>;
|
|
4082
|
+
/**
|
|
4083
|
+
*
|
|
4084
|
+
* @type {number}
|
|
4085
|
+
* @memberof YggdrasilVault
|
|
4086
|
+
*/
|
|
4087
|
+
'inbound_tx_count'?: number;
|
|
4088
|
+
/**
|
|
4089
|
+
*
|
|
4090
|
+
* @type {number}
|
|
4091
|
+
* @memberof YggdrasilVault
|
|
4092
|
+
*/
|
|
4093
|
+
'outbound_tx_count'?: number;
|
|
4094
|
+
/**
|
|
4095
|
+
*
|
|
4096
|
+
* @type {Array<number>}
|
|
4097
|
+
* @memberof YggdrasilVault
|
|
4098
|
+
*/
|
|
4099
|
+
'pending_tx_block_heights'?: Array<number>;
|
|
4100
|
+
/**
|
|
4101
|
+
*
|
|
4102
|
+
* @type {Array<VaultRouter>}
|
|
4103
|
+
* @memberof YggdrasilVault
|
|
4104
|
+
*/
|
|
4105
|
+
'routers': Array<VaultRouter>;
|
|
4106
|
+
/**
|
|
4107
|
+
*
|
|
4108
|
+
* @type {string}
|
|
4109
|
+
* @memberof YggdrasilVault
|
|
4110
|
+
*/
|
|
4111
|
+
'status': string;
|
|
4112
|
+
/**
|
|
4113
|
+
* current node bond
|
|
4114
|
+
* @type {string}
|
|
4115
|
+
* @memberof YggdrasilVault
|
|
4116
|
+
*/
|
|
4117
|
+
'bond': string;
|
|
4118
|
+
/**
|
|
4119
|
+
* value in rune of the vault\'s assets
|
|
4120
|
+
* @type {string}
|
|
4121
|
+
* @memberof YggdrasilVault
|
|
4122
|
+
*/
|
|
4123
|
+
'total_value': string;
|
|
4124
|
+
/**
|
|
4125
|
+
*
|
|
4126
|
+
* @type {Array<VaultAddress>}
|
|
4127
|
+
* @memberof YggdrasilVault
|
|
4128
|
+
*/
|
|
4129
|
+
'addresses': Array<VaultAddress>;
|
|
4130
|
+
}
|
|
4131
|
+
export declare const YggdrasilVaultTypeEnum: {
|
|
4132
|
+
readonly AsgardVault: "AsgardVault";
|
|
4133
|
+
readonly YggdrasilVault: "YggdrasilVault";
|
|
4134
|
+
};
|
|
4135
|
+
export type YggdrasilVaultTypeEnum = typeof YggdrasilVaultTypeEnum[keyof typeof YggdrasilVaultTypeEnum];
|
|
4136
|
+
/**
|
|
4137
|
+
*
|
|
4138
|
+
* @export
|
|
4139
|
+
* @interface YggdrasilVaultsResponse
|
|
4140
|
+
*/
|
|
4141
|
+
export interface YggdrasilVaultsResponse extends Array<YggdrasilVault> {
|
|
4142
|
+
}
|
|
3785
4143
|
/**
|
|
3786
4144
|
* BlockApi - axios parameter creator
|
|
3787
4145
|
* @export
|
|
@@ -4513,6 +4871,21 @@ export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4513
4871
|
* @throws {RequiredError}
|
|
4514
4872
|
*/
|
|
4515
4873
|
network: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4874
|
+
/**
|
|
4875
|
+
* Returns the outbound fee information for the provided asset.
|
|
4876
|
+
* @param {string} asset
|
|
4877
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4878
|
+
* @param {*} [options] Override http request option.
|
|
4879
|
+
* @throws {RequiredError}
|
|
4880
|
+
*/
|
|
4881
|
+
outboundFeeAsset: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4882
|
+
/**
|
|
4883
|
+
* Returns the last block information for all chains.
|
|
4884
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4885
|
+
* @param {*} [options] Override http request option.
|
|
4886
|
+
* @throws {RequiredError}
|
|
4887
|
+
*/
|
|
4888
|
+
outboundFees: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4516
4889
|
/**
|
|
4517
4890
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4518
4891
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4577,6 +4950,21 @@ export declare const NetworkApiFp: (configuration?: Configuration) => {
|
|
|
4577
4950
|
* @throws {RequiredError}
|
|
4578
4951
|
*/
|
|
4579
4952
|
network(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NetworkResponse>>;
|
|
4953
|
+
/**
|
|
4954
|
+
* Returns the outbound fee information for the provided asset.
|
|
4955
|
+
* @param {string} asset
|
|
4956
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4957
|
+
* @param {*} [options] Override http request option.
|
|
4958
|
+
* @throws {RequiredError}
|
|
4959
|
+
*/
|
|
4960
|
+
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundFeesResponse>>;
|
|
4961
|
+
/**
|
|
4962
|
+
* Returns the last block information for all chains.
|
|
4963
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4964
|
+
* @param {*} [options] Override http request option.
|
|
4965
|
+
* @throws {RequiredError}
|
|
4966
|
+
*/
|
|
4967
|
+
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundFeesResponse>>;
|
|
4580
4968
|
/**
|
|
4581
4969
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4582
4970
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4641,6 +5029,21 @@ export declare const NetworkApiFactory: (configuration?: Configuration, basePath
|
|
|
4641
5029
|
* @throws {RequiredError}
|
|
4642
5030
|
*/
|
|
4643
5031
|
network(height?: number, options?: any): AxiosPromise<NetworkResponse>;
|
|
5032
|
+
/**
|
|
5033
|
+
* Returns the outbound fee information for the provided asset.
|
|
5034
|
+
* @param {string} asset
|
|
5035
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5036
|
+
* @param {*} [options] Override http request option.
|
|
5037
|
+
* @throws {RequiredError}
|
|
5038
|
+
*/
|
|
5039
|
+
outboundFeeAsset(asset: string, height?: number, options?: any): AxiosPromise<OutboundFeesResponse>;
|
|
5040
|
+
/**
|
|
5041
|
+
* Returns the last block information for all chains.
|
|
5042
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5043
|
+
* @param {*} [options] Override http request option.
|
|
5044
|
+
* @throws {RequiredError}
|
|
5045
|
+
*/
|
|
5046
|
+
outboundFees(height?: number, options?: any): AxiosPromise<OutboundFeesResponse>;
|
|
4644
5047
|
/**
|
|
4645
5048
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4646
5049
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4713,6 +5116,23 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
4713
5116
|
* @memberof NetworkApi
|
|
4714
5117
|
*/
|
|
4715
5118
|
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any>>;
|
|
5119
|
+
/**
|
|
5120
|
+
* Returns the outbound fee information for the provided asset.
|
|
5121
|
+
* @param {string} asset
|
|
5122
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5123
|
+
* @param {*} [options] Override http request option.
|
|
5124
|
+
* @throws {RequiredError}
|
|
5125
|
+
* @memberof NetworkApi
|
|
5126
|
+
*/
|
|
5127
|
+
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
5128
|
+
/**
|
|
5129
|
+
* Returns the last block information for all chains.
|
|
5130
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5131
|
+
* @param {*} [options] Override http request option.
|
|
5132
|
+
* @throws {RequiredError}
|
|
5133
|
+
* @memberof NetworkApi
|
|
5134
|
+
*/
|
|
5135
|
+
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
4716
5136
|
/**
|
|
4717
5137
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4718
5138
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4873,6 +5293,94 @@ export declare class POLApi extends BaseAPI {
|
|
|
4873
5293
|
*/
|
|
4874
5294
|
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
4875
5295
|
}
|
|
5296
|
+
/**
|
|
5297
|
+
* PoolSlipApi - axios parameter creator
|
|
5298
|
+
* @export
|
|
5299
|
+
*/
|
|
5300
|
+
export declare const PoolSlipApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5301
|
+
/**
|
|
5302
|
+
* Returns the pool slip information for the provided asset.
|
|
5303
|
+
* @param {string} asset
|
|
5304
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5305
|
+
* @param {*} [options] Override http request option.
|
|
5306
|
+
* @throws {RequiredError}
|
|
5307
|
+
*/
|
|
5308
|
+
poolslip: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5309
|
+
/**
|
|
5310
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5311
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5312
|
+
* @param {*} [options] Override http request option.
|
|
5313
|
+
* @throws {RequiredError}
|
|
5314
|
+
*/
|
|
5315
|
+
poolslips: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5316
|
+
};
|
|
5317
|
+
/**
|
|
5318
|
+
* PoolSlipApi - functional programming interface
|
|
5319
|
+
* @export
|
|
5320
|
+
*/
|
|
5321
|
+
export declare const PoolSlipApiFp: (configuration?: Configuration) => {
|
|
5322
|
+
/**
|
|
5323
|
+
* Returns the pool slip information for the provided asset.
|
|
5324
|
+
* @param {string} asset
|
|
5325
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5326
|
+
* @param {*} [options] Override http request option.
|
|
5327
|
+
* @throws {RequiredError}
|
|
5328
|
+
*/
|
|
5329
|
+
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoolSlipResponse>>;
|
|
5330
|
+
/**
|
|
5331
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5332
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5333
|
+
* @param {*} [options] Override http request option.
|
|
5334
|
+
* @throws {RequiredError}
|
|
5335
|
+
*/
|
|
5336
|
+
poolslips(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoolSlipResponse>>;
|
|
5337
|
+
};
|
|
5338
|
+
/**
|
|
5339
|
+
* PoolSlipApi - factory interface
|
|
5340
|
+
* @export
|
|
5341
|
+
*/
|
|
5342
|
+
export declare const PoolSlipApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5343
|
+
/**
|
|
5344
|
+
* Returns the pool slip information for the provided asset.
|
|
5345
|
+
* @param {string} asset
|
|
5346
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5347
|
+
* @param {*} [options] Override http request option.
|
|
5348
|
+
* @throws {RequiredError}
|
|
5349
|
+
*/
|
|
5350
|
+
poolslip(asset: string, height?: number, options?: any): AxiosPromise<PoolSlipResponse>;
|
|
5351
|
+
/**
|
|
5352
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5353
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5354
|
+
* @param {*} [options] Override http request option.
|
|
5355
|
+
* @throws {RequiredError}
|
|
5356
|
+
*/
|
|
5357
|
+
poolslips(height?: number, options?: any): AxiosPromise<PoolSlipResponse>;
|
|
5358
|
+
};
|
|
5359
|
+
/**
|
|
5360
|
+
* PoolSlipApi - object-oriented interface
|
|
5361
|
+
* @export
|
|
5362
|
+
* @class PoolSlipApi
|
|
5363
|
+
* @extends {BaseAPI}
|
|
5364
|
+
*/
|
|
5365
|
+
export declare class PoolSlipApi extends BaseAPI {
|
|
5366
|
+
/**
|
|
5367
|
+
* Returns the pool slip information for the provided asset.
|
|
5368
|
+
* @param {string} asset
|
|
5369
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5370
|
+
* @param {*} [options] Override http request option.
|
|
5371
|
+
* @throws {RequiredError}
|
|
5372
|
+
* @memberof PoolSlipApi
|
|
5373
|
+
*/
|
|
5374
|
+
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
5375
|
+
/**
|
|
5376
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5377
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5378
|
+
* @param {*} [options] Override http request option.
|
|
5379
|
+
* @throws {RequiredError}
|
|
5380
|
+
* @memberof PoolSlipApi
|
|
5381
|
+
*/
|
|
5382
|
+
poolslips(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
5383
|
+
}
|
|
4876
5384
|
/**
|
|
4877
5385
|
* PoolsApi - axios parameter creator
|
|
4878
5386
|
* @export
|
|
@@ -5633,6 +6141,14 @@ export declare class StreamingSwapApi extends BaseAPI {
|
|
|
5633
6141
|
* @export
|
|
5634
6142
|
*/
|
|
5635
6143
|
export declare const TSSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6144
|
+
/**
|
|
6145
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6146
|
+
* @param {number} height
|
|
6147
|
+
* @param {string} pubkey
|
|
6148
|
+
* @param {*} [options] Override http request option.
|
|
6149
|
+
* @throws {RequiredError}
|
|
6150
|
+
*/
|
|
6151
|
+
keygenPubkey: (height: number, pubkey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5636
6152
|
/**
|
|
5637
6153
|
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
5638
6154
|
* @param {number} height
|
|
@@ -5669,6 +6185,14 @@ export declare const TSSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
5669
6185
|
* @export
|
|
5670
6186
|
*/
|
|
5671
6187
|
export declare const TSSApiFp: (configuration?: Configuration) => {
|
|
6188
|
+
/**
|
|
6189
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6190
|
+
* @param {number} height
|
|
6191
|
+
* @param {string} pubkey
|
|
6192
|
+
* @param {*} [options] Override http request option.
|
|
6193
|
+
* @throws {RequiredError}
|
|
6194
|
+
*/
|
|
6195
|
+
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeygenResponse>>;
|
|
5672
6196
|
/**
|
|
5673
6197
|
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
5674
6198
|
* @param {number} height
|
|
@@ -5705,6 +6229,14 @@ export declare const TSSApiFp: (configuration?: Configuration) => {
|
|
|
5705
6229
|
* @export
|
|
5706
6230
|
*/
|
|
5707
6231
|
export declare const TSSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6232
|
+
/**
|
|
6233
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6234
|
+
* @param {number} height
|
|
6235
|
+
* @param {string} pubkey
|
|
6236
|
+
* @param {*} [options] Override http request option.
|
|
6237
|
+
* @throws {RequiredError}
|
|
6238
|
+
*/
|
|
6239
|
+
keygenPubkey(height: number, pubkey: string, options?: any): AxiosPromise<KeygenResponse>;
|
|
5708
6240
|
/**
|
|
5709
6241
|
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
5710
6242
|
* @param {number} height
|
|
@@ -5743,6 +6275,15 @@ export declare const TSSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
5743
6275
|
* @extends {BaseAPI}
|
|
5744
6276
|
*/
|
|
5745
6277
|
export declare class TSSApi extends BaseAPI {
|
|
6278
|
+
/**
|
|
6279
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6280
|
+
* @param {number} height
|
|
6281
|
+
* @param {string} pubkey
|
|
6282
|
+
* @param {*} [options] Override http request option.
|
|
6283
|
+
* @throws {RequiredError}
|
|
6284
|
+
* @memberof TSSApi
|
|
6285
|
+
*/
|
|
6286
|
+
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenResponse, any>>;
|
|
5746
6287
|
/**
|
|
5747
6288
|
* Returns keysign information for the provided height - the height being the first block a tx out item appears in the signed-but-unobserved outbound queue.
|
|
5748
6289
|
* @param {number} height
|
|
@@ -6328,7 +6869,7 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
6328
6869
|
* @param {*} [options] Override http request option.
|
|
6329
6870
|
* @throws {RequiredError}
|
|
6330
6871
|
*/
|
|
6331
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6872
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YggdrasilVaultsResponse>>;
|
|
6332
6873
|
};
|
|
6333
6874
|
/**
|
|
6334
6875
|
* VaultsApi - factory interface
|
|
@@ -6363,7 +6904,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
6363
6904
|
* @param {*} [options] Override http request option.
|
|
6364
6905
|
* @throws {RequiredError}
|
|
6365
6906
|
*/
|
|
6366
|
-
yggdrasil(height?: number, options?: any): AxiosPromise<
|
|
6907
|
+
yggdrasil(height?: number, options?: any): AxiosPromise<YggdrasilVaultsResponse>;
|
|
6367
6908
|
};
|
|
6368
6909
|
/**
|
|
6369
6910
|
* VaultsApi - object-oriented interface
|
|
@@ -6404,5 +6945,5 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
6404
6945
|
* @throws {RequiredError}
|
|
6405
6946
|
* @memberof VaultsApi
|
|
6406
6947
|
*/
|
|
6407
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6948
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<YggdrasilVaultsResponse, any>>;
|
|
6408
6949
|
}
|