@stacks/blockchain-api-client 9.0.0-pox5.3 → 9.0.0-pox5.5

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.
@@ -1690,6 +1690,46 @@ export interface paths {
1690
1690
  patch?: never;
1691
1691
  trace?: never;
1692
1692
  };
1693
+ "/extended/v3/blocks/{height_or_hash}/transactions": {
1694
+ parameters: {
1695
+ query?: never;
1696
+ header?: never;
1697
+ path?: never;
1698
+ cookie?: never;
1699
+ };
1700
+ /**
1701
+ * Get block transactions
1702
+ * @description Retrieves transactions confirmed in a single block
1703
+ */
1704
+ get: operations["get_block_transactions"];
1705
+ put?: never;
1706
+ post?: never;
1707
+ delete?: never;
1708
+ options?: never;
1709
+ head?: never;
1710
+ patch?: never;
1711
+ trace?: never;
1712
+ };
1713
+ "/extended/v3/mempool/transactions": {
1714
+ parameters: {
1715
+ query?: never;
1716
+ header?: never;
1717
+ path?: never;
1718
+ cookie?: never;
1719
+ };
1720
+ /**
1721
+ * Get mempool transactions
1722
+ * @description Retrieves a list of recently broadcasted transactions
1723
+ */
1724
+ get: operations["get_mempool_transactions"];
1725
+ put?: never;
1726
+ post?: never;
1727
+ delete?: never;
1728
+ options?: never;
1729
+ head?: never;
1730
+ patch?: never;
1731
+ trace?: never;
1732
+ };
1693
1733
  "/extended/v3/principals/{principal}/transactions": {
1694
1734
  parameters: {
1695
1735
  query?: never;
@@ -1719,7 +1759,7 @@ export interface paths {
1719
1759
  };
1720
1760
  /**
1721
1761
  * Get principal staking balances
1722
- * @description Get principal staking balances
1762
+ * @description Get a principal's staking balances: its bond positions (staked amounts and accrued rewards) across all bonds it is enrolled in
1723
1763
  */
1724
1764
  get: operations["get_principal_staking_balances"];
1725
1765
  put?: never;
@@ -1730,7 +1770,7 @@ export interface paths {
1730
1770
  patch?: never;
1731
1771
  trace?: never;
1732
1772
  };
1733
- "/extended/v3/transactions": {
1773
+ "/extended/v3/staking/bonds": {
1734
1774
  parameters: {
1735
1775
  query?: never;
1736
1776
  header?: never;
@@ -1738,10 +1778,10 @@ export interface paths {
1738
1778
  cookie?: never;
1739
1779
  };
1740
1780
  /**
1741
- * Get transactions
1742
- * @description Retrieves a list of recently mined transactions
1781
+ * Get bonds
1782
+ * @description Get bonds
1743
1783
  */
1744
- get: operations["get_transactions"];
1784
+ get: operations["get_bonds"];
1745
1785
  put?: never;
1746
1786
  post?: never;
1747
1787
  delete?: never;
@@ -1750,7 +1790,7 @@ export interface paths {
1750
1790
  patch?: never;
1751
1791
  trace?: never;
1752
1792
  };
1753
- "/extended/v3/transactions/{tx_id}": {
1793
+ "/extended/v3/staking/bonds/{bond_index}": {
1754
1794
  parameters: {
1755
1795
  query?: never;
1756
1796
  header?: never;
@@ -1758,10 +1798,10 @@ export interface paths {
1758
1798
  cookie?: never;
1759
1799
  };
1760
1800
  /**
1761
- * Get transaction
1762
- * @description Retrieves details for a given transaction, including both mined and mempool transactions
1801
+ * Get bond
1802
+ * @description Get bond
1763
1803
  */
1764
- get: operations["get_transaction"];
1804
+ get: operations["get_bond"];
1765
1805
  put?: never;
1766
1806
  post?: never;
1767
1807
  delete?: never;
@@ -1770,7 +1810,7 @@ export interface paths {
1770
1810
  patch?: never;
1771
1811
  trace?: never;
1772
1812
  };
1773
- "/extended/v3/transactions/{tx_id}/events": {
1813
+ "/extended/v3/staking/bonds/{bond_index}/allowlist": {
1774
1814
  parameters: {
1775
1815
  query?: never;
1776
1816
  header?: never;
@@ -1778,10 +1818,10 @@ export interface paths {
1778
1818
  cookie?: never;
1779
1819
  };
1780
1820
  /**
1781
- * Get transaction events
1782
- * @description Retrieves events for a given transaction ID
1821
+ * Get bond allowlist entries
1822
+ * @description Get bond allowlist entries
1783
1823
  */
1784
- get: operations["get_transaction_events"];
1824
+ get: operations["get_bond_allowlist_entries"];
1785
1825
  put?: never;
1786
1826
  post?: never;
1787
1827
  delete?: never;
@@ -1790,7 +1830,7 @@ export interface paths {
1790
1830
  patch?: never;
1791
1831
  trace?: never;
1792
1832
  };
1793
- "/extended/v3/mempool/transactions": {
1833
+ "/extended/v3/staking/bonds/{bond_index}/allowlist/{principal}": {
1794
1834
  parameters: {
1795
1835
  query?: never;
1796
1836
  header?: never;
@@ -1798,10 +1838,10 @@ export interface paths {
1798
1838
  cookie?: never;
1799
1839
  };
1800
1840
  /**
1801
- * Get mempool transactions
1802
- * @description Retrieves a list of recently broadcasted transactions
1841
+ * Get bond allowlist entry
1842
+ * @description Get bond allowlist entry
1803
1843
  */
1804
- get: operations["get_mempool_transactions"];
1844
+ get: operations["get_bond_allowlist_entry"];
1805
1845
  put?: never;
1806
1846
  post?: never;
1807
1847
  delete?: never;
@@ -1810,7 +1850,7 @@ export interface paths {
1810
1850
  patch?: never;
1811
1851
  trace?: never;
1812
1852
  };
1813
- "/extended/v3/blocks/{height_or_hash}/transactions": {
1853
+ "/extended/v3/staking/bonds/{bond_index}/registrations": {
1814
1854
  parameters: {
1815
1855
  query?: never;
1816
1856
  header?: never;
@@ -1818,10 +1858,90 @@ export interface paths {
1818
1858
  cookie?: never;
1819
1859
  };
1820
1860
  /**
1821
- * Get block transactions
1822
- * @description Retrieves transactions confirmed in a single block
1861
+ * Get bond registrations
1862
+ * @description Get bond registrations
1823
1863
  */
1824
- get: operations["get_block_transactions"];
1864
+ get: operations["get_bond_registrations"];
1865
+ put?: never;
1866
+ post?: never;
1867
+ delete?: never;
1868
+ options?: never;
1869
+ head?: never;
1870
+ patch?: never;
1871
+ trace?: never;
1872
+ };
1873
+ "/extended/v3/staking/bonds/{bond_index}/registrations/{principal}": {
1874
+ parameters: {
1875
+ query?: never;
1876
+ header?: never;
1877
+ path?: never;
1878
+ cookie?: never;
1879
+ };
1880
+ /**
1881
+ * Get bond registration
1882
+ * @description Get bond registration
1883
+ */
1884
+ get: operations["get_bond_registration"];
1885
+ put?: never;
1886
+ post?: never;
1887
+ delete?: never;
1888
+ options?: never;
1889
+ head?: never;
1890
+ patch?: never;
1891
+ trace?: never;
1892
+ };
1893
+ "/extended/v3/transactions": {
1894
+ parameters: {
1895
+ query?: never;
1896
+ header?: never;
1897
+ path?: never;
1898
+ cookie?: never;
1899
+ };
1900
+ /**
1901
+ * Get transactions
1902
+ * @description Retrieves a list of recently mined transactions
1903
+ */
1904
+ get: operations["get_transactions"];
1905
+ put?: never;
1906
+ post?: never;
1907
+ delete?: never;
1908
+ options?: never;
1909
+ head?: never;
1910
+ patch?: never;
1911
+ trace?: never;
1912
+ };
1913
+ "/extended/v3/transactions/{tx_id}": {
1914
+ parameters: {
1915
+ query?: never;
1916
+ header?: never;
1917
+ path?: never;
1918
+ cookie?: never;
1919
+ };
1920
+ /**
1921
+ * Get transaction
1922
+ * @description Retrieves details for a given transaction, including both mined and mempool transactions
1923
+ */
1924
+ get: operations["get_transaction"];
1925
+ put?: never;
1926
+ post?: never;
1927
+ delete?: never;
1928
+ options?: never;
1929
+ head?: never;
1930
+ patch?: never;
1931
+ trace?: never;
1932
+ };
1933
+ "/extended/v3/transactions/{tx_id}/events": {
1934
+ parameters: {
1935
+ query?: never;
1936
+ header?: never;
1937
+ path?: never;
1938
+ cookie?: never;
1939
+ };
1940
+ /**
1941
+ * Get transaction events
1942
+ * @description Retrieves events for a given transaction ID
1943
+ */
1944
+ get: operations["get_transaction_events"];
1825
1945
  put?: never;
1826
1946
  post?: never;
1827
1947
  delete?: never;
@@ -31801,7 +31921,7 @@ export interface operations {
31801
31921
  };
31802
31922
  };
31803
31923
  };
31804
- get_principal_transactions: {
31924
+ get_block_transactions: {
31805
31925
  parameters: {
31806
31926
  query?: {
31807
31927
  /** @description Number of results per page */
@@ -31811,364 +31931,1375 @@ export interface operations {
31811
31931
  };
31812
31932
  header?: never;
31813
31933
  path: {
31814
- principal: string;
31815
- };
31816
- cookie?: never;
31817
- };
31818
- requestBody?: never;
31819
- responses: {
31820
- /** @description Default Response */
31821
- 200: {
31822
- headers: {
31823
- [name: string]: unknown;
31824
- };
31825
- content: {
31826
- "application/json": {
31827
- /** @example 1 */
31828
- total: number;
31829
- /**
31830
- * @description Number of results per page
31831
- * @default 20
31832
- */
31833
- limit: number;
31834
- cursor: {
31835
- next: string | null;
31836
- previous: string | null;
31837
- current: string | null;
31838
- };
31839
- results: {
31840
- transaction: {
31841
- /** @description Transaction ID */
31842
- tx_id: string;
31843
- sender: {
31844
- /** @description Address of the transaction initiator */
31845
- address: string;
31846
- /** @description Nonce of the transaction initiator */
31847
- nonce: number;
31848
- };
31849
- sponsor: {
31850
- /** @description Address of the transaction initiator */
31851
- address: string;
31852
- /** @description Nonce of the transaction initiator */
31853
- nonce: number;
31854
- } | null;
31855
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
31856
- fee_rate: string;
31857
- block: {
31858
- /** @description Height of the block this transactions was associated with */
31859
- height: number;
31860
- /** @description Hash of the blocked this transactions was associated with */
31861
- hash: string;
31862
- /** @description Hash of the index block this transactions was associated with */
31863
- index_hash: string;
31864
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31865
- time: number;
31866
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
31867
- tx_index: number;
31868
- };
31869
- bitcoin_block: {
31870
- /** @description Height of the anchor burn block. */
31871
- height: number;
31872
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31873
- time: number;
31874
- };
31875
- /** @description Status of the transaction */
31876
- status: "success" | "abort_by_response" | "abort_by_post_condition";
31877
- /** @enum {string} */
31878
- type: "token_transfer";
31879
- token_transfer: {
31880
- recipient: string;
31881
- /** @description Transfer amount as Integer string (64-bit unsigned integer) */
31882
- amount: string;
31883
- memo: {
31884
- hex: string;
31885
- repr: string;
31886
- } | null;
31887
- };
31888
- } | {
31889
- /** @description Transaction ID */
31890
- tx_id: string;
31891
- sender: {
31892
- /** @description Address of the transaction initiator */
31893
- address: string;
31894
- /** @description Nonce of the transaction initiator */
31895
- nonce: number;
31896
- };
31897
- sponsor: {
31898
- /** @description Address of the transaction initiator */
31899
- address: string;
31900
- /** @description Nonce of the transaction initiator */
31901
- nonce: number;
31902
- } | null;
31903
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
31904
- fee_rate: string;
31905
- block: {
31906
- /** @description Height of the block this transactions was associated with */
31907
- height: number;
31908
- /** @description Hash of the blocked this transactions was associated with */
31909
- hash: string;
31910
- /** @description Hash of the index block this transactions was associated with */
31911
- index_hash: string;
31912
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31913
- time: number;
31914
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
31915
- tx_index: number;
31916
- };
31917
- bitcoin_block: {
31918
- /** @description Height of the anchor burn block. */
31919
- height: number;
31920
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31921
- time: number;
31922
- };
31923
- /** @description Status of the transaction */
31924
- status: "success" | "abort_by_response" | "abort_by_post_condition";
31925
- /** @enum {string} */
31926
- type: "smart_contract";
31927
- smart_contract: {
31928
- clarity_version: number | null;
31929
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
31930
- contract_id: string;
31931
- };
31932
- } | {
31933
- /** @description Transaction ID */
31934
- tx_id: string;
31935
- sender: {
31936
- /** @description Address of the transaction initiator */
31937
- address: string;
31938
- /** @description Nonce of the transaction initiator */
31939
- nonce: number;
31940
- };
31941
- sponsor: {
31942
- /** @description Address of the transaction initiator */
31943
- address: string;
31944
- /** @description Nonce of the transaction initiator */
31945
- nonce: number;
31946
- } | null;
31947
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
31948
- fee_rate: string;
31949
- block: {
31950
- /** @description Height of the block this transactions was associated with */
31951
- height: number;
31952
- /** @description Hash of the blocked this transactions was associated with */
31953
- hash: string;
31954
- /** @description Hash of the index block this transactions was associated with */
31955
- index_hash: string;
31956
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31957
- time: number;
31958
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
31959
- tx_index: number;
31960
- };
31961
- bitcoin_block: {
31962
- /** @description Height of the anchor burn block. */
31963
- height: number;
31964
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31965
- time: number;
31966
- };
31967
- /** @description Status of the transaction */
31968
- status: "success" | "abort_by_response" | "abort_by_post_condition";
31969
- /** @enum {string} */
31970
- type: "contract_call";
31971
- contract_call: {
31972
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
31973
- contract_id: string;
31974
- /** @description Name of the Clarity function to be invoked */
31975
- function_name: string;
31976
- };
31977
- } | {
31978
- /** @description Transaction ID */
31979
- tx_id: string;
31980
- sender: {
31981
- /** @description Address of the transaction initiator */
31982
- address: string;
31983
- /** @description Nonce of the transaction initiator */
31984
- nonce: number;
31985
- };
31986
- sponsor: {
31987
- /** @description Address of the transaction initiator */
31988
- address: string;
31989
- /** @description Nonce of the transaction initiator */
31990
- nonce: number;
31991
- } | null;
31992
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
31993
- fee_rate: string;
31994
- block: {
31995
- /** @description Height of the block this transactions was associated with */
31996
- height: number;
31997
- /** @description Hash of the blocked this transactions was associated with */
31998
- hash: string;
31999
- /** @description Hash of the index block this transactions was associated with */
32000
- index_hash: string;
32001
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32002
- time: number;
32003
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32004
- tx_index: number;
32005
- };
32006
- bitcoin_block: {
32007
- /** @description Height of the anchor burn block. */
32008
- height: number;
32009
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32010
- time: number;
32011
- };
32012
- /** @description Status of the transaction */
32013
- status: "success" | "abort_by_response" | "abort_by_post_condition";
32014
- /** @enum {string} */
32015
- type: "poison_microblock";
32016
- } | {
32017
- /** @description Transaction ID */
32018
- tx_id: string;
32019
- sender: {
32020
- /** @description Address of the transaction initiator */
32021
- address: string;
32022
- /** @description Nonce of the transaction initiator */
32023
- nonce: number;
32024
- };
32025
- sponsor: {
32026
- /** @description Address of the transaction initiator */
32027
- address: string;
32028
- /** @description Nonce of the transaction initiator */
32029
- nonce: number;
32030
- } | null;
32031
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32032
- fee_rate: string;
32033
- block: {
32034
- /** @description Height of the block this transactions was associated with */
32035
- height: number;
32036
- /** @description Hash of the blocked this transactions was associated with */
32037
- hash: string;
32038
- /** @description Hash of the index block this transactions was associated with */
32039
- index_hash: string;
32040
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32041
- time: number;
32042
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32043
- tx_index: number;
32044
- };
32045
- bitcoin_block: {
32046
- /** @description Height of the anchor burn block. */
32047
- height: number;
32048
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32049
- time: number;
32050
- };
32051
- /** @description Status of the transaction */
32052
- status: "success" | "abort_by_response" | "abort_by_post_condition";
32053
- /** @enum {string} */
32054
- type: "coinbase";
32055
- coinbase: {
32056
- alt_recipient: string | null;
32057
- };
32058
- } | {
32059
- /** @description Transaction ID */
32060
- tx_id: string;
32061
- sender: {
32062
- /** @description Address of the transaction initiator */
32063
- address: string;
32064
- /** @description Nonce of the transaction initiator */
32065
- nonce: number;
32066
- };
32067
- sponsor: {
32068
- /** @description Address of the transaction initiator */
32069
- address: string;
32070
- /** @description Nonce of the transaction initiator */
32071
- nonce: number;
32072
- } | null;
32073
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32074
- fee_rate: string;
32075
- block: {
32076
- /** @description Height of the block this transactions was associated with */
32077
- height: number;
32078
- /** @description Hash of the blocked this transactions was associated with */
32079
- hash: string;
32080
- /** @description Hash of the index block this transactions was associated with */
32081
- index_hash: string;
32082
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32083
- time: number;
32084
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32085
- tx_index: number;
32086
- };
32087
- bitcoin_block: {
32088
- /** @description Height of the anchor burn block. */
32089
- height: number;
32090
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32091
- time: number;
32092
- };
32093
- /** @description Status of the transaction */
32094
- status: "success" | "abort_by_response" | "abort_by_post_condition";
32095
- /** @enum {string} */
32096
- type: "tenure_change";
32097
- tenure_change: {
32098
- /** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
32099
- cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
32100
- };
32101
- };
32102
- /** @description How the principal is involved in the transaction. */
32103
- involvement: "sender" | "sponsor" | "affected";
32104
- balance_changes: {
32105
- stx: {
32106
- /** @description Total sent from the given address, including the tx fee, in micro-STX as an integer string. */
32107
- sent: string;
32108
- /** @description Total received by the given address in micro-STX as an integer string. */
32109
- received: string;
32110
- /** @description Net change in the principal's STX balance in micro-STX as an integer string. */
32111
- net: string;
32112
- };
32113
- };
32114
- affected_balances: {
32115
- /** @description Whether the principal's STX balance was affected by the transaction */
32116
- stx: boolean;
32117
- /** @description Whether the principal's FT balance was affected by the transaction */
32118
- ft: boolean;
32119
- /** @description Whether the principal's NFT balance was affected by the transaction */
32120
- nft: boolean;
32121
- };
32122
- }[];
32123
- };
32124
- };
32125
- };
32126
- /** @description Default Response */
32127
- "4XX": {
32128
- headers: {
32129
- [name: string]: unknown;
32130
- };
32131
- content: {
32132
- "application/json": {
32133
- error: string;
32134
- message?: string;
32135
- } & {
32136
- [key: string]: unknown;
32137
- };
32138
- };
32139
- };
32140
- };
32141
- };
32142
- get_principal_staking_balances: {
32143
- parameters: {
32144
- query?: never;
32145
- header?: never;
32146
- path: {
32147
- principal: string;
32148
- };
32149
- cookie?: never;
32150
- };
32151
- requestBody?: never;
32152
- responses: {
32153
- /** @description Default Response */
32154
- 200: {
32155
- headers: {
32156
- [name: string]: unknown;
32157
- };
32158
- content?: never;
32159
- };
32160
- };
32161
- };
32162
- get_transactions: {
32163
- parameters: {
32164
- query?: {
32165
- /** @description Number of results per page */
32166
- limit?: number;
32167
- /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
32168
- cursor?: string;
31934
+ height_or_hash: "latest" | string | number;
32169
31935
  };
32170
- header?: never;
32171
- path?: never;
31936
+ cookie?: never;
31937
+ };
31938
+ requestBody?: never;
31939
+ responses: {
31940
+ /** @description Default Response */
31941
+ 200: {
31942
+ headers: {
31943
+ [name: string]: unknown;
31944
+ };
31945
+ content: {
31946
+ "application/json": {
31947
+ /** @example 1 */
31948
+ total: number;
31949
+ /**
31950
+ * @description Number of results per page
31951
+ * @default 20
31952
+ */
31953
+ limit: number;
31954
+ cursor: {
31955
+ next: string | null;
31956
+ previous: string | null;
31957
+ current: string | null;
31958
+ };
31959
+ results: ({
31960
+ /** @description Transaction ID */
31961
+ tx_id: string;
31962
+ sender: {
31963
+ /** @description Address of the transaction initiator */
31964
+ address: string;
31965
+ /** @description Nonce of the transaction initiator */
31966
+ nonce: number;
31967
+ };
31968
+ sponsor: {
31969
+ /** @description Address of the transaction initiator */
31970
+ address: string;
31971
+ /** @description Nonce of the transaction initiator */
31972
+ nonce: number;
31973
+ } | null;
31974
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
31975
+ fee_rate: string;
31976
+ block: {
31977
+ /** @description Height of the block this transactions was associated with */
31978
+ height: number;
31979
+ /** @description Hash of the blocked this transactions was associated with */
31980
+ hash: string;
31981
+ /** @description Hash of the index block this transactions was associated with */
31982
+ index_hash: string;
31983
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31984
+ time: number;
31985
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
31986
+ tx_index: number;
31987
+ };
31988
+ bitcoin_block: {
31989
+ /** @description Height of the anchor burn block. */
31990
+ height: number;
31991
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
31992
+ time: number;
31993
+ };
31994
+ /** @description Status of the transaction */
31995
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
31996
+ /** @enum {string} */
31997
+ type: "token_transfer";
31998
+ token_transfer: {
31999
+ recipient: string;
32000
+ /** @description Transfer amount as Integer string (64-bit unsigned integer) */
32001
+ amount: string;
32002
+ memo: {
32003
+ hex: string;
32004
+ repr: string;
32005
+ } | null;
32006
+ };
32007
+ } | {
32008
+ /** @description Transaction ID */
32009
+ tx_id: string;
32010
+ sender: {
32011
+ /** @description Address of the transaction initiator */
32012
+ address: string;
32013
+ /** @description Nonce of the transaction initiator */
32014
+ nonce: number;
32015
+ };
32016
+ sponsor: {
32017
+ /** @description Address of the transaction initiator */
32018
+ address: string;
32019
+ /** @description Nonce of the transaction initiator */
32020
+ nonce: number;
32021
+ } | null;
32022
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32023
+ fee_rate: string;
32024
+ block: {
32025
+ /** @description Height of the block this transactions was associated with */
32026
+ height: number;
32027
+ /** @description Hash of the blocked this transactions was associated with */
32028
+ hash: string;
32029
+ /** @description Hash of the index block this transactions was associated with */
32030
+ index_hash: string;
32031
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32032
+ time: number;
32033
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32034
+ tx_index: number;
32035
+ };
32036
+ bitcoin_block: {
32037
+ /** @description Height of the anchor burn block. */
32038
+ height: number;
32039
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32040
+ time: number;
32041
+ };
32042
+ /** @description Status of the transaction */
32043
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32044
+ /** @enum {string} */
32045
+ type: "smart_contract";
32046
+ smart_contract: {
32047
+ clarity_version: number | null;
32048
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32049
+ contract_id: string;
32050
+ };
32051
+ } | {
32052
+ /** @description Transaction ID */
32053
+ tx_id: string;
32054
+ sender: {
32055
+ /** @description Address of the transaction initiator */
32056
+ address: string;
32057
+ /** @description Nonce of the transaction initiator */
32058
+ nonce: number;
32059
+ };
32060
+ sponsor: {
32061
+ /** @description Address of the transaction initiator */
32062
+ address: string;
32063
+ /** @description Nonce of the transaction initiator */
32064
+ nonce: number;
32065
+ } | null;
32066
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32067
+ fee_rate: string;
32068
+ block: {
32069
+ /** @description Height of the block this transactions was associated with */
32070
+ height: number;
32071
+ /** @description Hash of the blocked this transactions was associated with */
32072
+ hash: string;
32073
+ /** @description Hash of the index block this transactions was associated with */
32074
+ index_hash: string;
32075
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32076
+ time: number;
32077
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32078
+ tx_index: number;
32079
+ };
32080
+ bitcoin_block: {
32081
+ /** @description Height of the anchor burn block. */
32082
+ height: number;
32083
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32084
+ time: number;
32085
+ };
32086
+ /** @description Status of the transaction */
32087
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32088
+ /** @enum {string} */
32089
+ type: "contract_call";
32090
+ contract_call: {
32091
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32092
+ contract_id: string;
32093
+ /** @description Name of the Clarity function to be invoked */
32094
+ function_name: string;
32095
+ };
32096
+ } | {
32097
+ /** @description Transaction ID */
32098
+ tx_id: string;
32099
+ sender: {
32100
+ /** @description Address of the transaction initiator */
32101
+ address: string;
32102
+ /** @description Nonce of the transaction initiator */
32103
+ nonce: number;
32104
+ };
32105
+ sponsor: {
32106
+ /** @description Address of the transaction initiator */
32107
+ address: string;
32108
+ /** @description Nonce of the transaction initiator */
32109
+ nonce: number;
32110
+ } | null;
32111
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32112
+ fee_rate: string;
32113
+ block: {
32114
+ /** @description Height of the block this transactions was associated with */
32115
+ height: number;
32116
+ /** @description Hash of the blocked this transactions was associated with */
32117
+ hash: string;
32118
+ /** @description Hash of the index block this transactions was associated with */
32119
+ index_hash: string;
32120
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32121
+ time: number;
32122
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32123
+ tx_index: number;
32124
+ };
32125
+ bitcoin_block: {
32126
+ /** @description Height of the anchor burn block. */
32127
+ height: number;
32128
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32129
+ time: number;
32130
+ };
32131
+ /** @description Status of the transaction */
32132
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32133
+ /** @enum {string} */
32134
+ type: "poison_microblock";
32135
+ } | {
32136
+ /** @description Transaction ID */
32137
+ tx_id: string;
32138
+ sender: {
32139
+ /** @description Address of the transaction initiator */
32140
+ address: string;
32141
+ /** @description Nonce of the transaction initiator */
32142
+ nonce: number;
32143
+ };
32144
+ sponsor: {
32145
+ /** @description Address of the transaction initiator */
32146
+ address: string;
32147
+ /** @description Nonce of the transaction initiator */
32148
+ nonce: number;
32149
+ } | null;
32150
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32151
+ fee_rate: string;
32152
+ block: {
32153
+ /** @description Height of the block this transactions was associated with */
32154
+ height: number;
32155
+ /** @description Hash of the blocked this transactions was associated with */
32156
+ hash: string;
32157
+ /** @description Hash of the index block this transactions was associated with */
32158
+ index_hash: string;
32159
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32160
+ time: number;
32161
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32162
+ tx_index: number;
32163
+ };
32164
+ bitcoin_block: {
32165
+ /** @description Height of the anchor burn block. */
32166
+ height: number;
32167
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32168
+ time: number;
32169
+ };
32170
+ /** @description Status of the transaction */
32171
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32172
+ /** @enum {string} */
32173
+ type: "coinbase";
32174
+ coinbase: {
32175
+ alt_recipient: string | null;
32176
+ };
32177
+ } | {
32178
+ /** @description Transaction ID */
32179
+ tx_id: string;
32180
+ sender: {
32181
+ /** @description Address of the transaction initiator */
32182
+ address: string;
32183
+ /** @description Nonce of the transaction initiator */
32184
+ nonce: number;
32185
+ };
32186
+ sponsor: {
32187
+ /** @description Address of the transaction initiator */
32188
+ address: string;
32189
+ /** @description Nonce of the transaction initiator */
32190
+ nonce: number;
32191
+ } | null;
32192
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32193
+ fee_rate: string;
32194
+ block: {
32195
+ /** @description Height of the block this transactions was associated with */
32196
+ height: number;
32197
+ /** @description Hash of the blocked this transactions was associated with */
32198
+ hash: string;
32199
+ /** @description Hash of the index block this transactions was associated with */
32200
+ index_hash: string;
32201
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32202
+ time: number;
32203
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32204
+ tx_index: number;
32205
+ };
32206
+ bitcoin_block: {
32207
+ /** @description Height of the anchor burn block. */
32208
+ height: number;
32209
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32210
+ time: number;
32211
+ };
32212
+ /** @description Status of the transaction */
32213
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32214
+ /** @enum {string} */
32215
+ type: "tenure_change";
32216
+ tenure_change: {
32217
+ /** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
32218
+ cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
32219
+ };
32220
+ })[];
32221
+ };
32222
+ };
32223
+ };
32224
+ /** @description Default Response */
32225
+ "4XX": {
32226
+ headers: {
32227
+ [name: string]: unknown;
32228
+ };
32229
+ content: {
32230
+ "application/json": {
32231
+ error: string;
32232
+ message?: string;
32233
+ } & {
32234
+ [key: string]: unknown;
32235
+ };
32236
+ };
32237
+ };
32238
+ };
32239
+ };
32240
+ get_mempool_transactions: {
32241
+ parameters: {
32242
+ query?: {
32243
+ /** @description Number of results per page */
32244
+ limit?: number;
32245
+ /** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
32246
+ cursor?: string;
32247
+ };
32248
+ header?: never;
32249
+ path?: never;
32250
+ cookie?: never;
32251
+ };
32252
+ requestBody?: never;
32253
+ responses: {
32254
+ /** @description Default Response */
32255
+ 200: {
32256
+ headers: {
32257
+ [name: string]: unknown;
32258
+ };
32259
+ content: {
32260
+ "application/json": {
32261
+ /** @example 1 */
32262
+ total: number;
32263
+ /**
32264
+ * @description Number of results per page
32265
+ * @default 20
32266
+ */
32267
+ limit: number;
32268
+ cursor: {
32269
+ next: string | null;
32270
+ previous: string | null;
32271
+ current: string | null;
32272
+ };
32273
+ results: ({
32274
+ /** @description Transaction ID */
32275
+ tx_id: string;
32276
+ sender: {
32277
+ /** @description Address of the transaction initiator */
32278
+ address: string;
32279
+ /** @description Nonce of the transaction initiator */
32280
+ nonce: number;
32281
+ };
32282
+ sponsor: {
32283
+ /** @description Address of the transaction initiator */
32284
+ address: string;
32285
+ /** @description Nonce of the transaction initiator */
32286
+ nonce: number;
32287
+ } | null;
32288
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32289
+ fee_rate: string;
32290
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32291
+ receipt_time: number;
32292
+ /** @description Height of the block this transaction was received by the node */
32293
+ receipt_block_height: number;
32294
+ /** @description Status of the mempool transaction */
32295
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32296
+ /** @enum {string} */
32297
+ type: "token_transfer";
32298
+ token_transfer: {
32299
+ recipient: string;
32300
+ /** @description Transfer amount as Integer string (64-bit unsigned integer) */
32301
+ amount: string;
32302
+ memo: {
32303
+ hex: string;
32304
+ repr: string;
32305
+ } | null;
32306
+ };
32307
+ } | {
32308
+ /** @description Transaction ID */
32309
+ tx_id: string;
32310
+ sender: {
32311
+ /** @description Address of the transaction initiator */
32312
+ address: string;
32313
+ /** @description Nonce of the transaction initiator */
32314
+ nonce: number;
32315
+ };
32316
+ sponsor: {
32317
+ /** @description Address of the transaction initiator */
32318
+ address: string;
32319
+ /** @description Nonce of the transaction initiator */
32320
+ nonce: number;
32321
+ } | null;
32322
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32323
+ fee_rate: string;
32324
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32325
+ receipt_time: number;
32326
+ /** @description Height of the block this transaction was received by the node */
32327
+ receipt_block_height: number;
32328
+ /** @description Status of the mempool transaction */
32329
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32330
+ /** @enum {string} */
32331
+ type: "smart_contract";
32332
+ smart_contract: {
32333
+ clarity_version: number | null;
32334
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32335
+ contract_id: string;
32336
+ };
32337
+ } | {
32338
+ /** @description Transaction ID */
32339
+ tx_id: string;
32340
+ sender: {
32341
+ /** @description Address of the transaction initiator */
32342
+ address: string;
32343
+ /** @description Nonce of the transaction initiator */
32344
+ nonce: number;
32345
+ };
32346
+ sponsor: {
32347
+ /** @description Address of the transaction initiator */
32348
+ address: string;
32349
+ /** @description Nonce of the transaction initiator */
32350
+ nonce: number;
32351
+ } | null;
32352
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32353
+ fee_rate: string;
32354
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32355
+ receipt_time: number;
32356
+ /** @description Height of the block this transaction was received by the node */
32357
+ receipt_block_height: number;
32358
+ /** @description Status of the mempool transaction */
32359
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32360
+ /** @enum {string} */
32361
+ type: "contract_call";
32362
+ contract_call: {
32363
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32364
+ contract_id: string;
32365
+ /** @description Name of the Clarity function to be invoked */
32366
+ function_name: string;
32367
+ };
32368
+ } | {
32369
+ /** @description Transaction ID */
32370
+ tx_id: string;
32371
+ sender: {
32372
+ /** @description Address of the transaction initiator */
32373
+ address: string;
32374
+ /** @description Nonce of the transaction initiator */
32375
+ nonce: number;
32376
+ };
32377
+ sponsor: {
32378
+ /** @description Address of the transaction initiator */
32379
+ address: string;
32380
+ /** @description Nonce of the transaction initiator */
32381
+ nonce: number;
32382
+ } | null;
32383
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32384
+ fee_rate: string;
32385
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32386
+ receipt_time: number;
32387
+ /** @description Height of the block this transaction was received by the node */
32388
+ receipt_block_height: number;
32389
+ /** @description Status of the mempool transaction */
32390
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32391
+ /** @enum {string} */
32392
+ type: "poison_microblock";
32393
+ } | {
32394
+ /** @description Transaction ID */
32395
+ tx_id: string;
32396
+ sender: {
32397
+ /** @description Address of the transaction initiator */
32398
+ address: string;
32399
+ /** @description Nonce of the transaction initiator */
32400
+ nonce: number;
32401
+ };
32402
+ sponsor: {
32403
+ /** @description Address of the transaction initiator */
32404
+ address: string;
32405
+ /** @description Nonce of the transaction initiator */
32406
+ nonce: number;
32407
+ } | null;
32408
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32409
+ fee_rate: string;
32410
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32411
+ receipt_time: number;
32412
+ /** @description Height of the block this transaction was received by the node */
32413
+ receipt_block_height: number;
32414
+ /** @description Status of the mempool transaction */
32415
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32416
+ /** @enum {string} */
32417
+ type: "coinbase";
32418
+ } | {
32419
+ /** @description Transaction ID */
32420
+ tx_id: string;
32421
+ sender: {
32422
+ /** @description Address of the transaction initiator */
32423
+ address: string;
32424
+ /** @description Nonce of the transaction initiator */
32425
+ nonce: number;
32426
+ };
32427
+ sponsor: {
32428
+ /** @description Address of the transaction initiator */
32429
+ address: string;
32430
+ /** @description Nonce of the transaction initiator */
32431
+ nonce: number;
32432
+ } | null;
32433
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32434
+ fee_rate: string;
32435
+ /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
32436
+ receipt_time: number;
32437
+ /** @description Height of the block this transaction was received by the node */
32438
+ receipt_block_height: number;
32439
+ /** @description Status of the mempool transaction */
32440
+ status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
32441
+ /** @enum {string} */
32442
+ type: "tenure_change";
32443
+ })[];
32444
+ };
32445
+ };
32446
+ };
32447
+ /** @description Default Response */
32448
+ "4XX": {
32449
+ headers: {
32450
+ [name: string]: unknown;
32451
+ };
32452
+ content: {
32453
+ "application/json": {
32454
+ error: string;
32455
+ message?: string;
32456
+ } & {
32457
+ [key: string]: unknown;
32458
+ };
32459
+ };
32460
+ };
32461
+ };
32462
+ };
32463
+ get_principal_transactions: {
32464
+ parameters: {
32465
+ query?: {
32466
+ /** @description Number of results per page */
32467
+ limit?: number;
32468
+ /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
32469
+ cursor?: string;
32470
+ };
32471
+ header?: never;
32472
+ path: {
32473
+ principal: string;
32474
+ };
32475
+ cookie?: never;
32476
+ };
32477
+ requestBody?: never;
32478
+ responses: {
32479
+ /** @description Default Response */
32480
+ 200: {
32481
+ headers: {
32482
+ [name: string]: unknown;
32483
+ };
32484
+ content: {
32485
+ "application/json": {
32486
+ /** @example 1 */
32487
+ total: number;
32488
+ /**
32489
+ * @description Number of results per page
32490
+ * @default 20
32491
+ */
32492
+ limit: number;
32493
+ cursor: {
32494
+ next: string | null;
32495
+ previous: string | null;
32496
+ current: string | null;
32497
+ };
32498
+ results: {
32499
+ transaction: {
32500
+ /** @description Transaction ID */
32501
+ tx_id: string;
32502
+ sender: {
32503
+ /** @description Address of the transaction initiator */
32504
+ address: string;
32505
+ /** @description Nonce of the transaction initiator */
32506
+ nonce: number;
32507
+ };
32508
+ sponsor: {
32509
+ /** @description Address of the transaction initiator */
32510
+ address: string;
32511
+ /** @description Nonce of the transaction initiator */
32512
+ nonce: number;
32513
+ } | null;
32514
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32515
+ fee_rate: string;
32516
+ block: {
32517
+ /** @description Height of the block this transactions was associated with */
32518
+ height: number;
32519
+ /** @description Hash of the blocked this transactions was associated with */
32520
+ hash: string;
32521
+ /** @description Hash of the index block this transactions was associated with */
32522
+ index_hash: string;
32523
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32524
+ time: number;
32525
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32526
+ tx_index: number;
32527
+ };
32528
+ bitcoin_block: {
32529
+ /** @description Height of the anchor burn block. */
32530
+ height: number;
32531
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32532
+ time: number;
32533
+ };
32534
+ /** @description Status of the transaction */
32535
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32536
+ /** @enum {string} */
32537
+ type: "token_transfer";
32538
+ token_transfer: {
32539
+ recipient: string;
32540
+ /** @description Transfer amount as Integer string (64-bit unsigned integer) */
32541
+ amount: string;
32542
+ memo: {
32543
+ hex: string;
32544
+ repr: string;
32545
+ } | null;
32546
+ };
32547
+ } | {
32548
+ /** @description Transaction ID */
32549
+ tx_id: string;
32550
+ sender: {
32551
+ /** @description Address of the transaction initiator */
32552
+ address: string;
32553
+ /** @description Nonce of the transaction initiator */
32554
+ nonce: number;
32555
+ };
32556
+ sponsor: {
32557
+ /** @description Address of the transaction initiator */
32558
+ address: string;
32559
+ /** @description Nonce of the transaction initiator */
32560
+ nonce: number;
32561
+ } | null;
32562
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32563
+ fee_rate: string;
32564
+ block: {
32565
+ /** @description Height of the block this transactions was associated with */
32566
+ height: number;
32567
+ /** @description Hash of the blocked this transactions was associated with */
32568
+ hash: string;
32569
+ /** @description Hash of the index block this transactions was associated with */
32570
+ index_hash: string;
32571
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32572
+ time: number;
32573
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32574
+ tx_index: number;
32575
+ };
32576
+ bitcoin_block: {
32577
+ /** @description Height of the anchor burn block. */
32578
+ height: number;
32579
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32580
+ time: number;
32581
+ };
32582
+ /** @description Status of the transaction */
32583
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32584
+ /** @enum {string} */
32585
+ type: "smart_contract";
32586
+ smart_contract: {
32587
+ clarity_version: number | null;
32588
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32589
+ contract_id: string;
32590
+ };
32591
+ } | {
32592
+ /** @description Transaction ID */
32593
+ tx_id: string;
32594
+ sender: {
32595
+ /** @description Address of the transaction initiator */
32596
+ address: string;
32597
+ /** @description Nonce of the transaction initiator */
32598
+ nonce: number;
32599
+ };
32600
+ sponsor: {
32601
+ /** @description Address of the transaction initiator */
32602
+ address: string;
32603
+ /** @description Nonce of the transaction initiator */
32604
+ nonce: number;
32605
+ } | null;
32606
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32607
+ fee_rate: string;
32608
+ block: {
32609
+ /** @description Height of the block this transactions was associated with */
32610
+ height: number;
32611
+ /** @description Hash of the blocked this transactions was associated with */
32612
+ hash: string;
32613
+ /** @description Hash of the index block this transactions was associated with */
32614
+ index_hash: string;
32615
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32616
+ time: number;
32617
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32618
+ tx_index: number;
32619
+ };
32620
+ bitcoin_block: {
32621
+ /** @description Height of the anchor burn block. */
32622
+ height: number;
32623
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32624
+ time: number;
32625
+ };
32626
+ /** @description Status of the transaction */
32627
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32628
+ /** @enum {string} */
32629
+ type: "contract_call";
32630
+ contract_call: {
32631
+ /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
32632
+ contract_id: string;
32633
+ /** @description Name of the Clarity function to be invoked */
32634
+ function_name: string;
32635
+ };
32636
+ } | {
32637
+ /** @description Transaction ID */
32638
+ tx_id: string;
32639
+ sender: {
32640
+ /** @description Address of the transaction initiator */
32641
+ address: string;
32642
+ /** @description Nonce of the transaction initiator */
32643
+ nonce: number;
32644
+ };
32645
+ sponsor: {
32646
+ /** @description Address of the transaction initiator */
32647
+ address: string;
32648
+ /** @description Nonce of the transaction initiator */
32649
+ nonce: number;
32650
+ } | null;
32651
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32652
+ fee_rate: string;
32653
+ block: {
32654
+ /** @description Height of the block this transactions was associated with */
32655
+ height: number;
32656
+ /** @description Hash of the blocked this transactions was associated with */
32657
+ hash: string;
32658
+ /** @description Hash of the index block this transactions was associated with */
32659
+ index_hash: string;
32660
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32661
+ time: number;
32662
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32663
+ tx_index: number;
32664
+ };
32665
+ bitcoin_block: {
32666
+ /** @description Height of the anchor burn block. */
32667
+ height: number;
32668
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32669
+ time: number;
32670
+ };
32671
+ /** @description Status of the transaction */
32672
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32673
+ /** @enum {string} */
32674
+ type: "poison_microblock";
32675
+ } | {
32676
+ /** @description Transaction ID */
32677
+ tx_id: string;
32678
+ sender: {
32679
+ /** @description Address of the transaction initiator */
32680
+ address: string;
32681
+ /** @description Nonce of the transaction initiator */
32682
+ nonce: number;
32683
+ };
32684
+ sponsor: {
32685
+ /** @description Address of the transaction initiator */
32686
+ address: string;
32687
+ /** @description Nonce of the transaction initiator */
32688
+ nonce: number;
32689
+ } | null;
32690
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32691
+ fee_rate: string;
32692
+ block: {
32693
+ /** @description Height of the block this transactions was associated with */
32694
+ height: number;
32695
+ /** @description Hash of the blocked this transactions was associated with */
32696
+ hash: string;
32697
+ /** @description Hash of the index block this transactions was associated with */
32698
+ index_hash: string;
32699
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32700
+ time: number;
32701
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32702
+ tx_index: number;
32703
+ };
32704
+ bitcoin_block: {
32705
+ /** @description Height of the anchor burn block. */
32706
+ height: number;
32707
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32708
+ time: number;
32709
+ };
32710
+ /** @description Status of the transaction */
32711
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32712
+ /** @enum {string} */
32713
+ type: "coinbase";
32714
+ coinbase: {
32715
+ alt_recipient: string | null;
32716
+ };
32717
+ } | {
32718
+ /** @description Transaction ID */
32719
+ tx_id: string;
32720
+ sender: {
32721
+ /** @description Address of the transaction initiator */
32722
+ address: string;
32723
+ /** @description Nonce of the transaction initiator */
32724
+ nonce: number;
32725
+ };
32726
+ sponsor: {
32727
+ /** @description Address of the transaction initiator */
32728
+ address: string;
32729
+ /** @description Nonce of the transaction initiator */
32730
+ nonce: number;
32731
+ } | null;
32732
+ /** @description Transaction fee as Integer string (64-bit unsigned integer). */
32733
+ fee_rate: string;
32734
+ block: {
32735
+ /** @description Height of the block this transactions was associated with */
32736
+ height: number;
32737
+ /** @description Hash of the blocked this transactions was associated with */
32738
+ hash: string;
32739
+ /** @description Hash of the index block this transactions was associated with */
32740
+ index_hash: string;
32741
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32742
+ time: number;
32743
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
32744
+ tx_index: number;
32745
+ };
32746
+ bitcoin_block: {
32747
+ /** @description Height of the anchor burn block. */
32748
+ height: number;
32749
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
32750
+ time: number;
32751
+ };
32752
+ /** @description Status of the transaction */
32753
+ status: "success" | "abort_by_response" | "abort_by_post_condition";
32754
+ /** @enum {string} */
32755
+ type: "tenure_change";
32756
+ tenure_change: {
32757
+ /** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
32758
+ cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
32759
+ };
32760
+ };
32761
+ /** @description How the principal is involved in the transaction. */
32762
+ involvement: "sender" | "sponsor" | "affected";
32763
+ balance_changes: {
32764
+ stx: {
32765
+ /** @description Total sent from the given address, including the tx fee, in micro-STX as an integer string. */
32766
+ sent: string;
32767
+ /** @description Total received by the given address in micro-STX as an integer string. */
32768
+ received: string;
32769
+ /** @description Net change in the principal's STX balance in micro-STX as an integer string. */
32770
+ net: string;
32771
+ };
32772
+ };
32773
+ affected_balances: {
32774
+ /** @description Whether the principal's STX balance was affected by the transaction */
32775
+ stx: boolean;
32776
+ /** @description Whether the principal's FT balance was affected by the transaction */
32777
+ ft: boolean;
32778
+ /** @description Whether the principal's NFT balance was affected by the transaction */
32779
+ nft: boolean;
32780
+ };
32781
+ }[];
32782
+ };
32783
+ };
32784
+ };
32785
+ /** @description Default Response */
32786
+ "4XX": {
32787
+ headers: {
32788
+ [name: string]: unknown;
32789
+ };
32790
+ content: {
32791
+ "application/json": {
32792
+ error: string;
32793
+ message?: string;
32794
+ } & {
32795
+ [key: string]: unknown;
32796
+ };
32797
+ };
32798
+ };
32799
+ };
32800
+ };
32801
+ get_principal_staking_balances: {
32802
+ parameters: {
32803
+ query?: never;
32804
+ header?: never;
32805
+ path: {
32806
+ principal: string;
32807
+ };
32808
+ cookie?: never;
32809
+ };
32810
+ requestBody?: never;
32811
+ responses: {
32812
+ /** @description Default Response */
32813
+ 200: {
32814
+ headers: {
32815
+ [name: string]: unknown;
32816
+ };
32817
+ content: {
32818
+ "application/json": {
32819
+ /** @description The index of the bond in the PoX-5 bond list */
32820
+ bond_index: number;
32821
+ status: "enrolled" | "running" | "early_exit" | "unlocked";
32822
+ /** @description Whether the position is active */
32823
+ active: boolean;
32824
+ balances: {
32825
+ locked: {
32826
+ /** @description The total amount of BTC that is locked up for this bond */
32827
+ btc: string;
32828
+ /** @description The total amount of STX that is locked up for this bond */
32829
+ stx: string;
32830
+ };
32831
+ paid_out: {
32832
+ /** @description The total amount of BTC that has been paid out for this bond */
32833
+ btc: string;
32834
+ };
32835
+ };
32836
+ enrollment: {
32837
+ /**
32838
+ * Transaction ID
32839
+ * @description Transaction ID
32840
+ * @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
32841
+ */
32842
+ tx_id: string;
32843
+ btc_lockup: {
32844
+ /** @description The amount of BTC that is locked up for this principal */
32845
+ amount: string;
32846
+ };
32847
+ };
32848
+ /** @description The amount of STX that is locked up for this principal */
32849
+ amount: string;
32850
+ /** @description The sBTC reward sats accrued to this participant's position */
32851
+ accrued_rewards: string;
32852
+ }[];
32853
+ };
32854
+ };
32855
+ /** @description Default Response */
32856
+ "4XX": {
32857
+ headers: {
32858
+ [name: string]: unknown;
32859
+ };
32860
+ content: {
32861
+ "application/json": {
32862
+ error: string;
32863
+ message?: string;
32864
+ } & {
32865
+ [key: string]: unknown;
32866
+ };
32867
+ };
32868
+ };
32869
+ };
32870
+ };
32871
+ get_bonds: {
32872
+ parameters: {
32873
+ query?: {
32874
+ /** @description Number of results per page */
32875
+ limit?: number;
32876
+ /** @description Cursor for paginating bonds. Format: bond_index */
32877
+ cursor?: string;
32878
+ };
32879
+ header?: never;
32880
+ path?: never;
32881
+ cookie?: never;
32882
+ };
32883
+ requestBody?: never;
32884
+ responses: {
32885
+ /** @description Default Response */
32886
+ 200: {
32887
+ headers: {
32888
+ [name: string]: unknown;
32889
+ };
32890
+ content: {
32891
+ "application/json": {
32892
+ /** @example 1 */
32893
+ total: number;
32894
+ /**
32895
+ * @description Number of results per page
32896
+ * @default 20
32897
+ */
32898
+ limit: number;
32899
+ cursor: {
32900
+ next: string | null;
32901
+ previous: string | null;
32902
+ current: string | null;
32903
+ };
32904
+ results: {
32905
+ /** @description The index of the bond in the PoX-5 bond list */
32906
+ index: number;
32907
+ /** @enum {string} */
32908
+ pox_version: "pox5";
32909
+ status: "upcoming" | "active" | "unlocked";
32910
+ parameters: {
32911
+ /** @description The target yield rate (APY) in basis points */
32912
+ target_rate_bps: number;
32913
+ /** @description This is a representation of the STXBTC price. The value represents "uSTX per 100 sats" */
32914
+ stx_value_ratio: number;
32915
+ /** @description The amount of STX that must be locked relative to BTC, in equal-valued terms (ie in USD terms). This value is represented in basis points. */
32916
+ minimum_stx_ratio: number;
32917
+ /** @description The total capacity of BTC that can be locked up for this bond */
32918
+ btc_capacity: string;
32919
+ };
32920
+ registrations: {
32921
+ /** @description The number of entries in the allowlist for this bond */
32922
+ allowed_count: number;
32923
+ /** @description The number of registrations for this bond */
32924
+ registered_count: number;
32925
+ };
32926
+ schedule: {
32927
+ activation: {
32928
+ /** @description The height at which the bond was activated */
32929
+ bitcoin_height: number;
32930
+ /** @description The POX cycle at which the bond was activated */
32931
+ pox_cycle: number;
32932
+ };
32933
+ unlock: {
32934
+ /** @description The height at which the bond can be unlocked */
32935
+ bitcoin_height: number;
32936
+ /** @description The POX cycle at which the bond can be unlocked */
32937
+ pox_cycle: number;
32938
+ };
32939
+ };
32940
+ balances: {
32941
+ locked: {
32942
+ /** @description The total amount of BTC that is locked up for this bond */
32943
+ btc: string;
32944
+ /** @description The total amount of STX that is locked up for this bond */
32945
+ stx: string;
32946
+ };
32947
+ paid_out: {
32948
+ /** @description The total amount of BTC that has been paid out for this bond */
32949
+ btc: string;
32950
+ };
32951
+ };
32952
+ }[];
32953
+ };
32954
+ };
32955
+ };
32956
+ /** @description Default Response */
32957
+ "4XX": {
32958
+ headers: {
32959
+ [name: string]: unknown;
32960
+ };
32961
+ content: {
32962
+ "application/json": {
32963
+ error: string;
32964
+ message?: string;
32965
+ } & {
32966
+ [key: string]: unknown;
32967
+ };
32968
+ };
32969
+ };
32970
+ };
32971
+ };
32972
+ get_bond: {
32973
+ parameters: {
32974
+ query?: never;
32975
+ header?: never;
32976
+ path: {
32977
+ /** @description The index of the bond in the PoX-5 bond list */
32978
+ bond_index: number;
32979
+ };
32980
+ cookie?: never;
32981
+ };
32982
+ requestBody?: never;
32983
+ responses: {
32984
+ /** @description Default Response */
32985
+ 200: {
32986
+ headers: {
32987
+ [name: string]: unknown;
32988
+ };
32989
+ content: {
32990
+ "application/json": {
32991
+ /** @description The index of the bond in the PoX-5 bond list */
32992
+ index: number;
32993
+ /** @enum {string} */
32994
+ pox_version: "pox5";
32995
+ status: "upcoming" | "active" | "unlocked";
32996
+ parameters: {
32997
+ /** @description The target yield rate (APY) in basis points */
32998
+ target_rate_bps: number;
32999
+ /** @description This is a representation of the STXBTC price. The value represents "uSTX per 100 sats" */
33000
+ stx_value_ratio: number;
33001
+ /** @description The amount of STX that must be locked relative to BTC, in equal-valued terms (ie in USD terms). This value is represented in basis points. */
33002
+ minimum_stx_ratio: number;
33003
+ /** @description The total capacity of BTC that can be locked up for this bond */
33004
+ btc_capacity: string;
33005
+ };
33006
+ registrations: {
33007
+ /** @description The number of entries in the allowlist for this bond */
33008
+ allowed_count: number;
33009
+ /** @description The number of registrations for this bond */
33010
+ registered_count: number;
33011
+ };
33012
+ schedule: {
33013
+ activation: {
33014
+ /** @description The height at which the bond was activated */
33015
+ bitcoin_height: number;
33016
+ /** @description The POX cycle at which the bond was activated */
33017
+ pox_cycle: number;
33018
+ };
33019
+ unlock: {
33020
+ /** @description The height at which the bond can be unlocked */
33021
+ bitcoin_height: number;
33022
+ /** @description The POX cycle at which the bond can be unlocked */
33023
+ pox_cycle: number;
33024
+ };
33025
+ };
33026
+ balances: {
33027
+ locked: {
33028
+ /** @description The total amount of BTC that is locked up for this bond */
33029
+ btc: string;
33030
+ /** @description The total amount of STX that is locked up for this bond */
33031
+ stx: string;
33032
+ };
33033
+ paid_out: {
33034
+ /** @description The total amount of BTC that has been paid out for this bond */
33035
+ btc: string;
33036
+ };
33037
+ };
33038
+ transaction: {
33039
+ /** @description The transaction ID that created the bond */
33040
+ tx_id: string;
33041
+ block: {
33042
+ /** @description Height of the block this transactions was associated with */
33043
+ height: number;
33044
+ /** @description Hash of the blocked this transactions was associated with */
33045
+ hash: string;
33046
+ /** @description Hash of the index block this transactions was associated with */
33047
+ index_hash: string;
33048
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
33049
+ time: number;
33050
+ /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
33051
+ tx_index: number;
33052
+ };
33053
+ bitcoin_block: {
33054
+ /** @description Height of the anchor burn block. */
33055
+ height: number;
33056
+ /** @description Unix timestamp (in seconds) indicating when this block was mined. */
33057
+ time: number;
33058
+ };
33059
+ };
33060
+ };
33061
+ };
33062
+ };
33063
+ /** @description Default Response */
33064
+ "4XX": {
33065
+ headers: {
33066
+ [name: string]: unknown;
33067
+ };
33068
+ content: {
33069
+ "application/json": {
33070
+ error: string;
33071
+ message?: string;
33072
+ } & {
33073
+ [key: string]: unknown;
33074
+ };
33075
+ };
33076
+ };
33077
+ };
33078
+ };
33079
+ get_bond_allowlist_entries: {
33080
+ parameters: {
33081
+ query?: {
33082
+ /** @description Number of results per page */
33083
+ limit?: number;
33084
+ /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
33085
+ cursor?: string;
33086
+ };
33087
+ header?: never;
33088
+ path: {
33089
+ /** @description The index of the bond in the PoX-5 bond list */
33090
+ bond_index: number;
33091
+ };
33092
+ cookie?: never;
33093
+ };
33094
+ requestBody?: never;
33095
+ responses: {
33096
+ /** @description Default Response */
33097
+ 200: {
33098
+ headers: {
33099
+ [name: string]: unknown;
33100
+ };
33101
+ content: {
33102
+ "application/json": {
33103
+ /** @example 1 */
33104
+ total: number;
33105
+ /**
33106
+ * @description Number of results per page
33107
+ * @default 20
33108
+ */
33109
+ limit: number;
33110
+ cursor: {
33111
+ next: string | null;
33112
+ previous: string | null;
33113
+ current: string | null;
33114
+ };
33115
+ results: {
33116
+ staker: string;
33117
+ max_sats: string;
33118
+ }[];
33119
+ };
33120
+ };
33121
+ };
33122
+ /** @description Default Response */
33123
+ "4XX": {
33124
+ headers: {
33125
+ [name: string]: unknown;
33126
+ };
33127
+ content: {
33128
+ "application/json": {
33129
+ error: string;
33130
+ message?: string;
33131
+ } & {
33132
+ [key: string]: unknown;
33133
+ };
33134
+ };
33135
+ };
33136
+ };
33137
+ };
33138
+ get_bond_allowlist_entry: {
33139
+ parameters: {
33140
+ query?: never;
33141
+ header?: never;
33142
+ path: {
33143
+ /** @description The index of the bond in the PoX-5 bond list */
33144
+ bond_index: number;
33145
+ principal: string;
33146
+ };
33147
+ cookie?: never;
33148
+ };
33149
+ requestBody?: never;
33150
+ responses: {
33151
+ /** @description Default Response */
33152
+ 200: {
33153
+ headers: {
33154
+ [name: string]: unknown;
33155
+ };
33156
+ content: {
33157
+ "application/json": {
33158
+ staker: string;
33159
+ max_sats: string;
33160
+ };
33161
+ };
33162
+ };
33163
+ /** @description Default Response */
33164
+ "4XX": {
33165
+ headers: {
33166
+ [name: string]: unknown;
33167
+ };
33168
+ content: {
33169
+ "application/json": {
33170
+ error: string;
33171
+ message?: string;
33172
+ } & {
33173
+ [key: string]: unknown;
33174
+ };
33175
+ };
33176
+ };
33177
+ };
33178
+ };
33179
+ get_bond_registrations: {
33180
+ parameters: {
33181
+ query?: {
33182
+ /** @description Number of results per page */
33183
+ limit?: number;
33184
+ /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
33185
+ cursor?: string;
33186
+ };
33187
+ header?: never;
33188
+ path: {
33189
+ /** @description The index of the bond in the PoX-5 bond list */
33190
+ bond_index: number;
33191
+ };
33192
+ cookie?: never;
33193
+ };
33194
+ requestBody?: never;
33195
+ responses: {
33196
+ /** @description Default Response */
33197
+ 200: {
33198
+ headers: {
33199
+ [name: string]: unknown;
33200
+ };
33201
+ content: {
33202
+ "application/json": {
33203
+ /** @example 1 */
33204
+ total: number;
33205
+ /**
33206
+ * @description Number of results per page
33207
+ * @default 20
33208
+ */
33209
+ limit: number;
33210
+ cursor: {
33211
+ next: string | null;
33212
+ previous: string | null;
33213
+ current: string | null;
33214
+ };
33215
+ results: {
33216
+ bond_index: number;
33217
+ signer: string;
33218
+ staker: string;
33219
+ amount_ustx: string;
33220
+ sats_total: string;
33221
+ first_reward_cycle: number;
33222
+ unlock_burn_height: number;
33223
+ unlock_cycle: number;
33224
+ is_l1_lock: boolean;
33225
+ }[];
33226
+ };
33227
+ };
33228
+ };
33229
+ /** @description Default Response */
33230
+ "4XX": {
33231
+ headers: {
33232
+ [name: string]: unknown;
33233
+ };
33234
+ content: {
33235
+ "application/json": {
33236
+ error: string;
33237
+ message?: string;
33238
+ } & {
33239
+ [key: string]: unknown;
33240
+ };
33241
+ };
33242
+ };
33243
+ };
33244
+ };
33245
+ get_bond_registration: {
33246
+ parameters: {
33247
+ query?: never;
33248
+ header?: never;
33249
+ path: {
33250
+ /** @description The index of the bond in the PoX-5 bond list */
33251
+ bond_index: number;
33252
+ principal: string;
33253
+ };
33254
+ cookie?: never;
33255
+ };
33256
+ requestBody?: never;
33257
+ responses: {
33258
+ /** @description Default Response */
33259
+ 200: {
33260
+ headers: {
33261
+ [name: string]: unknown;
33262
+ };
33263
+ content: {
33264
+ "application/json": {
33265
+ bond_index: number;
33266
+ signer: string;
33267
+ staker: string;
33268
+ amount_ustx: string;
33269
+ sats_total: string;
33270
+ first_reward_cycle: number;
33271
+ unlock_burn_height: number;
33272
+ unlock_cycle: number;
33273
+ is_l1_lock: boolean;
33274
+ };
33275
+ };
33276
+ };
33277
+ /** @description Default Response */
33278
+ "4XX": {
33279
+ headers: {
33280
+ [name: string]: unknown;
33281
+ };
33282
+ content: {
33283
+ "application/json": {
33284
+ error: string;
33285
+ message?: string;
33286
+ } & {
33287
+ [key: string]: unknown;
33288
+ };
33289
+ };
33290
+ };
33291
+ };
33292
+ };
33293
+ get_transactions: {
33294
+ parameters: {
33295
+ query?: {
33296
+ /** @description Number of results per page */
33297
+ limit?: number;
33298
+ /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
33299
+ cursor?: string;
33300
+ };
33301
+ header?: never;
33302
+ path?: never;
32172
33303
  cookie?: never;
32173
33304
  };
32174
33305
  requestBody?: never;
@@ -33880,516 +35011,70 @@ export interface operations {
33880
35011
  /** @enum {string} */
33881
35012
  type_id: "principal_standard";
33882
35013
  address: string;
33883
- } | {
33884
- /** @enum {string} */
33885
- type_id: "principal_contract";
33886
- address: string;
33887
- contract_name: string;
33888
- };
33889
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
33890
- amount: string;
33891
- /** @enum {string} */
33892
- type: "stx";
33893
- } | {
33894
- principal: {
33895
- /** @enum {string} */
33896
- type_id: "principal_origin";
33897
- } | {
33898
- /** @enum {string} */
33899
- type_id: "principal_standard";
33900
- address: string;
33901
- } | {
33902
- /** @enum {string} */
33903
- type_id: "principal_contract";
33904
- address: string;
33905
- contract_name: string;
33906
- };
33907
- condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
33908
- amount: string;
33909
- /** @enum {string} */
33910
- type: "fungible";
33911
- asset: {
33912
- asset_name: string;
33913
- contract_address: string;
33914
- contract_name: string;
33915
- };
33916
- } | {
33917
- principal: {
33918
- /** @enum {string} */
33919
- type_id: "principal_origin";
33920
- } | {
33921
- /** @enum {string} */
33922
- type_id: "principal_standard";
33923
- address: string;
33924
- } | {
33925
- /** @enum {string} */
33926
- type_id: "principal_contract";
33927
- address: string;
33928
- contract_name: string;
33929
- };
33930
- condition_code: "sent" | "not_sent" | "maybe_sent";
33931
- /** @enum {string} */
33932
- type: "non_fungible";
33933
- asset_value: {
33934
- hex: string;
33935
- repr: string;
33936
- };
33937
- asset: {
33938
- asset_name: string;
33939
- contract_address: string;
33940
- contract_name: string;
33941
- };
33942
- })[];
33943
- replaced_by_tx_id: string | null;
33944
- /** @enum {string} */
33945
- type: "coinbase";
33946
- });
33947
- };
33948
- };
33949
- /** @description Default Response */
33950
- "4XX": {
33951
- headers: {
33952
- [name: string]: unknown;
33953
- };
33954
- content: {
33955
- "application/json": {
33956
- error: string;
33957
- message?: string;
33958
- } & {
33959
- [key: string]: unknown;
33960
- };
33961
- };
33962
- };
33963
- };
33964
- };
33965
- get_transaction_events: {
33966
- parameters: {
33967
- query?: {
33968
- /** @description Number of results per page */
33969
- limit?: number;
33970
- /** @description Cursor for paginating transaction events. Format: event_index */
33971
- cursor?: string;
33972
- };
33973
- header?: never;
33974
- path: {
33975
- /**
33976
- * @description Transaction ID
33977
- * @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
33978
- */
33979
- tx_id: string;
33980
- };
33981
- cookie?: never;
33982
- };
33983
- requestBody?: never;
33984
- responses: {
33985
- /** @description Default Response */
33986
- 200: {
33987
- headers: {
33988
- [name: string]: unknown;
33989
- };
33990
- content: {
33991
- "application/json": {
33992
- /** @example 1 */
33993
- total: number;
33994
- /**
33995
- * @description Number of results per page
33996
- * @default 20
33997
- */
33998
- limit: number;
33999
- cursor: {
34000
- next: string | null;
34001
- previous: string | null;
34002
- current: string | null;
34003
- };
34004
- results: ({
34005
- event_index: number;
34006
- /** @enum {string} */
34007
- type: "contract_log";
34008
- contract_log: {
34009
- /**
34010
- * Smart Contract ID
34011
- * @description Smart Contract ID
34012
- */
34013
- contract_id: string;
34014
- /** @enum {string} */
34015
- topic: "print";
34016
- value: {
34017
- hex: string;
34018
- repr: string;
34019
- };
34020
- };
34021
- } | {
34022
- event_index: number;
34023
- /** @enum {string} */
34024
- type: "stx_lock";
34025
- stx_lock: {
34026
- /**
34027
- * Amount
34028
- * @description Amount
34029
- */
34030
- amount: string;
34031
- /**
34032
- * Block height
34033
- * @description Block height
34034
- */
34035
- unlock_bitcoin_height: number;
34036
- address: string;
34037
- };
34038
- } | {
34039
- event_index: number;
34040
- /** @enum {string} */
34041
- type: "stx_asset";
34042
- stx_asset: {
34043
- /** @enum {string} */
34044
- type: "transfer";
34045
- sender: string;
34046
- recipient: string;
34047
- /**
34048
- * Amount
34049
- * @description Amount
34050
- */
34051
- amount: string;
34052
- memo: {
34053
- hex: string;
34054
- repr: string;
34055
- } | null;
34056
- } | {
34057
- /** @enum {string} */
34058
- type: "mint";
34059
- recipient: string;
34060
- /**
34061
- * Amount
34062
- * @description Amount
34063
- */
34064
- amount: string;
34065
- } | {
34066
- /** @enum {string} */
34067
- type: "burn";
34068
- sender: string;
34069
- /**
34070
- * Amount
34071
- * @description Amount
34072
- */
34073
- amount: string;
34074
- };
34075
- } | {
34076
- event_index: number;
34077
- /** @enum {string} */
34078
- type: "ft_asset";
34079
- ft_asset: {
34080
- /** @enum {string} */
34081
- type: "transfer";
34082
- /**
34083
- * Asset Identifier
34084
- * @description Asset Identifier
34085
- */
34086
- asset_identifier: string;
34087
- sender: string;
34088
- recipient: string;
34089
- /**
34090
- * Amount
34091
- * @description Amount
34092
- */
34093
- amount: string;
34094
- } | {
34095
- /** @enum {string} */
34096
- type: "mint";
34097
- recipient: string;
34098
- /**
34099
- * Asset Identifier
34100
- * @description Asset Identifier
34101
- */
34102
- asset_identifier: string;
34103
- /**
34104
- * Amount
34105
- * @description Amount
34106
- */
34107
- amount: string;
34108
- } | {
34109
- /** @enum {string} */
34110
- type: "burn";
34111
- sender: string;
34112
- /**
34113
- * Asset Identifier
34114
- * @description Asset Identifier
34115
- */
34116
- asset_identifier: string;
34117
- /**
34118
- * Amount
34119
- * @description Amount
34120
- */
34121
- amount: string;
34122
- };
34123
- } | {
34124
- event_index: number;
34125
- /** @enum {string} */
34126
- type: "nft_asset";
34127
- nft_asset: {
34128
- /** @enum {string} */
34129
- type: "transfer";
34130
- /**
34131
- * Asset Identifier
34132
- * @description Asset Identifier
34133
- */
34134
- asset_identifier: string;
34135
- sender: string;
34136
- recipient: string;
34137
- value: {
34138
- hex: string;
34139
- repr: string;
34140
- };
34141
- } | {
34142
- /** @enum {string} */
34143
- type: "mint";
34144
- recipient: string;
34145
- /**
34146
- * Asset Identifier
34147
- * @description Asset Identifier
34148
- */
34149
- asset_identifier: string;
34150
- value: {
34151
- hex: string;
34152
- repr: string;
34153
- };
34154
- } | {
34155
- /** @enum {string} */
34156
- type: "burn";
34157
- sender: string;
34158
- /**
34159
- * Asset Identifier
34160
- * @description Asset Identifier
34161
- */
34162
- asset_identifier: string;
34163
- value: {
34164
- hex: string;
34165
- repr: string;
34166
- };
34167
- };
34168
- })[];
34169
- };
34170
- };
34171
- };
34172
- /** @description Default Response */
34173
- "4XX": {
34174
- headers: {
34175
- [name: string]: unknown;
34176
- };
34177
- content: {
34178
- "application/json": {
34179
- error: string;
34180
- message?: string;
34181
- } & {
34182
- [key: string]: unknown;
34183
- };
34184
- };
34185
- };
34186
- };
34187
- };
34188
- get_mempool_transactions: {
34189
- parameters: {
34190
- query?: {
34191
- /** @description Number of results per page */
34192
- limit?: number;
34193
- /** @description Cursor for paginating mempool transactions. Format: receipt_time:tx_id */
34194
- cursor?: string;
34195
- };
34196
- header?: never;
34197
- path?: never;
34198
- cookie?: never;
34199
- };
34200
- requestBody?: never;
34201
- responses: {
34202
- /** @description Default Response */
34203
- 200: {
34204
- headers: {
34205
- [name: string]: unknown;
34206
- };
34207
- content: {
34208
- "application/json": {
34209
- /** @example 1 */
34210
- total: number;
34211
- /**
34212
- * @description Number of results per page
34213
- * @default 20
34214
- */
34215
- limit: number;
34216
- cursor: {
34217
- next: string | null;
34218
- previous: string | null;
34219
- current: string | null;
34220
- };
34221
- results: ({
34222
- /** @description Transaction ID */
34223
- tx_id: string;
34224
- sender: {
34225
- /** @description Address of the transaction initiator */
34226
- address: string;
34227
- /** @description Nonce of the transaction initiator */
34228
- nonce: number;
34229
- };
34230
- sponsor: {
34231
- /** @description Address of the transaction initiator */
34232
- address: string;
34233
- /** @description Nonce of the transaction initiator */
34234
- nonce: number;
34235
- } | null;
34236
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34237
- fee_rate: string;
34238
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34239
- receipt_time: number;
34240
- /** @description Height of the block this transaction was received by the node */
34241
- receipt_block_height: number;
34242
- /** @description Status of the mempool transaction */
34243
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
34244
- /** @enum {string} */
34245
- type: "token_transfer";
34246
- token_transfer: {
34247
- recipient: string;
34248
- /** @description Transfer amount as Integer string (64-bit unsigned integer) */
34249
- amount: string;
34250
- memo: {
34251
- hex: string;
34252
- repr: string;
34253
- } | null;
34254
- };
34255
- } | {
34256
- /** @description Transaction ID */
34257
- tx_id: string;
34258
- sender: {
34259
- /** @description Address of the transaction initiator */
34260
- address: string;
34261
- /** @description Nonce of the transaction initiator */
34262
- nonce: number;
34263
- };
34264
- sponsor: {
34265
- /** @description Address of the transaction initiator */
34266
- address: string;
34267
- /** @description Nonce of the transaction initiator */
34268
- nonce: number;
34269
- } | null;
34270
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34271
- fee_rate: string;
34272
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34273
- receipt_time: number;
34274
- /** @description Height of the block this transaction was received by the node */
34275
- receipt_block_height: number;
34276
- /** @description Status of the mempool transaction */
34277
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
34278
- /** @enum {string} */
34279
- type: "smart_contract";
34280
- smart_contract: {
34281
- clarity_version: number | null;
34282
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
34283
- contract_id: string;
34284
- };
34285
- } | {
34286
- /** @description Transaction ID */
34287
- tx_id: string;
34288
- sender: {
34289
- /** @description Address of the transaction initiator */
34290
- address: string;
34291
- /** @description Nonce of the transaction initiator */
34292
- nonce: number;
34293
- };
34294
- sponsor: {
34295
- /** @description Address of the transaction initiator */
34296
- address: string;
34297
- /** @description Nonce of the transaction initiator */
34298
- nonce: number;
34299
- } | null;
34300
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34301
- fee_rate: string;
34302
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34303
- receipt_time: number;
34304
- /** @description Height of the block this transaction was received by the node */
34305
- receipt_block_height: number;
34306
- /** @description Status of the mempool transaction */
34307
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
34308
- /** @enum {string} */
34309
- type: "contract_call";
34310
- contract_call: {
34311
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
34312
- contract_id: string;
34313
- /** @description Name of the Clarity function to be invoked */
34314
- function_name: string;
34315
- };
34316
- } | {
34317
- /** @description Transaction ID */
34318
- tx_id: string;
34319
- sender: {
34320
- /** @description Address of the transaction initiator */
34321
- address: string;
34322
- /** @description Nonce of the transaction initiator */
34323
- nonce: number;
34324
- };
34325
- sponsor: {
34326
- /** @description Address of the transaction initiator */
35014
+ } | {
35015
+ /** @enum {string} */
35016
+ type_id: "principal_contract";
34327
35017
  address: string;
34328
- /** @description Nonce of the transaction initiator */
34329
- nonce: number;
34330
- } | null;
34331
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34332
- fee_rate: string;
34333
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34334
- receipt_time: number;
34335
- /** @description Height of the block this transaction was received by the node */
34336
- receipt_block_height: number;
34337
- /** @description Status of the mempool transaction */
34338
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
35018
+ contract_name: string;
35019
+ };
35020
+ condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
35021
+ amount: string;
34339
35022
  /** @enum {string} */
34340
- type: "poison_microblock";
35023
+ type: "stx";
34341
35024
  } | {
34342
- /** @description Transaction ID */
34343
- tx_id: string;
34344
- sender: {
34345
- /** @description Address of the transaction initiator */
35025
+ principal: {
35026
+ /** @enum {string} */
35027
+ type_id: "principal_origin";
35028
+ } | {
35029
+ /** @enum {string} */
35030
+ type_id: "principal_standard";
34346
35031
  address: string;
34347
- /** @description Nonce of the transaction initiator */
34348
- nonce: number;
34349
- };
34350
- sponsor: {
34351
- /** @description Address of the transaction initiator */
35032
+ } | {
35033
+ /** @enum {string} */
35034
+ type_id: "principal_contract";
34352
35035
  address: string;
34353
- /** @description Nonce of the transaction initiator */
34354
- nonce: number;
34355
- } | null;
34356
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34357
- fee_rate: string;
34358
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34359
- receipt_time: number;
34360
- /** @description Height of the block this transaction was received by the node */
34361
- receipt_block_height: number;
34362
- /** @description Status of the mempool transaction */
34363
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
35036
+ contract_name: string;
35037
+ };
35038
+ condition_code: "sent_equal_to" | "sent_greater_than" | "sent_greater_than_or_equal_to" | "sent_less_than" | "sent_less_than_or_equal_to";
35039
+ amount: string;
34364
35040
  /** @enum {string} */
34365
- type: "coinbase";
35041
+ type: "fungible";
35042
+ asset: {
35043
+ asset_name: string;
35044
+ contract_address: string;
35045
+ contract_name: string;
35046
+ };
34366
35047
  } | {
34367
- /** @description Transaction ID */
34368
- tx_id: string;
34369
- sender: {
34370
- /** @description Address of the transaction initiator */
35048
+ principal: {
35049
+ /** @enum {string} */
35050
+ type_id: "principal_origin";
35051
+ } | {
35052
+ /** @enum {string} */
35053
+ type_id: "principal_standard";
34371
35054
  address: string;
34372
- /** @description Nonce of the transaction initiator */
34373
- nonce: number;
34374
- };
34375
- sponsor: {
34376
- /** @description Address of the transaction initiator */
35055
+ } | {
35056
+ /** @enum {string} */
35057
+ type_id: "principal_contract";
34377
35058
  address: string;
34378
- /** @description Nonce of the transaction initiator */
34379
- nonce: number;
34380
- } | null;
34381
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34382
- fee_rate: string;
34383
- /** @description A unix timestamp (in seconds) indicating when the transaction broadcast was received by the node. */
34384
- receipt_time: number;
34385
- /** @description Height of the block this transaction was received by the node */
34386
- receipt_block_height: number;
34387
- /** @description Status of the mempool transaction */
34388
- status: "pending" | "dropped_replace_by_fee" | "dropped_replace_across_fork" | "dropped_too_expensive" | "dropped_stale_garbage_collect" | "dropped_problematic";
35059
+ contract_name: string;
35060
+ };
35061
+ condition_code: "sent" | "not_sent" | "maybe_sent";
34389
35062
  /** @enum {string} */
34390
- type: "tenure_change";
35063
+ type: "non_fungible";
35064
+ asset_value: {
35065
+ hex: string;
35066
+ repr: string;
35067
+ };
35068
+ asset: {
35069
+ asset_name: string;
35070
+ contract_address: string;
35071
+ contract_name: string;
35072
+ };
34391
35073
  })[];
34392
- };
35074
+ replaced_by_tx_id: string | null;
35075
+ /** @enum {string} */
35076
+ type: "coinbase";
35077
+ });
34393
35078
  };
34394
35079
  };
34395
35080
  /** @description Default Response */
@@ -34408,17 +35093,21 @@ export interface operations {
34408
35093
  };
34409
35094
  };
34410
35095
  };
34411
- get_block_transactions: {
35096
+ get_transaction_events: {
34412
35097
  parameters: {
34413
35098
  query?: {
34414
35099
  /** @description Number of results per page */
34415
35100
  limit?: number;
34416
- /** @description Cursor for paginating transactions. Format: block_height:microblock_sequence:tx_index */
35101
+ /** @description Cursor for paginating transaction events. Format: event_index */
34417
35102
  cursor?: string;
34418
35103
  };
34419
35104
  header?: never;
34420
35105
  path: {
34421
- height_or_hash: "latest" | string | number;
35106
+ /**
35107
+ * @description Transaction ID
35108
+ * @example 0xf6bd5f4a7b26184a3466340b2e99fd003b4962c0e382a7e4b6a13df3dd7a91c6
35109
+ */
35110
+ tx_id: string;
34422
35111
  };
34423
35112
  cookie?: never;
34424
35113
  };
@@ -34444,265 +35133,168 @@ export interface operations {
34444
35133
  current: string | null;
34445
35134
  };
34446
35135
  results: ({
34447
- /** @description Transaction ID */
34448
- tx_id: string;
34449
- sender: {
34450
- /** @description Address of the transaction initiator */
34451
- address: string;
34452
- /** @description Nonce of the transaction initiator */
34453
- nonce: number;
35136
+ event_index: number;
35137
+ /** @enum {string} */
35138
+ type: "contract_log";
35139
+ contract_log: {
35140
+ /**
35141
+ * Smart Contract ID
35142
+ * @description Smart Contract ID
35143
+ */
35144
+ contract_id: string;
35145
+ /** @enum {string} */
35146
+ topic: "print";
35147
+ value: {
35148
+ hex: string;
35149
+ repr: string;
35150
+ };
34454
35151
  };
34455
- sponsor: {
34456
- /** @description Address of the transaction initiator */
35152
+ } | {
35153
+ event_index: number;
35154
+ /** @enum {string} */
35155
+ type: "stx_lock";
35156
+ stx_lock: {
35157
+ /**
35158
+ * Amount
35159
+ * @description Amount
35160
+ */
35161
+ amount: string;
35162
+ /**
35163
+ * Block height
35164
+ * @description Block height
35165
+ */
35166
+ unlock_bitcoin_height: number;
34457
35167
  address: string;
34458
- /** @description Nonce of the transaction initiator */
34459
- nonce: number;
34460
- } | null;
34461
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34462
- fee_rate: string;
34463
- block: {
34464
- /** @description Height of the block this transactions was associated with */
34465
- height: number;
34466
- /** @description Hash of the blocked this transactions was associated with */
34467
- hash: string;
34468
- /** @description Hash of the index block this transactions was associated with */
34469
- index_hash: string;
34470
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34471
- time: number;
34472
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34473
- tx_index: number;
34474
- };
34475
- bitcoin_block: {
34476
- /** @description Height of the anchor burn block. */
34477
- height: number;
34478
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34479
- time: number;
34480
35168
  };
34481
- /** @description Status of the transaction */
34482
- status: "success" | "abort_by_response" | "abort_by_post_condition";
35169
+ } | {
35170
+ event_index: number;
34483
35171
  /** @enum {string} */
34484
- type: "token_transfer";
34485
- token_transfer: {
35172
+ type: "stx_asset";
35173
+ stx_asset: {
35174
+ /** @enum {string} */
35175
+ type: "transfer";
35176
+ sender: string;
34486
35177
  recipient: string;
34487
- /** @description Transfer amount as Integer string (64-bit unsigned integer) */
35178
+ /**
35179
+ * Amount
35180
+ * @description Amount
35181
+ */
34488
35182
  amount: string;
34489
35183
  memo: {
34490
35184
  hex: string;
34491
35185
  repr: string;
34492
35186
  } | null;
35187
+ } | {
35188
+ /** @enum {string} */
35189
+ type: "mint";
35190
+ recipient: string;
35191
+ /**
35192
+ * Amount
35193
+ * @description Amount
35194
+ */
35195
+ amount: string;
35196
+ } | {
35197
+ /** @enum {string} */
35198
+ type: "burn";
35199
+ sender: string;
35200
+ /**
35201
+ * Amount
35202
+ * @description Amount
35203
+ */
35204
+ amount: string;
34493
35205
  };
34494
35206
  } | {
34495
- /** @description Transaction ID */
34496
- tx_id: string;
34497
- sender: {
34498
- /** @description Address of the transaction initiator */
34499
- address: string;
34500
- /** @description Nonce of the transaction initiator */
34501
- nonce: number;
34502
- };
34503
- sponsor: {
34504
- /** @description Address of the transaction initiator */
34505
- address: string;
34506
- /** @description Nonce of the transaction initiator */
34507
- nonce: number;
34508
- } | null;
34509
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34510
- fee_rate: string;
34511
- block: {
34512
- /** @description Height of the block this transactions was associated with */
34513
- height: number;
34514
- /** @description Hash of the blocked this transactions was associated with */
34515
- hash: string;
34516
- /** @description Hash of the index block this transactions was associated with */
34517
- index_hash: string;
34518
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34519
- time: number;
34520
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34521
- tx_index: number;
34522
- };
34523
- bitcoin_block: {
34524
- /** @description Height of the anchor burn block. */
34525
- height: number;
34526
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34527
- time: number;
34528
- };
34529
- /** @description Status of the transaction */
34530
- status: "success" | "abort_by_response" | "abort_by_post_condition";
34531
- /** @enum {string} */
34532
- type: "smart_contract";
34533
- smart_contract: {
34534
- clarity_version: number | null;
34535
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
34536
- contract_id: string;
34537
- };
34538
- } | {
34539
- /** @description Transaction ID */
34540
- tx_id: string;
34541
- sender: {
34542
- /** @description Address of the transaction initiator */
34543
- address: string;
34544
- /** @description Nonce of the transaction initiator */
34545
- nonce: number;
34546
- };
34547
- sponsor: {
34548
- /** @description Address of the transaction initiator */
34549
- address: string;
34550
- /** @description Nonce of the transaction initiator */
34551
- nonce: number;
34552
- } | null;
34553
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34554
- fee_rate: string;
34555
- block: {
34556
- /** @description Height of the block this transactions was associated with */
34557
- height: number;
34558
- /** @description Hash of the blocked this transactions was associated with */
34559
- hash: string;
34560
- /** @description Hash of the index block this transactions was associated with */
34561
- index_hash: string;
34562
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34563
- time: number;
34564
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34565
- tx_index: number;
34566
- };
34567
- bitcoin_block: {
34568
- /** @description Height of the anchor burn block. */
34569
- height: number;
34570
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34571
- time: number;
34572
- };
34573
- /** @description Status of the transaction */
34574
- status: "success" | "abort_by_response" | "abort_by_post_condition";
34575
- /** @enum {string} */
34576
- type: "contract_call";
34577
- contract_call: {
34578
- /** @description Contract identifier formatted as `<principaladdress>.<contract_name>` */
34579
- contract_id: string;
34580
- /** @description Name of the Clarity function to be invoked */
34581
- function_name: string;
34582
- };
34583
- } | {
34584
- /** @description Transaction ID */
34585
- tx_id: string;
34586
- sender: {
34587
- /** @description Address of the transaction initiator */
34588
- address: string;
34589
- /** @description Nonce of the transaction initiator */
34590
- nonce: number;
34591
- };
34592
- sponsor: {
34593
- /** @description Address of the transaction initiator */
34594
- address: string;
34595
- /** @description Nonce of the transaction initiator */
34596
- nonce: number;
34597
- } | null;
34598
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34599
- fee_rate: string;
34600
- block: {
34601
- /** @description Height of the block this transactions was associated with */
34602
- height: number;
34603
- /** @description Hash of the blocked this transactions was associated with */
34604
- hash: string;
34605
- /** @description Hash of the index block this transactions was associated with */
34606
- index_hash: string;
34607
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34608
- time: number;
34609
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34610
- tx_index: number;
34611
- };
34612
- bitcoin_block: {
34613
- /** @description Height of the anchor burn block. */
34614
- height: number;
34615
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34616
- time: number;
34617
- };
34618
- /** @description Status of the transaction */
34619
- status: "success" | "abort_by_response" | "abort_by_post_condition";
34620
- /** @enum {string} */
34621
- type: "poison_microblock";
34622
- } | {
34623
- /** @description Transaction ID */
34624
- tx_id: string;
34625
- sender: {
34626
- /** @description Address of the transaction initiator */
34627
- address: string;
34628
- /** @description Nonce of the transaction initiator */
34629
- nonce: number;
34630
- };
34631
- sponsor: {
34632
- /** @description Address of the transaction initiator */
34633
- address: string;
34634
- /** @description Nonce of the transaction initiator */
34635
- nonce: number;
34636
- } | null;
34637
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34638
- fee_rate: string;
34639
- block: {
34640
- /** @description Height of the block this transactions was associated with */
34641
- height: number;
34642
- /** @description Hash of the blocked this transactions was associated with */
34643
- hash: string;
34644
- /** @description Hash of the index block this transactions was associated with */
34645
- index_hash: string;
34646
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34647
- time: number;
34648
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34649
- tx_index: number;
34650
- };
34651
- bitcoin_block: {
34652
- /** @description Height of the anchor burn block. */
34653
- height: number;
34654
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34655
- time: number;
34656
- };
34657
- /** @description Status of the transaction */
34658
- status: "success" | "abort_by_response" | "abort_by_post_condition";
35207
+ event_index: number;
34659
35208
  /** @enum {string} */
34660
- type: "coinbase";
34661
- coinbase: {
34662
- alt_recipient: string | null;
35209
+ type: "ft_asset";
35210
+ ft_asset: {
35211
+ /** @enum {string} */
35212
+ type: "transfer";
35213
+ /**
35214
+ * Asset Identifier
35215
+ * @description Asset Identifier
35216
+ */
35217
+ asset_identifier: string;
35218
+ sender: string;
35219
+ recipient: string;
35220
+ /**
35221
+ * Amount
35222
+ * @description Amount
35223
+ */
35224
+ amount: string;
35225
+ } | {
35226
+ /** @enum {string} */
35227
+ type: "mint";
35228
+ recipient: string;
35229
+ /**
35230
+ * Asset Identifier
35231
+ * @description Asset Identifier
35232
+ */
35233
+ asset_identifier: string;
35234
+ /**
35235
+ * Amount
35236
+ * @description Amount
35237
+ */
35238
+ amount: string;
35239
+ } | {
35240
+ /** @enum {string} */
35241
+ type: "burn";
35242
+ sender: string;
35243
+ /**
35244
+ * Asset Identifier
35245
+ * @description Asset Identifier
35246
+ */
35247
+ asset_identifier: string;
35248
+ /**
35249
+ * Amount
35250
+ * @description Amount
35251
+ */
35252
+ amount: string;
34663
35253
  };
34664
35254
  } | {
34665
- /** @description Transaction ID */
34666
- tx_id: string;
34667
- sender: {
34668
- /** @description Address of the transaction initiator */
34669
- address: string;
34670
- /** @description Nonce of the transaction initiator */
34671
- nonce: number;
34672
- };
34673
- sponsor: {
34674
- /** @description Address of the transaction initiator */
34675
- address: string;
34676
- /** @description Nonce of the transaction initiator */
34677
- nonce: number;
34678
- } | null;
34679
- /** @description Transaction fee as Integer string (64-bit unsigned integer). */
34680
- fee_rate: string;
34681
- block: {
34682
- /** @description Height of the block this transactions was associated with */
34683
- height: number;
34684
- /** @description Hash of the blocked this transactions was associated with */
34685
- hash: string;
34686
- /** @description Hash of the index block this transactions was associated with */
34687
- index_hash: string;
34688
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34689
- time: number;
34690
- /** @description Index of the transaction, indicating the order. Starts at `0` and increases with each transaction */
34691
- tx_index: number;
34692
- };
34693
- bitcoin_block: {
34694
- /** @description Height of the anchor burn block. */
34695
- height: number;
34696
- /** @description Unix timestamp (in seconds) indicating when this block was mined. */
34697
- time: number;
34698
- };
34699
- /** @description Status of the transaction */
34700
- status: "success" | "abort_by_response" | "abort_by_post_condition";
35255
+ event_index: number;
34701
35256
  /** @enum {string} */
34702
- type: "tenure_change";
34703
- tenure_change: {
34704
- /** @description Cause of change in mining tenure. Depending on cause, tenure can be ended or extended. */
34705
- cause: "block_found" | "extended" | "extended_runtime" | "extended_read_count" | "extended_read_length" | "extended_write_count" | "extended_write_length";
35257
+ type: "nft_asset";
35258
+ nft_asset: {
35259
+ /** @enum {string} */
35260
+ type: "transfer";
35261
+ /**
35262
+ * Asset Identifier
35263
+ * @description Asset Identifier
35264
+ */
35265
+ asset_identifier: string;
35266
+ sender: string;
35267
+ recipient: string;
35268
+ value: {
35269
+ hex: string;
35270
+ repr: string;
35271
+ };
35272
+ } | {
35273
+ /** @enum {string} */
35274
+ type: "mint";
35275
+ recipient: string;
35276
+ /**
35277
+ * Asset Identifier
35278
+ * @description Asset Identifier
35279
+ */
35280
+ asset_identifier: string;
35281
+ value: {
35282
+ hex: string;
35283
+ repr: string;
35284
+ };
35285
+ } | {
35286
+ /** @enum {string} */
35287
+ type: "burn";
35288
+ sender: string;
35289
+ /**
35290
+ * Asset Identifier
35291
+ * @description Asset Identifier
35292
+ */
35293
+ asset_identifier: string;
35294
+ value: {
35295
+ hex: string;
35296
+ repr: string;
35297
+ };
34706
35298
  };
34707
35299
  })[];
34708
35300
  };