@xchainjs/xchain-thornode 0.3.15 → 0.3.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/lib/generated/thornodeApi/api.d.ts +806 -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.132.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
|
|
@@ -1853,6 +2154,56 @@ export interface Pool {
|
|
|
1853
2154
|
*/
|
|
1854
2155
|
'derived_depth_bps': string;
|
|
1855
2156
|
}
|
|
2157
|
+
/**
|
|
2158
|
+
*
|
|
2159
|
+
* @export
|
|
2160
|
+
* @interface PoolSlipResponse
|
|
2161
|
+
*/
|
|
2162
|
+
export interface PoolSlipResponse extends Array<PoolSlipResponseInner> {
|
|
2163
|
+
}
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @export
|
|
2167
|
+
* @interface PoolSlipResponseInner
|
|
2168
|
+
*/
|
|
2169
|
+
export interface PoolSlipResponseInner {
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof PoolSlipResponseInner
|
|
2174
|
+
*/
|
|
2175
|
+
'asset': string;
|
|
2176
|
+
/**
|
|
2177
|
+
* Pool slip for this asset\'s pool for the current height
|
|
2178
|
+
* @type {number}
|
|
2179
|
+
* @memberof PoolSlipResponseInner
|
|
2180
|
+
*/
|
|
2181
|
+
'pool_slip': number;
|
|
2182
|
+
/**
|
|
2183
|
+
* Number of stored pool slips contributing to the current stored rollup
|
|
2184
|
+
* @type {number}
|
|
2185
|
+
* @memberof PoolSlipResponseInner
|
|
2186
|
+
*/
|
|
2187
|
+
'rollup_count': number;
|
|
2188
|
+
/**
|
|
2189
|
+
* Median of rollup snapshots over a long period
|
|
2190
|
+
* @type {number}
|
|
2191
|
+
* @memberof PoolSlipResponseInner
|
|
2192
|
+
*/
|
|
2193
|
+
'long_rollup': number;
|
|
2194
|
+
/**
|
|
2195
|
+
* Stored sum of pool slips over a number of previous block heights
|
|
2196
|
+
* @type {number}
|
|
2197
|
+
* @memberof PoolSlipResponseInner
|
|
2198
|
+
*/
|
|
2199
|
+
'rollup': number;
|
|
2200
|
+
/**
|
|
2201
|
+
* Summed pool slips over a number of previous block heights, to checksum the stored rollup
|
|
2202
|
+
* @type {number}
|
|
2203
|
+
* @memberof PoolSlipResponseInner
|
|
2204
|
+
*/
|
|
2205
|
+
'summed_rollup'?: number;
|
|
2206
|
+
}
|
|
1856
2207
|
/**
|
|
1857
2208
|
*
|
|
1858
2209
|
* @export
|
|
@@ -2036,6 +2387,18 @@ export interface QuoteLoanCloseResponse {
|
|
|
2036
2387
|
* @memberof QuoteLoanCloseResponse
|
|
2037
2388
|
*/
|
|
2038
2389
|
'recommended_min_amount_in'?: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2392
|
+
* @type {string}
|
|
2393
|
+
* @memberof QuoteLoanCloseResponse
|
|
2394
|
+
*/
|
|
2395
|
+
'recommended_gas_rate'?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* the units of the recommended gas rate
|
|
2398
|
+
* @type {string}
|
|
2399
|
+
* @memberof QuoteLoanCloseResponse
|
|
2400
|
+
*/
|
|
2401
|
+
'gas_rate_units'?: string;
|
|
2039
2402
|
/**
|
|
2040
2403
|
* generated memo for the loan close
|
|
2041
2404
|
* @type {string}
|
|
@@ -2175,6 +2538,18 @@ export interface QuoteLoanOpenResponse {
|
|
|
2175
2538
|
* @memberof QuoteLoanOpenResponse
|
|
2176
2539
|
*/
|
|
2177
2540
|
'recommended_min_amount_in'?: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2543
|
+
* @type {string}
|
|
2544
|
+
* @memberof QuoteLoanOpenResponse
|
|
2545
|
+
*/
|
|
2546
|
+
'recommended_gas_rate': string;
|
|
2547
|
+
/**
|
|
2548
|
+
* the units of the recommended gas rate
|
|
2549
|
+
* @type {string}
|
|
2550
|
+
* @memberof QuoteLoanOpenResponse
|
|
2551
|
+
*/
|
|
2552
|
+
'gas_rate_units': string;
|
|
2178
2553
|
/**
|
|
2179
2554
|
* generated memo for the loan open
|
|
2180
2555
|
* @type {string}
|
|
@@ -2314,6 +2689,18 @@ export interface QuoteSaverDepositResponse {
|
|
|
2314
2689
|
* @memberof QuoteSaverDepositResponse
|
|
2315
2690
|
*/
|
|
2316
2691
|
'recommended_min_amount_in'?: string;
|
|
2692
|
+
/**
|
|
2693
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2694
|
+
* @type {string}
|
|
2695
|
+
* @memberof QuoteSaverDepositResponse
|
|
2696
|
+
*/
|
|
2697
|
+
'recommended_gas_rate': string;
|
|
2698
|
+
/**
|
|
2699
|
+
* the units of the recommended gas rate
|
|
2700
|
+
* @type {string}
|
|
2701
|
+
* @memberof QuoteSaverDepositResponse
|
|
2702
|
+
*/
|
|
2703
|
+
'gas_rate_units': string;
|
|
2317
2704
|
/**
|
|
2318
2705
|
* generated memo for the deposit
|
|
2319
2706
|
* @type {string}
|
|
@@ -2423,6 +2810,18 @@ export interface QuoteSaverWithdrawResponse {
|
|
|
2423
2810
|
* @memberof QuoteSaverWithdrawResponse
|
|
2424
2811
|
*/
|
|
2425
2812
|
'recommended_min_amount_in'?: string;
|
|
2813
|
+
/**
|
|
2814
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2815
|
+
* @type {string}
|
|
2816
|
+
* @memberof QuoteSaverWithdrawResponse
|
|
2817
|
+
*/
|
|
2818
|
+
'recommended_gas_rate': string;
|
|
2819
|
+
/**
|
|
2820
|
+
* the units of the recommended gas rate
|
|
2821
|
+
* @type {string}
|
|
2822
|
+
* @memberof QuoteSaverWithdrawResponse
|
|
2823
|
+
*/
|
|
2824
|
+
'gas_rate_units': string;
|
|
2426
2825
|
/**
|
|
2427
2826
|
* generated memo for the withdraw, the client can use this OR send the dust amount
|
|
2428
2827
|
* @type {string}
|
|
@@ -2532,6 +2931,18 @@ export interface QuoteSwapResponse {
|
|
|
2532
2931
|
* @memberof QuoteSwapResponse
|
|
2533
2932
|
*/
|
|
2534
2933
|
'recommended_min_amount_in'?: string;
|
|
2934
|
+
/**
|
|
2935
|
+
* the recommended gas rate to use for the inbound to ensure timely confirmation
|
|
2936
|
+
* @type {string}
|
|
2937
|
+
* @memberof QuoteSwapResponse
|
|
2938
|
+
*/
|
|
2939
|
+
'recommended_gas_rate'?: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* the units of the recommended gas rate
|
|
2942
|
+
* @type {string}
|
|
2943
|
+
* @memberof QuoteSwapResponse
|
|
2944
|
+
*/
|
|
2945
|
+
'gas_rate_units'?: string;
|
|
2535
2946
|
/**
|
|
2536
2947
|
* generated memo for the swap
|
|
2537
2948
|
* @type {string}
|
|
@@ -2644,6 +3055,31 @@ export interface SaversResponse extends Array<Saver> {
|
|
|
2644
3055
|
*/
|
|
2645
3056
|
export interface ScheduledResponse extends Array<TxOutItem> {
|
|
2646
3057
|
}
|
|
3058
|
+
/**
|
|
3059
|
+
*
|
|
3060
|
+
* @export
|
|
3061
|
+
* @interface StreamingStatus
|
|
3062
|
+
*/
|
|
3063
|
+
export interface StreamingStatus {
|
|
3064
|
+
/**
|
|
3065
|
+
* how often each swap is made, in blocks
|
|
3066
|
+
* @type {number}
|
|
3067
|
+
* @memberof StreamingStatus
|
|
3068
|
+
*/
|
|
3069
|
+
'interval': number;
|
|
3070
|
+
/**
|
|
3071
|
+
* the total number of swaps in a streaming swaps
|
|
3072
|
+
* @type {number}
|
|
3073
|
+
* @memberof StreamingStatus
|
|
3074
|
+
*/
|
|
3075
|
+
'quantity': number;
|
|
3076
|
+
/**
|
|
3077
|
+
* the amount of swap attempts so far
|
|
3078
|
+
* @type {number}
|
|
3079
|
+
* @memberof StreamingStatus
|
|
3080
|
+
*/
|
|
3081
|
+
'count': number;
|
|
3082
|
+
}
|
|
2647
3083
|
/**
|
|
2648
3084
|
*
|
|
2649
3085
|
* @export
|
|
@@ -2742,6 +3178,19 @@ export interface StreamingSwap {
|
|
|
2742
3178
|
*/
|
|
2743
3179
|
export interface StreamingSwapsResponse extends Array<StreamingSwap> {
|
|
2744
3180
|
}
|
|
3181
|
+
/**
|
|
3182
|
+
*
|
|
3183
|
+
* @export
|
|
3184
|
+
* @interface SwapFinalisedStage
|
|
3185
|
+
*/
|
|
3186
|
+
export interface SwapFinalisedStage {
|
|
3187
|
+
/**
|
|
3188
|
+
* (to be deprecated in favor of swap_status) returns true if an inbound transaction\'s swap (successful or refunded) is no longer pending
|
|
3189
|
+
* @type {boolean}
|
|
3190
|
+
* @memberof SwapFinalisedStage
|
|
3191
|
+
*/
|
|
3192
|
+
'completed': boolean;
|
|
3193
|
+
}
|
|
2745
3194
|
/**
|
|
2746
3195
|
*
|
|
2747
3196
|
* @export
|
|
@@ -2749,6 +3198,25 @@ export interface StreamingSwapsResponse extends Array<StreamingSwap> {
|
|
|
2749
3198
|
*/
|
|
2750
3199
|
export interface SwapQueueResponse extends Array<MsgSwap> {
|
|
2751
3200
|
}
|
|
3201
|
+
/**
|
|
3202
|
+
*
|
|
3203
|
+
* @export
|
|
3204
|
+
* @interface SwapStatus
|
|
3205
|
+
*/
|
|
3206
|
+
export interface SwapStatus {
|
|
3207
|
+
/**
|
|
3208
|
+
* true when awaiting a swap
|
|
3209
|
+
* @type {boolean}
|
|
3210
|
+
* @memberof SwapStatus
|
|
3211
|
+
*/
|
|
3212
|
+
'pending': boolean;
|
|
3213
|
+
/**
|
|
3214
|
+
*
|
|
3215
|
+
* @type {StreamingStatus}
|
|
3216
|
+
* @memberof SwapStatus
|
|
3217
|
+
*/
|
|
3218
|
+
'streaming'?: StreamingStatus;
|
|
3219
|
+
}
|
|
2752
3220
|
/**
|
|
2753
3221
|
*
|
|
2754
3222
|
* @export
|
|
@@ -3149,7 +3617,7 @@ export interface TxOutItem {
|
|
|
3149
3617
|
* @type {number}
|
|
3150
3618
|
* @memberof TxOutItem
|
|
3151
3619
|
*/
|
|
3152
|
-
'height'
|
|
3620
|
+
'height'?: number;
|
|
3153
3621
|
/**
|
|
3154
3622
|
* clout spent in RUNE for the outbound
|
|
3155
3623
|
* @type {string}
|
|
@@ -3269,240 +3737,46 @@ export interface TxSignersResponse {
|
|
|
3269
3737
|
export interface TxStagesResponse {
|
|
3270
3738
|
/**
|
|
3271
3739
|
*
|
|
3272
|
-
* @type {
|
|
3273
|
-
* @memberof TxStagesResponse
|
|
3274
|
-
*/
|
|
3275
|
-
'inbound_observed': TxStagesResponseInboundObserved;
|
|
3276
|
-
/**
|
|
3277
|
-
*
|
|
3278
|
-
* @type {TxStagesResponseInboundConfirmationCounted}
|
|
3740
|
+
* @type {InboundObservedStage}
|
|
3279
3741
|
* @memberof TxStagesResponse
|
|
3280
3742
|
*/
|
|
3281
|
-
'
|
|
3743
|
+
'inbound_observed': InboundObservedStage;
|
|
3282
3744
|
/**
|
|
3283
3745
|
*
|
|
3284
|
-
* @type {
|
|
3746
|
+
* @type {InboundConfirmationCountedStage}
|
|
3285
3747
|
* @memberof TxStagesResponse
|
|
3286
3748
|
*/
|
|
3287
|
-
'
|
|
3749
|
+
'inbound_confirmation_counted'?: InboundConfirmationCountedStage;
|
|
3288
3750
|
/**
|
|
3289
3751
|
*
|
|
3290
|
-
* @type {
|
|
3752
|
+
* @type {InboundFinalisedStage}
|
|
3291
3753
|
* @memberof TxStagesResponse
|
|
3292
3754
|
*/
|
|
3293
|
-
'
|
|
3755
|
+
'inbound_finalised'?: InboundFinalisedStage;
|
|
3294
3756
|
/**
|
|
3295
3757
|
*
|
|
3296
|
-
* @type {
|
|
3758
|
+
* @type {SwapStatus}
|
|
3297
3759
|
* @memberof TxStagesResponse
|
|
3298
3760
|
*/
|
|
3299
|
-
'
|
|
3761
|
+
'swap_status'?: SwapStatus;
|
|
3300
3762
|
/**
|
|
3301
3763
|
*
|
|
3302
|
-
* @type {
|
|
3764
|
+
* @type {SwapFinalisedStage}
|
|
3303
3765
|
* @memberof TxStagesResponse
|
|
3304
3766
|
*/
|
|
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;
|
|
3767
|
+
'swap_finalised'?: SwapFinalisedStage;
|
|
3475
3768
|
/**
|
|
3476
3769
|
*
|
|
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
|
|
3770
|
+
* @type {OutboundDelayStage}
|
|
3771
|
+
* @memberof TxStagesResponse
|
|
3498
3772
|
*/
|
|
3499
|
-
'
|
|
3773
|
+
'outbound_delay'?: OutboundDelayStage;
|
|
3500
3774
|
/**
|
|
3501
|
-
*
|
|
3502
|
-
* @type {
|
|
3503
|
-
* @memberof
|
|
3775
|
+
*
|
|
3776
|
+
* @type {OutboundSignedStage}
|
|
3777
|
+
* @memberof TxStagesResponse
|
|
3504
3778
|
*/
|
|
3505
|
-
'
|
|
3779
|
+
'outbound_signed'?: OutboundSignedStage;
|
|
3506
3780
|
}
|
|
3507
3781
|
/**
|
|
3508
3782
|
*
|
|
@@ -3518,10 +3792,10 @@ export interface TxStatusResponse {
|
|
|
3518
3792
|
'tx'?: Tx;
|
|
3519
3793
|
/**
|
|
3520
3794
|
*
|
|
3521
|
-
* @type {Array<
|
|
3795
|
+
* @type {Array<PlannedOutTx>}
|
|
3522
3796
|
* @memberof TxStatusResponse
|
|
3523
3797
|
*/
|
|
3524
|
-
'planned_out_txs'?: Array<
|
|
3798
|
+
'planned_out_txs'?: Array<PlannedOutTx>;
|
|
3525
3799
|
/**
|
|
3526
3800
|
*
|
|
3527
3801
|
* @type {Array<Tx>}
|
|
@@ -3535,37 +3809,6 @@ export interface TxStatusResponse {
|
|
|
3535
3809
|
*/
|
|
3536
3810
|
'stages': TxStagesResponse;
|
|
3537
3811
|
}
|
|
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
3812
|
/**
|
|
3570
3813
|
*
|
|
3571
3814
|
* @export
|
|
@@ -3673,13 +3916,13 @@ export interface VaultAddress {
|
|
|
3673
3916
|
* @type {string}
|
|
3674
3917
|
* @memberof VaultAddress
|
|
3675
3918
|
*/
|
|
3676
|
-
'chain'
|
|
3919
|
+
'chain': string;
|
|
3677
3920
|
/**
|
|
3678
3921
|
*
|
|
3679
3922
|
* @type {string}
|
|
3680
3923
|
* @memberof VaultAddress
|
|
3681
3924
|
*/
|
|
3682
|
-
'address'
|
|
3925
|
+
'address': string;
|
|
3683
3926
|
}
|
|
3684
3927
|
/**
|
|
3685
3928
|
*
|
|
@@ -3782,6 +4025,115 @@ export interface VersionResponse {
|
|
|
3782
4025
|
*/
|
|
3783
4026
|
'querier': string;
|
|
3784
4027
|
}
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @export
|
|
4031
|
+
* @interface YggdrasilVault
|
|
4032
|
+
*/
|
|
4033
|
+
export interface YggdrasilVault {
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @type {number}
|
|
4037
|
+
* @memberof YggdrasilVault
|
|
4038
|
+
*/
|
|
4039
|
+
'block_height'?: number;
|
|
4040
|
+
/**
|
|
4041
|
+
*
|
|
4042
|
+
* @type {string}
|
|
4043
|
+
* @memberof YggdrasilVault
|
|
4044
|
+
*/
|
|
4045
|
+
'pub_key'?: string;
|
|
4046
|
+
/**
|
|
4047
|
+
*
|
|
4048
|
+
* @type {Array<Coin>}
|
|
4049
|
+
* @memberof YggdrasilVault
|
|
4050
|
+
*/
|
|
4051
|
+
'coins': Array<Coin>;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @type {string}
|
|
4055
|
+
* @memberof YggdrasilVault
|
|
4056
|
+
*/
|
|
4057
|
+
'type'?: YggdrasilVaultTypeEnum;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {number}
|
|
4061
|
+
* @memberof YggdrasilVault
|
|
4062
|
+
*/
|
|
4063
|
+
'status_since'?: number;
|
|
4064
|
+
/**
|
|
4065
|
+
* the list of node public keys which are members of the vault
|
|
4066
|
+
* @type {Array<string>}
|
|
4067
|
+
* @memberof YggdrasilVault
|
|
4068
|
+
*/
|
|
4069
|
+
'membership'?: Array<string>;
|
|
4070
|
+
/**
|
|
4071
|
+
*
|
|
4072
|
+
* @type {Array<string>}
|
|
4073
|
+
* @memberof YggdrasilVault
|
|
4074
|
+
*/
|
|
4075
|
+
'chains'?: Array<string>;
|
|
4076
|
+
/**
|
|
4077
|
+
*
|
|
4078
|
+
* @type {number}
|
|
4079
|
+
* @memberof YggdrasilVault
|
|
4080
|
+
*/
|
|
4081
|
+
'inbound_tx_count'?: number;
|
|
4082
|
+
/**
|
|
4083
|
+
*
|
|
4084
|
+
* @type {number}
|
|
4085
|
+
* @memberof YggdrasilVault
|
|
4086
|
+
*/
|
|
4087
|
+
'outbound_tx_count'?: number;
|
|
4088
|
+
/**
|
|
4089
|
+
*
|
|
4090
|
+
* @type {Array<number>}
|
|
4091
|
+
* @memberof YggdrasilVault
|
|
4092
|
+
*/
|
|
4093
|
+
'pending_tx_block_heights'?: Array<number>;
|
|
4094
|
+
/**
|
|
4095
|
+
*
|
|
4096
|
+
* @type {Array<VaultRouter>}
|
|
4097
|
+
* @memberof YggdrasilVault
|
|
4098
|
+
*/
|
|
4099
|
+
'routers': Array<VaultRouter>;
|
|
4100
|
+
/**
|
|
4101
|
+
*
|
|
4102
|
+
* @type {string}
|
|
4103
|
+
* @memberof YggdrasilVault
|
|
4104
|
+
*/
|
|
4105
|
+
'status': string;
|
|
4106
|
+
/**
|
|
4107
|
+
* current node bond
|
|
4108
|
+
* @type {string}
|
|
4109
|
+
* @memberof YggdrasilVault
|
|
4110
|
+
*/
|
|
4111
|
+
'bond': string;
|
|
4112
|
+
/**
|
|
4113
|
+
* value in rune of the vault\'s assets
|
|
4114
|
+
* @type {string}
|
|
4115
|
+
* @memberof YggdrasilVault
|
|
4116
|
+
*/
|
|
4117
|
+
'total_value': string;
|
|
4118
|
+
/**
|
|
4119
|
+
*
|
|
4120
|
+
* @type {Array<VaultAddress>}
|
|
4121
|
+
* @memberof YggdrasilVault
|
|
4122
|
+
*/
|
|
4123
|
+
'addresses': Array<VaultAddress>;
|
|
4124
|
+
}
|
|
4125
|
+
export declare const YggdrasilVaultTypeEnum: {
|
|
4126
|
+
readonly AsgardVault: "AsgardVault";
|
|
4127
|
+
readonly YggdrasilVault: "YggdrasilVault";
|
|
4128
|
+
};
|
|
4129
|
+
export type YggdrasilVaultTypeEnum = typeof YggdrasilVaultTypeEnum[keyof typeof YggdrasilVaultTypeEnum];
|
|
4130
|
+
/**
|
|
4131
|
+
*
|
|
4132
|
+
* @export
|
|
4133
|
+
* @interface YggdrasilVaultsResponse
|
|
4134
|
+
*/
|
|
4135
|
+
export interface YggdrasilVaultsResponse extends Array<YggdrasilVault> {
|
|
4136
|
+
}
|
|
3785
4137
|
/**
|
|
3786
4138
|
* BlockApi - axios parameter creator
|
|
3787
4139
|
* @export
|
|
@@ -4513,6 +4865,21 @@ export declare const NetworkApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4513
4865
|
* @throws {RequiredError}
|
|
4514
4866
|
*/
|
|
4515
4867
|
network: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4868
|
+
/**
|
|
4869
|
+
* Returns the outbound fee information for the provided asset.
|
|
4870
|
+
* @param {string} asset
|
|
4871
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4872
|
+
* @param {*} [options] Override http request option.
|
|
4873
|
+
* @throws {RequiredError}
|
|
4874
|
+
*/
|
|
4875
|
+
outboundFeeAsset: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4876
|
+
/**
|
|
4877
|
+
* Returns the last block information for all chains.
|
|
4878
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4879
|
+
* @param {*} [options] Override http request option.
|
|
4880
|
+
* @throws {RequiredError}
|
|
4881
|
+
*/
|
|
4882
|
+
outboundFees: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4516
4883
|
/**
|
|
4517
4884
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4518
4885
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4577,6 +4944,21 @@ export declare const NetworkApiFp: (configuration?: Configuration) => {
|
|
|
4577
4944
|
* @throws {RequiredError}
|
|
4578
4945
|
*/
|
|
4579
4946
|
network(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NetworkResponse>>;
|
|
4947
|
+
/**
|
|
4948
|
+
* Returns the outbound fee information for the provided asset.
|
|
4949
|
+
* @param {string} asset
|
|
4950
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4951
|
+
* @param {*} [options] Override http request option.
|
|
4952
|
+
* @throws {RequiredError}
|
|
4953
|
+
*/
|
|
4954
|
+
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundFeesResponse>>;
|
|
4955
|
+
/**
|
|
4956
|
+
* Returns the last block information for all chains.
|
|
4957
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
4958
|
+
* @param {*} [options] Override http request option.
|
|
4959
|
+
* @throws {RequiredError}
|
|
4960
|
+
*/
|
|
4961
|
+
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OutboundFeesResponse>>;
|
|
4580
4962
|
/**
|
|
4581
4963
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4582
4964
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4641,6 +5023,21 @@ export declare const NetworkApiFactory: (configuration?: Configuration, basePath
|
|
|
4641
5023
|
* @throws {RequiredError}
|
|
4642
5024
|
*/
|
|
4643
5025
|
network(height?: number, options?: any): AxiosPromise<NetworkResponse>;
|
|
5026
|
+
/**
|
|
5027
|
+
* Returns the outbound fee information for the provided asset.
|
|
5028
|
+
* @param {string} asset
|
|
5029
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5030
|
+
* @param {*} [options] Override http request option.
|
|
5031
|
+
* @throws {RequiredError}
|
|
5032
|
+
*/
|
|
5033
|
+
outboundFeeAsset(asset: string, height?: number, options?: any): AxiosPromise<OutboundFeesResponse>;
|
|
5034
|
+
/**
|
|
5035
|
+
* Returns the last block information for all chains.
|
|
5036
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5037
|
+
* @param {*} [options] Override http request option.
|
|
5038
|
+
* @throws {RequiredError}
|
|
5039
|
+
*/
|
|
5040
|
+
outboundFees(height?: number, options?: any): AxiosPromise<OutboundFeesResponse>;
|
|
4644
5041
|
/**
|
|
4645
5042
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4646
5043
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4713,6 +5110,23 @@ export declare class NetworkApi extends BaseAPI {
|
|
|
4713
5110
|
* @memberof NetworkApi
|
|
4714
5111
|
*/
|
|
4715
5112
|
network(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<NetworkResponse, any>>;
|
|
5113
|
+
/**
|
|
5114
|
+
* Returns the outbound fee information for the provided asset.
|
|
5115
|
+
* @param {string} asset
|
|
5116
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5117
|
+
* @param {*} [options] Override http request option.
|
|
5118
|
+
* @throws {RequiredError}
|
|
5119
|
+
* @memberof NetworkApi
|
|
5120
|
+
*/
|
|
5121
|
+
outboundFeeAsset(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
5122
|
+
/**
|
|
5123
|
+
* Returns the last block information for all chains.
|
|
5124
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5125
|
+
* @param {*} [options] Override http request option.
|
|
5126
|
+
* @throws {RequiredError}
|
|
5127
|
+
* @memberof NetworkApi
|
|
5128
|
+
*/
|
|
5129
|
+
outboundFees(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OutboundFeesResponse, any>>;
|
|
4716
5130
|
/**
|
|
4717
5131
|
* Returns a boolean indicating whether the chain is in ragnarok.
|
|
4718
5132
|
* @param {number} [height] optional block height, defaults to current tip
|
|
@@ -4873,6 +5287,94 @@ export declare class POLApi extends BaseAPI {
|
|
|
4873
5287
|
*/
|
|
4874
5288
|
pol(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<POLResponse, any>>;
|
|
4875
5289
|
}
|
|
5290
|
+
/**
|
|
5291
|
+
* PoolSlipApi - axios parameter creator
|
|
5292
|
+
* @export
|
|
5293
|
+
*/
|
|
5294
|
+
export declare const PoolSlipApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5295
|
+
/**
|
|
5296
|
+
* Returns the pool slip information for the provided asset.
|
|
5297
|
+
* @param {string} asset
|
|
5298
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5299
|
+
* @param {*} [options] Override http request option.
|
|
5300
|
+
* @throws {RequiredError}
|
|
5301
|
+
*/
|
|
5302
|
+
poolslip: (asset: string, height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5303
|
+
/**
|
|
5304
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5305
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5306
|
+
* @param {*} [options] Override http request option.
|
|
5307
|
+
* @throws {RequiredError}
|
|
5308
|
+
*/
|
|
5309
|
+
poolslips: (height?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5310
|
+
};
|
|
5311
|
+
/**
|
|
5312
|
+
* PoolSlipApi - functional programming interface
|
|
5313
|
+
* @export
|
|
5314
|
+
*/
|
|
5315
|
+
export declare const PoolSlipApiFp: (configuration?: Configuration) => {
|
|
5316
|
+
/**
|
|
5317
|
+
* Returns the pool slip information for the provided asset.
|
|
5318
|
+
* @param {string} asset
|
|
5319
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5320
|
+
* @param {*} [options] Override http request option.
|
|
5321
|
+
* @throws {RequiredError}
|
|
5322
|
+
*/
|
|
5323
|
+
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoolSlipResponse>>;
|
|
5324
|
+
/**
|
|
5325
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5326
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5327
|
+
* @param {*} [options] Override http request option.
|
|
5328
|
+
* @throws {RequiredError}
|
|
5329
|
+
*/
|
|
5330
|
+
poolslips(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoolSlipResponse>>;
|
|
5331
|
+
};
|
|
5332
|
+
/**
|
|
5333
|
+
* PoolSlipApi - factory interface
|
|
5334
|
+
* @export
|
|
5335
|
+
*/
|
|
5336
|
+
export declare const PoolSlipApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5337
|
+
/**
|
|
5338
|
+
* Returns the pool slip information for the provided asset.
|
|
5339
|
+
* @param {string} asset
|
|
5340
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5341
|
+
* @param {*} [options] Override http request option.
|
|
5342
|
+
* @throws {RequiredError}
|
|
5343
|
+
*/
|
|
5344
|
+
poolslip(asset: string, height?: number, options?: any): AxiosPromise<PoolSlipResponse>;
|
|
5345
|
+
/**
|
|
5346
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5347
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5348
|
+
* @param {*} [options] Override http request option.
|
|
5349
|
+
* @throws {RequiredError}
|
|
5350
|
+
*/
|
|
5351
|
+
poolslips(height?: number, options?: any): AxiosPromise<PoolSlipResponse>;
|
|
5352
|
+
};
|
|
5353
|
+
/**
|
|
5354
|
+
* PoolSlipApi - object-oriented interface
|
|
5355
|
+
* @export
|
|
5356
|
+
* @class PoolSlipApi
|
|
5357
|
+
* @extends {BaseAPI}
|
|
5358
|
+
*/
|
|
5359
|
+
export declare class PoolSlipApi extends BaseAPI {
|
|
5360
|
+
/**
|
|
5361
|
+
* Returns the pool slip information for the provided asset.
|
|
5362
|
+
* @param {string} asset
|
|
5363
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5364
|
+
* @param {*} [options] Override http request option.
|
|
5365
|
+
* @throws {RequiredError}
|
|
5366
|
+
* @memberof PoolSlipApi
|
|
5367
|
+
*/
|
|
5368
|
+
poolslip(asset: string, height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
5369
|
+
/**
|
|
5370
|
+
* Returns the pool slip information for all Available Layer 1 pool assets.
|
|
5371
|
+
* @param {number} [height] optional block height, defaults to current tip
|
|
5372
|
+
* @param {*} [options] Override http request option.
|
|
5373
|
+
* @throws {RequiredError}
|
|
5374
|
+
* @memberof PoolSlipApi
|
|
5375
|
+
*/
|
|
5376
|
+
poolslips(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoolSlipResponse, any>>;
|
|
5377
|
+
}
|
|
4876
5378
|
/**
|
|
4877
5379
|
* PoolsApi - axios parameter creator
|
|
4878
5380
|
* @export
|
|
@@ -5633,6 +6135,14 @@ export declare class StreamingSwapApi extends BaseAPI {
|
|
|
5633
6135
|
* @export
|
|
5634
6136
|
*/
|
|
5635
6137
|
export declare const TSSApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6138
|
+
/**
|
|
6139
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6140
|
+
* @param {number} height
|
|
6141
|
+
* @param {string} pubkey
|
|
6142
|
+
* @param {*} [options] Override http request option.
|
|
6143
|
+
* @throws {RequiredError}
|
|
6144
|
+
*/
|
|
6145
|
+
keygenPubkey: (height: number, pubkey: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5636
6146
|
/**
|
|
5637
6147
|
* 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
6148
|
* @param {number} height
|
|
@@ -5669,6 +6179,14 @@ export declare const TSSApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
5669
6179
|
* @export
|
|
5670
6180
|
*/
|
|
5671
6181
|
export declare const TSSApiFp: (configuration?: Configuration) => {
|
|
6182
|
+
/**
|
|
6183
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6184
|
+
* @param {number} height
|
|
6185
|
+
* @param {string} pubkey
|
|
6186
|
+
* @param {*} [options] Override http request option.
|
|
6187
|
+
* @throws {RequiredError}
|
|
6188
|
+
*/
|
|
6189
|
+
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeygenResponse>>;
|
|
5672
6190
|
/**
|
|
5673
6191
|
* 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
6192
|
* @param {number} height
|
|
@@ -5705,6 +6223,14 @@ export declare const TSSApiFp: (configuration?: Configuration) => {
|
|
|
5705
6223
|
* @export
|
|
5706
6224
|
*/
|
|
5707
6225
|
export declare const TSSApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6226
|
+
/**
|
|
6227
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6228
|
+
* @param {number} height
|
|
6229
|
+
* @param {string} pubkey
|
|
6230
|
+
* @param {*} [options] Override http request option.
|
|
6231
|
+
* @throws {RequiredError}
|
|
6232
|
+
*/
|
|
6233
|
+
keygenPubkey(height: number, pubkey: string, options?: any): AxiosPromise<KeygenResponse>;
|
|
5708
6234
|
/**
|
|
5709
6235
|
* 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
6236
|
* @param {number} height
|
|
@@ -5743,6 +6269,15 @@ export declare const TSSApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
5743
6269
|
* @extends {BaseAPI}
|
|
5744
6270
|
*/
|
|
5745
6271
|
export declare class TSSApi extends BaseAPI {
|
|
6272
|
+
/**
|
|
6273
|
+
* Returns keygen information for the provided height and pubkey - the pubkey being of one of the members of a keygen block for that height
|
|
6274
|
+
* @param {number} height
|
|
6275
|
+
* @param {string} pubkey
|
|
6276
|
+
* @param {*} [options] Override http request option.
|
|
6277
|
+
* @throws {RequiredError}
|
|
6278
|
+
* @memberof TSSApi
|
|
6279
|
+
*/
|
|
6280
|
+
keygenPubkey(height: number, pubkey: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<KeygenResponse, any>>;
|
|
5746
6281
|
/**
|
|
5747
6282
|
* 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
6283
|
* @param {number} height
|
|
@@ -6328,7 +6863,7 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
6328
6863
|
* @param {*} [options] Override http request option.
|
|
6329
6864
|
* @throws {RequiredError}
|
|
6330
6865
|
*/
|
|
6331
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
6866
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YggdrasilVaultsResponse>>;
|
|
6332
6867
|
};
|
|
6333
6868
|
/**
|
|
6334
6869
|
* VaultsApi - factory interface
|
|
@@ -6363,7 +6898,7 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
6363
6898
|
* @param {*} [options] Override http request option.
|
|
6364
6899
|
* @throws {RequiredError}
|
|
6365
6900
|
*/
|
|
6366
|
-
yggdrasil(height?: number, options?: any): AxiosPromise<
|
|
6901
|
+
yggdrasil(height?: number, options?: any): AxiosPromise<YggdrasilVaultsResponse>;
|
|
6367
6902
|
};
|
|
6368
6903
|
/**
|
|
6369
6904
|
* VaultsApi - object-oriented interface
|
|
@@ -6404,5 +6939,5 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
6404
6939
|
* @throws {RequiredError}
|
|
6405
6940
|
* @memberof VaultsApi
|
|
6406
6941
|
*/
|
|
6407
|
-
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
6942
|
+
yggdrasil(height?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<YggdrasilVaultsResponse, any>>;
|
|
6408
6943
|
}
|