@apibara/starknet 2.1.0-beta.4 → 2.1.0-beta.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.
package/dist/index.d.ts CHANGED
@@ -1667,130 +1667,130 @@ declare const Filter: Schema.Struct<{
1667
1667
  }>;
1668
1668
  type Filter = typeof Filter.Type;
1669
1669
  declare const filterToProto: (a: {
1670
- readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
1670
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1671
1671
  readonly transactions?: readonly {
1672
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1672
1673
  readonly id?: number | undefined;
1673
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1674
1674
  readonly includeReceipt?: boolean | undefined;
1675
1675
  readonly includeMessages?: boolean | undefined;
1676
1676
  readonly includeEvents?: boolean | undefined;
1677
1677
  readonly transactionType?: {
1678
- readonly _tag: "invokeV0";
1679
1678
  readonly invokeV0: {};
1679
+ readonly _tag: "invokeV0";
1680
1680
  } | {
1681
- readonly _tag: "invokeV1";
1682
1681
  readonly invokeV1: {};
1682
+ readonly _tag: "invokeV1";
1683
1683
  } | {
1684
- readonly _tag: "invokeV3";
1685
1684
  readonly invokeV3: {};
1685
+ readonly _tag: "invokeV3";
1686
1686
  } | {
1687
- readonly _tag: "deploy";
1688
1687
  readonly deploy: {};
1688
+ readonly _tag: "deploy";
1689
1689
  } | {
1690
- readonly _tag: "declareV0";
1691
1690
  readonly declareV0: {};
1691
+ readonly _tag: "declareV0";
1692
1692
  } | {
1693
- readonly _tag: "declareV1";
1694
1693
  readonly declareV1: {};
1694
+ readonly _tag: "declareV1";
1695
1695
  } | {
1696
- readonly _tag: "declareV2";
1697
1696
  readonly declareV2: {};
1697
+ readonly _tag: "declareV2";
1698
1698
  } | {
1699
- readonly _tag: "declareV3";
1700
1699
  readonly declareV3: {};
1700
+ readonly _tag: "declareV3";
1701
1701
  } | {
1702
- readonly _tag: "l1Handler";
1703
1702
  readonly l1Handler: {};
1703
+ readonly _tag: "l1Handler";
1704
1704
  } | {
1705
- readonly _tag: "deployAccountV1";
1706
1705
  readonly deployAccountV1: {};
1706
+ readonly _tag: "deployAccountV1";
1707
1707
  } | {
1708
- readonly _tag: "deployAccountV3";
1709
1708
  readonly deployAccountV3: {};
1709
+ readonly _tag: "deployAccountV3";
1710
1710
  } | undefined;
1711
1711
  }[] | undefined;
1712
1712
  readonly events?: readonly {
1713
1713
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
1714
- readonly id?: number | undefined;
1715
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1716
- readonly includeReceipt?: boolean | undefined;
1717
- readonly includeMessages?: boolean | undefined;
1714
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1718
1715
  readonly address?: `0x${string}` | undefined;
1716
+ readonly id?: number | undefined;
1719
1717
  readonly strict?: boolean | undefined;
1720
1718
  readonly includeTransaction?: boolean | undefined;
1719
+ readonly includeReceipt?: boolean | undefined;
1720
+ readonly includeMessages?: boolean | undefined;
1721
1721
  readonly includeSiblings?: boolean | undefined;
1722
1722
  }[] | undefined;
1723
1723
  readonly messages?: readonly {
1724
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1725
+ readonly fromAddress?: `0x${string}` | undefined;
1726
+ readonly toAddress?: `0x${string}` | undefined;
1724
1727
  readonly id?: number | undefined;
1725
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1728
+ readonly includeTransaction?: boolean | undefined;
1726
1729
  readonly includeReceipt?: boolean | undefined;
1727
1730
  readonly includeEvents?: boolean | undefined;
1728
- readonly includeTransaction?: boolean | undefined;
1729
- readonly fromAddress?: `0x${string}` | undefined;
1730
- readonly toAddress?: `0x${string}` | undefined;
1731
1731
  }[] | undefined;
1732
1732
  readonly storageDiffs?: readonly {
1733
- readonly id?: number | undefined;
1734
1733
  readonly contractAddress?: `0x${string}` | undefined;
1734
+ readonly id?: number | undefined;
1735
1735
  }[] | undefined;
1736
1736
  readonly contractChanges?: readonly {
1737
- readonly id?: number | undefined;
1738
1737
  readonly change?: {
1739
- readonly _tag: "declaredClass";
1740
1738
  readonly declaredClass: {};
1739
+ readonly _tag: "declaredClass";
1741
1740
  } | {
1742
- readonly _tag: "replacedClass";
1743
1741
  readonly replacedClass: {};
1742
+ readonly _tag: "replacedClass";
1744
1743
  } | {
1745
- readonly _tag: "deployedContract";
1746
1744
  readonly deployedContract: {};
1745
+ readonly _tag: "deployedContract";
1747
1746
  } | undefined;
1747
+ readonly id?: number | undefined;
1748
1748
  }[] | undefined;
1749
1749
  readonly nonceUpdates?: readonly {
1750
- readonly id?: number | undefined;
1751
1750
  readonly contractAddress?: `0x${string}` | undefined;
1751
+ readonly id?: number | undefined;
1752
1752
  }[] | undefined;
1753
1753
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1754
1754
  readonly header?: HeaderFilter$1 | undefined;
1755
1755
  readonly transactions?: readonly {
1756
- readonly id?: number | undefined;
1757
1756
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1757
+ readonly id?: number | undefined;
1758
1758
  readonly includeReceipt?: boolean | undefined;
1759
1759
  readonly includeMessages?: boolean | undefined;
1760
1760
  readonly includeEvents?: boolean | undefined;
1761
1761
  readonly transactionType?: {
1762
- readonly $case: "invokeV0";
1763
1762
  readonly invokeV0: {};
1763
+ readonly $case: "invokeV0";
1764
1764
  } | {
1765
- readonly $case: "invokeV1";
1766
1765
  readonly invokeV1: {};
1766
+ readonly $case: "invokeV1";
1767
1767
  } | {
1768
- readonly $case: "invokeV3";
1769
1768
  readonly invokeV3: {};
1769
+ readonly $case: "invokeV3";
1770
1770
  } | {
1771
- readonly $case: "deploy";
1772
1771
  readonly deploy: {};
1772
+ readonly $case: "deploy";
1773
1773
  } | {
1774
- readonly $case: "declareV0";
1775
1774
  readonly declareV0: {};
1775
+ readonly $case: "declareV0";
1776
1776
  } | {
1777
- readonly $case: "declareV1";
1778
1777
  readonly declareV1: {};
1778
+ readonly $case: "declareV1";
1779
1779
  } | {
1780
- readonly $case: "declareV2";
1781
1780
  readonly declareV2: {};
1781
+ readonly $case: "declareV2";
1782
1782
  } | {
1783
- readonly $case: "declareV3";
1784
1783
  readonly declareV3: {};
1784
+ readonly $case: "declareV3";
1785
1785
  } | {
1786
- readonly $case: "l1Handler";
1787
1786
  readonly l1Handler: {};
1787
+ readonly $case: "l1Handler";
1788
1788
  } | {
1789
- readonly $case: "deployAccountV1";
1790
1789
  readonly deployAccountV1: {};
1790
+ readonly $case: "deployAccountV1";
1791
1791
  } | {
1792
- readonly $case: "deployAccountV3";
1793
1792
  readonly deployAccountV3: {};
1793
+ readonly $case: "deployAccountV3";
1794
1794
  } | undefined;
1795
1795
  }[] | undefined;
1796
1796
  readonly events?: readonly {
@@ -1802,26 +1802,22 @@ declare const filterToProto: (a: {
1802
1802
  readonly x3: bigint;
1803
1803
  } | undefined;
1804
1804
  }[] | undefined;
1805
- readonly id?: number | undefined;
1806
1805
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1807
- readonly includeReceipt?: boolean | undefined;
1808
- readonly includeMessages?: boolean | undefined;
1809
1806
  readonly address?: {
1810
1807
  readonly x0: bigint;
1811
1808
  readonly x1: bigint;
1812
1809
  readonly x2: bigint;
1813
1810
  readonly x3: bigint;
1814
1811
  } | undefined;
1812
+ readonly id?: number | undefined;
1815
1813
  readonly strict?: boolean | undefined;
1816
1814
  readonly includeTransaction?: boolean | undefined;
1815
+ readonly includeReceipt?: boolean | undefined;
1816
+ readonly includeMessages?: boolean | undefined;
1817
1817
  readonly includeSiblings?: boolean | undefined;
1818
1818
  }[] | undefined;
1819
1819
  readonly messages?: readonly {
1820
- readonly id?: number | undefined;
1821
1820
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1822
- readonly includeReceipt?: boolean | undefined;
1823
- readonly includeEvents?: boolean | undefined;
1824
- readonly includeTransaction?: boolean | undefined;
1825
1821
  readonly fromAddress?: {
1826
1822
  readonly x0: bigint;
1827
1823
  readonly x1: bigint;
@@ -1834,80 +1830,84 @@ declare const filterToProto: (a: {
1834
1830
  readonly x2: bigint;
1835
1831
  readonly x3: bigint;
1836
1832
  } | undefined;
1833
+ readonly id?: number | undefined;
1834
+ readonly includeTransaction?: boolean | undefined;
1835
+ readonly includeReceipt?: boolean | undefined;
1836
+ readonly includeEvents?: boolean | undefined;
1837
1837
  }[] | undefined;
1838
1838
  readonly storageDiffs?: readonly {
1839
- readonly id?: number | undefined;
1840
1839
  readonly contractAddress?: {
1841
1840
  readonly x0: bigint;
1842
1841
  readonly x1: bigint;
1843
1842
  readonly x2: bigint;
1844
1843
  readonly x3: bigint;
1845
1844
  } | undefined;
1845
+ readonly id?: number | undefined;
1846
1846
  }[] | undefined;
1847
1847
  readonly contractChanges?: readonly {
1848
- readonly id?: number | undefined;
1849
1848
  readonly change?: {
1850
- readonly $case: "declaredClass";
1851
1849
  readonly declaredClass: {};
1850
+ readonly $case: "declaredClass";
1852
1851
  } | {
1853
- readonly $case: "replacedClass";
1854
1852
  readonly replacedClass: {};
1853
+ readonly $case: "replacedClass";
1855
1854
  } | {
1856
- readonly $case: "deployedContract";
1857
1855
  readonly deployedContract: {};
1856
+ readonly $case: "deployedContract";
1858
1857
  } | undefined;
1858
+ readonly id?: number | undefined;
1859
1859
  }[] | undefined;
1860
1860
  readonly nonceUpdates?: readonly {
1861
- readonly id?: number | undefined;
1862
1861
  readonly contractAddress?: {
1863
1862
  readonly x0: bigint;
1864
1863
  readonly x1: bigint;
1865
1864
  readonly x2: bigint;
1866
1865
  readonly x3: bigint;
1867
1866
  } | undefined;
1867
+ readonly id?: number | undefined;
1868
1868
  }[] | undefined;
1869
1869
  };
1870
1870
  declare const filterFromProto: (i: {
1871
1871
  readonly header?: HeaderFilter$1 | undefined;
1872
1872
  readonly transactions?: readonly {
1873
- readonly id?: number | undefined;
1874
1873
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1874
+ readonly id?: number | undefined;
1875
1875
  readonly includeReceipt?: boolean | undefined;
1876
1876
  readonly includeMessages?: boolean | undefined;
1877
1877
  readonly includeEvents?: boolean | undefined;
1878
1878
  readonly transactionType?: {
1879
- readonly $case: "invokeV0";
1880
1879
  readonly invokeV0: {};
1880
+ readonly $case: "invokeV0";
1881
1881
  } | {
1882
- readonly $case: "invokeV1";
1883
1882
  readonly invokeV1: {};
1883
+ readonly $case: "invokeV1";
1884
1884
  } | {
1885
- readonly $case: "invokeV3";
1886
1885
  readonly invokeV3: {};
1886
+ readonly $case: "invokeV3";
1887
1887
  } | {
1888
- readonly $case: "deploy";
1889
1888
  readonly deploy: {};
1889
+ readonly $case: "deploy";
1890
1890
  } | {
1891
- readonly $case: "declareV0";
1892
1891
  readonly declareV0: {};
1892
+ readonly $case: "declareV0";
1893
1893
  } | {
1894
- readonly $case: "declareV1";
1895
1894
  readonly declareV1: {};
1895
+ readonly $case: "declareV1";
1896
1896
  } | {
1897
- readonly $case: "declareV2";
1898
1897
  readonly declareV2: {};
1898
+ readonly $case: "declareV2";
1899
1899
  } | {
1900
- readonly $case: "declareV3";
1901
1900
  readonly declareV3: {};
1901
+ readonly $case: "declareV3";
1902
1902
  } | {
1903
- readonly $case: "l1Handler";
1904
1903
  readonly l1Handler: {};
1904
+ readonly $case: "l1Handler";
1905
1905
  } | {
1906
- readonly $case: "deployAccountV1";
1907
1906
  readonly deployAccountV1: {};
1907
+ readonly $case: "deployAccountV1";
1908
1908
  } | {
1909
- readonly $case: "deployAccountV3";
1910
1909
  readonly deployAccountV3: {};
1910
+ readonly $case: "deployAccountV3";
1911
1911
  } | undefined;
1912
1912
  }[] | undefined;
1913
1913
  readonly events?: readonly {
@@ -1919,26 +1919,22 @@ declare const filterFromProto: (i: {
1919
1919
  readonly x3: bigint;
1920
1920
  } | undefined;
1921
1921
  }[] | undefined;
1922
- readonly id?: number | undefined;
1923
1922
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1924
- readonly includeReceipt?: boolean | undefined;
1925
- readonly includeMessages?: boolean | undefined;
1926
1923
  readonly address?: {
1927
1924
  readonly x0: bigint;
1928
1925
  readonly x1: bigint;
1929
1926
  readonly x2: bigint;
1930
1927
  readonly x3: bigint;
1931
1928
  } | undefined;
1929
+ readonly id?: number | undefined;
1932
1930
  readonly strict?: boolean | undefined;
1933
1931
  readonly includeTransaction?: boolean | undefined;
1932
+ readonly includeReceipt?: boolean | undefined;
1933
+ readonly includeMessages?: boolean | undefined;
1934
1934
  readonly includeSiblings?: boolean | undefined;
1935
1935
  }[] | undefined;
1936
1936
  readonly messages?: readonly {
1937
- readonly id?: number | undefined;
1938
1937
  readonly transactionStatus?: TransactionStatusFilter$1 | undefined;
1939
- readonly includeReceipt?: boolean | undefined;
1940
- readonly includeEvents?: boolean | undefined;
1941
- readonly includeTransaction?: boolean | undefined;
1942
1938
  readonly fromAddress?: {
1943
1939
  readonly x0: bigint;
1944
1940
  readonly x1: bigint;
@@ -1951,121 +1947,125 @@ declare const filterFromProto: (i: {
1951
1947
  readonly x2: bigint;
1952
1948
  readonly x3: bigint;
1953
1949
  } | undefined;
1950
+ readonly id?: number | undefined;
1951
+ readonly includeTransaction?: boolean | undefined;
1952
+ readonly includeReceipt?: boolean | undefined;
1953
+ readonly includeEvents?: boolean | undefined;
1954
1954
  }[] | undefined;
1955
1955
  readonly storageDiffs?: readonly {
1956
- readonly id?: number | undefined;
1957
1956
  readonly contractAddress?: {
1958
1957
  readonly x0: bigint;
1959
1958
  readonly x1: bigint;
1960
1959
  readonly x2: bigint;
1961
1960
  readonly x3: bigint;
1962
1961
  } | undefined;
1962
+ readonly id?: number | undefined;
1963
1963
  }[] | undefined;
1964
1964
  readonly contractChanges?: readonly {
1965
- readonly id?: number | undefined;
1966
1965
  readonly change?: {
1967
- readonly $case: "declaredClass";
1968
1966
  readonly declaredClass: {};
1967
+ readonly $case: "declaredClass";
1969
1968
  } | {
1970
- readonly $case: "replacedClass";
1971
1969
  readonly replacedClass: {};
1970
+ readonly $case: "replacedClass";
1972
1971
  } | {
1973
- readonly $case: "deployedContract";
1974
1972
  readonly deployedContract: {};
1973
+ readonly $case: "deployedContract";
1975
1974
  } | undefined;
1975
+ readonly id?: number | undefined;
1976
1976
  }[] | undefined;
1977
1977
  readonly nonceUpdates?: readonly {
1978
- readonly id?: number | undefined;
1979
1978
  readonly contractAddress?: {
1980
1979
  readonly x0: bigint;
1981
1980
  readonly x1: bigint;
1982
1981
  readonly x2: bigint;
1983
1982
  readonly x3: bigint;
1984
1983
  } | undefined;
1984
+ readonly id?: number | undefined;
1985
1985
  }[] | undefined;
1986
1986
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => {
1987
- readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
1987
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
1988
1988
  readonly transactions?: readonly {
1989
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
1989
1990
  readonly id?: number | undefined;
1990
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
1991
1991
  readonly includeReceipt?: boolean | undefined;
1992
1992
  readonly includeMessages?: boolean | undefined;
1993
1993
  readonly includeEvents?: boolean | undefined;
1994
1994
  readonly transactionType?: {
1995
- readonly _tag: "invokeV0";
1996
1995
  readonly invokeV0: {};
1996
+ readonly _tag: "invokeV0";
1997
1997
  } | {
1998
- readonly _tag: "invokeV1";
1999
1998
  readonly invokeV1: {};
1999
+ readonly _tag: "invokeV1";
2000
2000
  } | {
2001
- readonly _tag: "invokeV3";
2002
2001
  readonly invokeV3: {};
2002
+ readonly _tag: "invokeV3";
2003
2003
  } | {
2004
- readonly _tag: "deploy";
2005
2004
  readonly deploy: {};
2005
+ readonly _tag: "deploy";
2006
2006
  } | {
2007
- readonly _tag: "declareV0";
2008
2007
  readonly declareV0: {};
2008
+ readonly _tag: "declareV0";
2009
2009
  } | {
2010
- readonly _tag: "declareV1";
2011
2010
  readonly declareV1: {};
2011
+ readonly _tag: "declareV1";
2012
2012
  } | {
2013
- readonly _tag: "declareV2";
2014
2013
  readonly declareV2: {};
2014
+ readonly _tag: "declareV2";
2015
2015
  } | {
2016
- readonly _tag: "declareV3";
2017
2016
  readonly declareV3: {};
2017
+ readonly _tag: "declareV3";
2018
2018
  } | {
2019
- readonly _tag: "l1Handler";
2020
2019
  readonly l1Handler: {};
2020
+ readonly _tag: "l1Handler";
2021
2021
  } | {
2022
- readonly _tag: "deployAccountV1";
2023
2022
  readonly deployAccountV1: {};
2023
+ readonly _tag: "deployAccountV1";
2024
2024
  } | {
2025
- readonly _tag: "deployAccountV3";
2026
2025
  readonly deployAccountV3: {};
2026
+ readonly _tag: "deployAccountV3";
2027
2027
  } | undefined;
2028
2028
  }[] | undefined;
2029
2029
  readonly events?: readonly {
2030
2030
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2031
- readonly id?: number | undefined;
2032
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2033
- readonly includeReceipt?: boolean | undefined;
2034
- readonly includeMessages?: boolean | undefined;
2031
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2035
2032
  readonly address?: `0x${string}` | undefined;
2033
+ readonly id?: number | undefined;
2036
2034
  readonly strict?: boolean | undefined;
2037
2035
  readonly includeTransaction?: boolean | undefined;
2036
+ readonly includeReceipt?: boolean | undefined;
2037
+ readonly includeMessages?: boolean | undefined;
2038
2038
  readonly includeSiblings?: boolean | undefined;
2039
2039
  }[] | undefined;
2040
2040
  readonly messages?: readonly {
2041
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2042
+ readonly fromAddress?: `0x${string}` | undefined;
2043
+ readonly toAddress?: `0x${string}` | undefined;
2041
2044
  readonly id?: number | undefined;
2042
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2045
+ readonly includeTransaction?: boolean | undefined;
2043
2046
  readonly includeReceipt?: boolean | undefined;
2044
2047
  readonly includeEvents?: boolean | undefined;
2045
- readonly includeTransaction?: boolean | undefined;
2046
- readonly fromAddress?: `0x${string}` | undefined;
2047
- readonly toAddress?: `0x${string}` | undefined;
2048
2048
  }[] | undefined;
2049
2049
  readonly storageDiffs?: readonly {
2050
- readonly id?: number | undefined;
2051
2050
  readonly contractAddress?: `0x${string}` | undefined;
2051
+ readonly id?: number | undefined;
2052
2052
  }[] | undefined;
2053
2053
  readonly contractChanges?: readonly {
2054
- readonly id?: number | undefined;
2055
2054
  readonly change?: {
2056
- readonly _tag: "declaredClass";
2057
2055
  readonly declaredClass: {};
2056
+ readonly _tag: "declaredClass";
2058
2057
  } | {
2059
- readonly _tag: "replacedClass";
2060
2058
  readonly replacedClass: {};
2059
+ readonly _tag: "replacedClass";
2061
2060
  } | {
2062
- readonly _tag: "deployedContract";
2063
2061
  readonly deployedContract: {};
2062
+ readonly _tag: "deployedContract";
2064
2063
  } | undefined;
2064
+ readonly id?: number | undefined;
2065
2065
  }[] | undefined;
2066
2066
  readonly nonceUpdates?: readonly {
2067
- readonly id?: number | undefined;
2068
2067
  readonly contractAddress?: `0x${string}` | undefined;
2068
+ readonly id?: number | undefined;
2069
2069
  }[] | undefined;
2070
2070
  };
2071
2071
  declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8Array, never>, Schema.Struct<{
@@ -2194,173 +2194,173 @@ declare const FilterFromBytes: Schema.transform<Schema.Schema<Uint8Array, Uint8A
2194
2194
  }>>>;
2195
2195
  }>>;
2196
2196
  declare const filterToBytes: (a: {
2197
- readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2197
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2198
2198
  readonly transactions?: readonly {
2199
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2199
2200
  readonly id?: number | undefined;
2200
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2201
2201
  readonly includeReceipt?: boolean | undefined;
2202
2202
  readonly includeMessages?: boolean | undefined;
2203
2203
  readonly includeEvents?: boolean | undefined;
2204
2204
  readonly transactionType?: {
2205
- readonly _tag: "invokeV0";
2206
2205
  readonly invokeV0: {};
2206
+ readonly _tag: "invokeV0";
2207
2207
  } | {
2208
- readonly _tag: "invokeV1";
2209
2208
  readonly invokeV1: {};
2209
+ readonly _tag: "invokeV1";
2210
2210
  } | {
2211
- readonly _tag: "invokeV3";
2212
2211
  readonly invokeV3: {};
2212
+ readonly _tag: "invokeV3";
2213
2213
  } | {
2214
- readonly _tag: "deploy";
2215
2214
  readonly deploy: {};
2215
+ readonly _tag: "deploy";
2216
2216
  } | {
2217
- readonly _tag: "declareV0";
2218
2217
  readonly declareV0: {};
2218
+ readonly _tag: "declareV0";
2219
2219
  } | {
2220
- readonly _tag: "declareV1";
2221
2220
  readonly declareV1: {};
2221
+ readonly _tag: "declareV1";
2222
2222
  } | {
2223
- readonly _tag: "declareV2";
2224
2223
  readonly declareV2: {};
2224
+ readonly _tag: "declareV2";
2225
2225
  } | {
2226
- readonly _tag: "declareV3";
2227
2226
  readonly declareV3: {};
2227
+ readonly _tag: "declareV3";
2228
2228
  } | {
2229
- readonly _tag: "l1Handler";
2230
2229
  readonly l1Handler: {};
2230
+ readonly _tag: "l1Handler";
2231
2231
  } | {
2232
- readonly _tag: "deployAccountV1";
2233
2232
  readonly deployAccountV1: {};
2233
+ readonly _tag: "deployAccountV1";
2234
2234
  } | {
2235
- readonly _tag: "deployAccountV3";
2236
2235
  readonly deployAccountV3: {};
2236
+ readonly _tag: "deployAccountV3";
2237
2237
  } | undefined;
2238
2238
  }[] | undefined;
2239
2239
  readonly events?: readonly {
2240
2240
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2241
- readonly id?: number | undefined;
2242
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2243
- readonly includeReceipt?: boolean | undefined;
2244
- readonly includeMessages?: boolean | undefined;
2241
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2245
2242
  readonly address?: `0x${string}` | undefined;
2243
+ readonly id?: number | undefined;
2246
2244
  readonly strict?: boolean | undefined;
2247
2245
  readonly includeTransaction?: boolean | undefined;
2246
+ readonly includeReceipt?: boolean | undefined;
2247
+ readonly includeMessages?: boolean | undefined;
2248
2248
  readonly includeSiblings?: boolean | undefined;
2249
2249
  }[] | undefined;
2250
2250
  readonly messages?: readonly {
2251
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2252
+ readonly fromAddress?: `0x${string}` | undefined;
2253
+ readonly toAddress?: `0x${string}` | undefined;
2251
2254
  readonly id?: number | undefined;
2252
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2255
+ readonly includeTransaction?: boolean | undefined;
2253
2256
  readonly includeReceipt?: boolean | undefined;
2254
2257
  readonly includeEvents?: boolean | undefined;
2255
- readonly includeTransaction?: boolean | undefined;
2256
- readonly fromAddress?: `0x${string}` | undefined;
2257
- readonly toAddress?: `0x${string}` | undefined;
2258
2258
  }[] | undefined;
2259
2259
  readonly storageDiffs?: readonly {
2260
- readonly id?: number | undefined;
2261
2260
  readonly contractAddress?: `0x${string}` | undefined;
2261
+ readonly id?: number | undefined;
2262
2262
  }[] | undefined;
2263
2263
  readonly contractChanges?: readonly {
2264
- readonly id?: number | undefined;
2265
2264
  readonly change?: {
2266
- readonly _tag: "declaredClass";
2267
2265
  readonly declaredClass: {};
2266
+ readonly _tag: "declaredClass";
2268
2267
  } | {
2269
- readonly _tag: "replacedClass";
2270
2268
  readonly replacedClass: {};
2269
+ readonly _tag: "replacedClass";
2271
2270
  } | {
2272
- readonly _tag: "deployedContract";
2273
2271
  readonly deployedContract: {};
2272
+ readonly _tag: "deployedContract";
2274
2273
  } | undefined;
2274
+ readonly id?: number | undefined;
2275
2275
  }[] | undefined;
2276
2276
  readonly nonceUpdates?: readonly {
2277
- readonly id?: number | undefined;
2278
2277
  readonly contractAddress?: `0x${string}` | undefined;
2278
+ readonly id?: number | undefined;
2279
2279
  }[] | undefined;
2280
2280
  }, overrideOptions?: _effect_schema_AST.ParseOptions) => Uint8Array;
2281
2281
  declare const filterFromBytes: (i: Uint8Array, overrideOptions?: _effect_schema_AST.ParseOptions) => {
2282
- readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
2282
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
2283
2283
  readonly transactions?: readonly {
2284
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2284
2285
  readonly id?: number | undefined;
2285
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2286
2286
  readonly includeReceipt?: boolean | undefined;
2287
2287
  readonly includeMessages?: boolean | undefined;
2288
2288
  readonly includeEvents?: boolean | undefined;
2289
2289
  readonly transactionType?: {
2290
- readonly _tag: "invokeV0";
2291
2290
  readonly invokeV0: {};
2291
+ readonly _tag: "invokeV0";
2292
2292
  } | {
2293
- readonly _tag: "invokeV1";
2294
2293
  readonly invokeV1: {};
2294
+ readonly _tag: "invokeV1";
2295
2295
  } | {
2296
- readonly _tag: "invokeV3";
2297
2296
  readonly invokeV3: {};
2297
+ readonly _tag: "invokeV3";
2298
2298
  } | {
2299
- readonly _tag: "deploy";
2300
2299
  readonly deploy: {};
2300
+ readonly _tag: "deploy";
2301
2301
  } | {
2302
- readonly _tag: "declareV0";
2303
2302
  readonly declareV0: {};
2303
+ readonly _tag: "declareV0";
2304
2304
  } | {
2305
- readonly _tag: "declareV1";
2306
2305
  readonly declareV1: {};
2306
+ readonly _tag: "declareV1";
2307
2307
  } | {
2308
- readonly _tag: "declareV2";
2309
2308
  readonly declareV2: {};
2309
+ readonly _tag: "declareV2";
2310
2310
  } | {
2311
- readonly _tag: "declareV3";
2312
2311
  readonly declareV3: {};
2312
+ readonly _tag: "declareV3";
2313
2313
  } | {
2314
- readonly _tag: "l1Handler";
2315
2314
  readonly l1Handler: {};
2315
+ readonly _tag: "l1Handler";
2316
2316
  } | {
2317
- readonly _tag: "deployAccountV1";
2318
2317
  readonly deployAccountV1: {};
2318
+ readonly _tag: "deployAccountV1";
2319
2319
  } | {
2320
- readonly _tag: "deployAccountV3";
2321
2320
  readonly deployAccountV3: {};
2321
+ readonly _tag: "deployAccountV3";
2322
2322
  } | undefined;
2323
2323
  }[] | undefined;
2324
2324
  readonly events?: readonly {
2325
2325
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
2326
- readonly id?: number | undefined;
2327
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2328
- readonly includeReceipt?: boolean | undefined;
2329
- readonly includeMessages?: boolean | undefined;
2326
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2330
2327
  readonly address?: `0x${string}` | undefined;
2328
+ readonly id?: number | undefined;
2331
2329
  readonly strict?: boolean | undefined;
2332
2330
  readonly includeTransaction?: boolean | undefined;
2331
+ readonly includeReceipt?: boolean | undefined;
2332
+ readonly includeMessages?: boolean | undefined;
2333
2333
  readonly includeSiblings?: boolean | undefined;
2334
2334
  }[] | undefined;
2335
2335
  readonly messages?: readonly {
2336
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
2337
+ readonly fromAddress?: `0x${string}` | undefined;
2338
+ readonly toAddress?: `0x${string}` | undefined;
2336
2339
  readonly id?: number | undefined;
2337
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
2340
+ readonly includeTransaction?: boolean | undefined;
2338
2341
  readonly includeReceipt?: boolean | undefined;
2339
2342
  readonly includeEvents?: boolean | undefined;
2340
- readonly includeTransaction?: boolean | undefined;
2341
- readonly fromAddress?: `0x${string}` | undefined;
2342
- readonly toAddress?: `0x${string}` | undefined;
2343
2343
  }[] | undefined;
2344
2344
  readonly storageDiffs?: readonly {
2345
- readonly id?: number | undefined;
2346
2345
  readonly contractAddress?: `0x${string}` | undefined;
2346
+ readonly id?: number | undefined;
2347
2347
  }[] | undefined;
2348
2348
  readonly contractChanges?: readonly {
2349
- readonly id?: number | undefined;
2350
2349
  readonly change?: {
2351
- readonly _tag: "declaredClass";
2352
2350
  readonly declaredClass: {};
2351
+ readonly _tag: "declaredClass";
2353
2352
  } | {
2354
- readonly _tag: "replacedClass";
2355
2353
  readonly replacedClass: {};
2354
+ readonly _tag: "replacedClass";
2356
2355
  } | {
2357
- readonly _tag: "deployedContract";
2358
2356
  readonly deployedContract: {};
2357
+ readonly _tag: "deployedContract";
2359
2358
  } | undefined;
2359
+ readonly id?: number | undefined;
2360
2360
  }[] | undefined;
2361
2361
  readonly nonceUpdates?: readonly {
2362
- readonly id?: number | undefined;
2363
2362
  readonly contractAddress?: `0x${string}` | undefined;
2363
+ readonly id?: number | undefined;
2364
2364
  }[] | undefined;
2365
2365
  };
2366
2366
  declare function mergeFilter(a: Filter, b: Filter): Filter;
@@ -5465,88 +5465,88 @@ declare module "abi-wan-kanabi" {
5465
5465
  }
5466
5466
  }
5467
5467
  declare const StarknetStream: StreamConfig<{
5468
- readonly header?: "always" | "on_data" | "on_data_or_on_new_block" | "unknown" | undefined;
5468
+ readonly header?: "unknown" | "always" | "on_data" | "on_data_or_on_new_block" | undefined;
5469
5469
  readonly transactions?: readonly {
5470
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5470
5471
  readonly id?: number | undefined;
5471
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5472
5472
  readonly includeReceipt?: boolean | undefined;
5473
5473
  readonly includeMessages?: boolean | undefined;
5474
5474
  readonly includeEvents?: boolean | undefined;
5475
5475
  readonly transactionType?: {
5476
- readonly _tag: "invokeV0";
5477
5476
  readonly invokeV0: {};
5477
+ readonly _tag: "invokeV0";
5478
5478
  } | {
5479
- readonly _tag: "invokeV1";
5480
5479
  readonly invokeV1: {};
5480
+ readonly _tag: "invokeV1";
5481
5481
  } | {
5482
- readonly _tag: "invokeV3";
5483
5482
  readonly invokeV3: {};
5483
+ readonly _tag: "invokeV3";
5484
5484
  } | {
5485
- readonly _tag: "deploy";
5486
5485
  readonly deploy: {};
5486
+ readonly _tag: "deploy";
5487
5487
  } | {
5488
- readonly _tag: "declareV0";
5489
5488
  readonly declareV0: {};
5489
+ readonly _tag: "declareV0";
5490
5490
  } | {
5491
- readonly _tag: "declareV1";
5492
5491
  readonly declareV1: {};
5492
+ readonly _tag: "declareV1";
5493
5493
  } | {
5494
- readonly _tag: "declareV2";
5495
5494
  readonly declareV2: {};
5495
+ readonly _tag: "declareV2";
5496
5496
  } | {
5497
- readonly _tag: "declareV3";
5498
5497
  readonly declareV3: {};
5498
+ readonly _tag: "declareV3";
5499
5499
  } | {
5500
- readonly _tag: "l1Handler";
5501
5500
  readonly l1Handler: {};
5501
+ readonly _tag: "l1Handler";
5502
5502
  } | {
5503
- readonly _tag: "deployAccountV1";
5504
5503
  readonly deployAccountV1: {};
5504
+ readonly _tag: "deployAccountV1";
5505
5505
  } | {
5506
- readonly _tag: "deployAccountV3";
5507
5506
  readonly deployAccountV3: {};
5507
+ readonly _tag: "deployAccountV3";
5508
5508
  } | undefined;
5509
5509
  }[] | undefined;
5510
5510
  readonly events?: readonly {
5511
5511
  readonly keys?: readonly (`0x${string}` | null)[] | undefined;
5512
- readonly id?: number | undefined;
5513
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5514
- readonly includeReceipt?: boolean | undefined;
5515
- readonly includeMessages?: boolean | undefined;
5512
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5516
5513
  readonly address?: `0x${string}` | undefined;
5514
+ readonly id?: number | undefined;
5517
5515
  readonly strict?: boolean | undefined;
5518
5516
  readonly includeTransaction?: boolean | undefined;
5517
+ readonly includeReceipt?: boolean | undefined;
5518
+ readonly includeMessages?: boolean | undefined;
5519
5519
  readonly includeSiblings?: boolean | undefined;
5520
5520
  }[] | undefined;
5521
5521
  readonly messages?: readonly {
5522
+ readonly transactionStatus?: "succeeded" | "reverted" | "unknown" | "all" | undefined;
5523
+ readonly fromAddress?: `0x${string}` | undefined;
5524
+ readonly toAddress?: `0x${string}` | undefined;
5522
5525
  readonly id?: number | undefined;
5523
- readonly transactionStatus?: "unknown" | "succeeded" | "reverted" | "all" | undefined;
5526
+ readonly includeTransaction?: boolean | undefined;
5524
5527
  readonly includeReceipt?: boolean | undefined;
5525
5528
  readonly includeEvents?: boolean | undefined;
5526
- readonly includeTransaction?: boolean | undefined;
5527
- readonly fromAddress?: `0x${string}` | undefined;
5528
- readonly toAddress?: `0x${string}` | undefined;
5529
5529
  }[] | undefined;
5530
5530
  readonly storageDiffs?: readonly {
5531
- readonly id?: number | undefined;
5532
5531
  readonly contractAddress?: `0x${string}` | undefined;
5532
+ readonly id?: number | undefined;
5533
5533
  }[] | undefined;
5534
5534
  readonly contractChanges?: readonly {
5535
- readonly id?: number | undefined;
5536
5535
  readonly change?: {
5537
- readonly _tag: "declaredClass";
5538
5536
  readonly declaredClass: {};
5537
+ readonly _tag: "declaredClass";
5539
5538
  } | {
5540
- readonly _tag: "replacedClass";
5541
5539
  readonly replacedClass: {};
5540
+ readonly _tag: "replacedClass";
5542
5541
  } | {
5543
- readonly _tag: "deployedContract";
5544
5542
  readonly deployedContract: {};
5543
+ readonly _tag: "deployedContract";
5545
5544
  } | undefined;
5545
+ readonly id?: number | undefined;
5546
5546
  }[] | undefined;
5547
5547
  readonly nonceUpdates?: readonly {
5548
- readonly id?: number | undefined;
5549
5548
  readonly contractAddress?: `0x${string}` | undefined;
5549
+ readonly id?: number | undefined;
5550
5550
  }[] | undefined;
5551
5551
  }, {
5552
5552
  readonly header: {
@@ -5565,38 +5565,37 @@ declare const StarknetStream: StreamConfig<{
5565
5565
  readonly priceInFri?: `0x${string}` | undefined;
5566
5566
  readonly priceInWei?: `0x${string}` | undefined;
5567
5567
  };
5568
- readonly l1DataAvailabilityMode: "unknown" | "blob" | "calldata";
5568
+ readonly l1DataAvailabilityMode: "calldata" | "blob" | "unknown";
5569
5569
  };
5570
5570
  readonly transactions: readonly {
5571
5571
  readonly filterIds: readonly number[];
5572
5572
  readonly meta: {
5573
- readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5574
5573
  readonly transactionIndex: number;
5575
5574
  readonly transactionHash: `0x${string}`;
5575
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5576
5576
  };
5577
5577
  readonly transaction: {
5578
- readonly _tag: "invokeV0";
5579
5578
  readonly invokeV0: {
5580
- readonly contractAddress: `0x${string}`;
5581
- readonly calldata: readonly `0x${string}`[];
5582
5579
  readonly maxFee: `0x${string}`;
5583
5580
  readonly signature: readonly `0x${string}`[];
5581
+ readonly contractAddress: `0x${string}`;
5584
5582
  readonly entryPointSelector: `0x${string}`;
5583
+ readonly calldata: readonly `0x${string}`[];
5585
5584
  };
5585
+ readonly _tag: "invokeV0";
5586
5586
  } | {
5587
- readonly _tag: "invokeV1";
5588
5587
  readonly invokeV1: {
5589
- readonly calldata: readonly `0x${string}`[];
5590
5588
  readonly maxFee: `0x${string}`;
5591
5589
  readonly signature: readonly `0x${string}`[];
5590
+ readonly calldata: readonly `0x${string}`[];
5592
5591
  readonly senderAddress: `0x${string}`;
5593
5592
  readonly nonce: `0x${string}`;
5594
5593
  };
5594
+ readonly _tag: "invokeV1";
5595
5595
  } | {
5596
- readonly _tag: "invokeV3";
5597
5596
  readonly invokeV3: {
5598
- readonly calldata: readonly `0x${string}`[];
5599
5597
  readonly signature: readonly `0x${string}`[];
5598
+ readonly calldata: readonly `0x${string}`[];
5600
5599
  readonly senderAddress: `0x${string}`;
5601
5600
  readonly nonce: `0x${string}`;
5602
5601
  readonly resourceBounds: {
@@ -5615,31 +5614,31 @@ declare const StarknetStream: StreamConfig<{
5615
5614
  readonly nonceDataAvailabilityMode: "unknown" | "l1" | "l2";
5616
5615
  readonly feeDataAvailabilityMode: "unknown" | "l1" | "l2";
5617
5616
  };
5617
+ readonly _tag: "invokeV3";
5618
5618
  } | {
5619
- readonly _tag: "l1Handler";
5620
5619
  readonly l1Handler: {
5621
5620
  readonly contractAddress: `0x${string}`;
5622
- readonly calldata: readonly `0x${string}`[];
5623
5621
  readonly entryPointSelector: `0x${string}`;
5622
+ readonly calldata: readonly `0x${string}`[];
5624
5623
  readonly nonce: bigint;
5625
5624
  };
5625
+ readonly _tag: "l1Handler";
5626
5626
  } | {
5627
- readonly _tag: "deploy";
5628
5627
  readonly deploy: {
5629
5628
  readonly contractAddressSalt: `0x${string}`;
5630
5629
  readonly constructorCalldata: readonly `0x${string}`[];
5631
5630
  readonly classHash: `0x${string}`;
5632
5631
  };
5632
+ readonly _tag: "deploy";
5633
5633
  } | {
5634
- readonly _tag: "declareV0";
5635
5634
  readonly declareV0: {
5636
5635
  readonly maxFee: `0x${string}`;
5637
5636
  readonly signature: readonly `0x${string}`[];
5638
5637
  readonly senderAddress: `0x${string}`;
5639
5638
  readonly classHash: `0x${string}`;
5640
5639
  };
5640
+ readonly _tag: "declareV0";
5641
5641
  } | {
5642
- readonly _tag: "declareV1";
5643
5642
  readonly declareV1: {
5644
5643
  readonly maxFee: `0x${string}`;
5645
5644
  readonly signature: readonly `0x${string}`[];
@@ -5647,8 +5646,8 @@ declare const StarknetStream: StreamConfig<{
5647
5646
  readonly nonce: `0x${string}`;
5648
5647
  readonly classHash: `0x${string}`;
5649
5648
  };
5649
+ readonly _tag: "declareV1";
5650
5650
  } | {
5651
- readonly _tag: "declareV2";
5652
5651
  readonly declareV2: {
5653
5652
  readonly maxFee: `0x${string}`;
5654
5653
  readonly signature: readonly `0x${string}`[];
@@ -5657,8 +5656,8 @@ declare const StarknetStream: StreamConfig<{
5657
5656
  readonly classHash: `0x${string}`;
5658
5657
  readonly compiledClassHash: `0x${string}`;
5659
5658
  };
5659
+ readonly _tag: "declareV2";
5660
5660
  } | {
5661
- readonly _tag: "declareV3";
5662
5661
  readonly declareV3: {
5663
5662
  readonly signature: readonly `0x${string}`[];
5664
5663
  readonly senderAddress: `0x${string}`;
@@ -5681,8 +5680,8 @@ declare const StarknetStream: StreamConfig<{
5681
5680
  readonly classHash: `0x${string}`;
5682
5681
  readonly compiledClassHash: `0x${string}`;
5683
5682
  };
5683
+ readonly _tag: "declareV3";
5684
5684
  } | {
5685
- readonly _tag: "deployAccountV1";
5686
5685
  readonly deployAccountV1: {
5687
5686
  readonly maxFee: `0x${string}`;
5688
5687
  readonly signature: readonly `0x${string}`[];
@@ -5691,8 +5690,8 @@ declare const StarknetStream: StreamConfig<{
5691
5690
  readonly constructorCalldata: readonly `0x${string}`[];
5692
5691
  readonly classHash: `0x${string}`;
5693
5692
  };
5693
+ readonly _tag: "deployAccountV1";
5694
5694
  } | {
5695
- readonly _tag: "deployAccountV3";
5696
5695
  readonly deployAccountV3: {
5697
5696
  readonly signature: readonly `0x${string}`[];
5698
5697
  readonly nonce: `0x${string}`;
@@ -5714,65 +5713,9 @@ declare const StarknetStream: StreamConfig<{
5714
5713
  readonly constructorCalldata: readonly `0x${string}`[];
5715
5714
  readonly classHash: `0x${string}`;
5716
5715
  };
5716
+ readonly _tag: "deployAccountV3";
5717
5717
  };
5718
5718
  }[];
5719
- readonly events: readonly {
5720
- readonly keys: readonly `0x${string}`[];
5721
- readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5722
- readonly address: `0x${string}`;
5723
- readonly filterIds: readonly number[];
5724
- readonly transactionIndex: number;
5725
- readonly transactionHash: `0x${string}`;
5726
- readonly data: readonly `0x${string}`[];
5727
- readonly eventIndex: number;
5728
- readonly eventIndexInTransaction: number;
5729
- }[];
5730
- readonly messages: readonly {
5731
- readonly transactionStatus: "unknown" | "succeeded" | "reverted";
5732
- readonly fromAddress: `0x${string}`;
5733
- readonly toAddress: `0x${string}`;
5734
- readonly filterIds: readonly number[];
5735
- readonly transactionIndex: number;
5736
- readonly transactionHash: `0x${string}`;
5737
- readonly payload: readonly `0x${string}`[];
5738
- readonly messageIndex: number;
5739
- readonly messageIndexInTransaction: number;
5740
- }[];
5741
- readonly storageDiffs: readonly {
5742
- readonly contractAddress: `0x${string}`;
5743
- readonly filterIds: readonly number[];
5744
- readonly storageEntries: readonly {
5745
- readonly key: `0x${string}`;
5746
- readonly value: `0x${string}`;
5747
- }[];
5748
- }[];
5749
- readonly contractChanges: readonly {
5750
- readonly change: {
5751
- readonly _tag: "declaredClass";
5752
- readonly declaredClass: {
5753
- readonly classHash?: `0x${string}` | undefined;
5754
- readonly compiledClassHash?: `0x${string}` | undefined;
5755
- };
5756
- } | {
5757
- readonly _tag: "replacedClass";
5758
- readonly replacedClass: {
5759
- readonly contractAddress?: `0x${string}` | undefined;
5760
- readonly classHash?: `0x${string}` | undefined;
5761
- };
5762
- } | {
5763
- readonly _tag: "deployedContract";
5764
- readonly deployedContract: {
5765
- readonly contractAddress?: `0x${string}` | undefined;
5766
- readonly classHash?: `0x${string}` | undefined;
5767
- };
5768
- };
5769
- readonly filterIds: readonly number[];
5770
- }[];
5771
- readonly nonceUpdates: readonly {
5772
- readonly contractAddress: `0x${string}`;
5773
- readonly filterIds: readonly number[];
5774
- readonly nonce: `0x${string}`;
5775
- }[];
5776
5719
  readonly receipts: readonly {
5777
5720
  readonly filterIds: readonly number[];
5778
5721
  readonly meta: {
@@ -5811,28 +5754,85 @@ declare const StarknetStream: StreamConfig<{
5811
5754
  };
5812
5755
  };
5813
5756
  readonly receipt: {
5814
- readonly _tag: "invoke";
5815
5757
  readonly invoke: {};
5758
+ readonly _tag: "invoke";
5816
5759
  } | {
5817
- readonly _tag: "l1Handler";
5818
5760
  readonly l1Handler: {
5819
5761
  readonly messageHash: Uint8Array;
5820
5762
  };
5763
+ readonly _tag: "l1Handler";
5821
5764
  } | {
5822
- readonly _tag: "declare";
5823
5765
  readonly declare: {};
5766
+ readonly _tag: "declare";
5824
5767
  } | {
5825
- readonly _tag: "deploy";
5826
5768
  readonly deploy: {
5827
5769
  readonly contractAddress: `0x${string}`;
5828
5770
  };
5771
+ readonly _tag: "deploy";
5829
5772
  } | {
5830
- readonly _tag: "deployAccount";
5831
5773
  readonly deployAccount: {
5832
5774
  readonly contractAddress: `0x${string}`;
5833
5775
  };
5776
+ readonly _tag: "deployAccount";
5777
+ };
5778
+ }[];
5779
+ readonly events: readonly {
5780
+ readonly keys: readonly `0x${string}`[];
5781
+ readonly filterIds: readonly number[];
5782
+ readonly transactionIndex: number;
5783
+ readonly transactionHash: `0x${string}`;
5784
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5785
+ readonly address: `0x${string}`;
5786
+ readonly data: readonly `0x${string}`[];
5787
+ readonly eventIndex: number;
5788
+ readonly eventIndexInTransaction: number;
5789
+ }[];
5790
+ readonly messages: readonly {
5791
+ readonly filterIds: readonly number[];
5792
+ readonly transactionIndex: number;
5793
+ readonly transactionHash: `0x${string}`;
5794
+ readonly transactionStatus: "succeeded" | "reverted" | "unknown";
5795
+ readonly fromAddress: `0x${string}`;
5796
+ readonly toAddress: `0x${string}`;
5797
+ readonly payload: readonly `0x${string}`[];
5798
+ readonly messageIndex: number;
5799
+ readonly messageIndexInTransaction: number;
5800
+ }[];
5801
+ readonly storageDiffs: readonly {
5802
+ readonly filterIds: readonly number[];
5803
+ readonly contractAddress: `0x${string}`;
5804
+ readonly storageEntries: readonly {
5805
+ readonly key: `0x${string}`;
5806
+ readonly value: `0x${string}`;
5807
+ }[];
5808
+ }[];
5809
+ readonly contractChanges: readonly {
5810
+ readonly filterIds: readonly number[];
5811
+ readonly change: {
5812
+ readonly declaredClass: {
5813
+ readonly classHash?: `0x${string}` | undefined;
5814
+ readonly compiledClassHash?: `0x${string}` | undefined;
5815
+ };
5816
+ readonly _tag: "declaredClass";
5817
+ } | {
5818
+ readonly replacedClass: {
5819
+ readonly contractAddress?: `0x${string}` | undefined;
5820
+ readonly classHash?: `0x${string}` | undefined;
5821
+ };
5822
+ readonly _tag: "replacedClass";
5823
+ } | {
5824
+ readonly deployedContract: {
5825
+ readonly contractAddress?: `0x${string}` | undefined;
5826
+ readonly classHash?: `0x${string}` | undefined;
5827
+ };
5828
+ readonly _tag: "deployedContract";
5834
5829
  };
5835
5830
  }[];
5831
+ readonly nonceUpdates: readonly {
5832
+ readonly filterIds: readonly number[];
5833
+ readonly contractAddress: `0x${string}`;
5834
+ readonly nonce: `0x${string}`;
5835
+ }[];
5836
5836
  }>;
5837
5837
 
5838
5838
  export { Block, BlockFromBytes, BlockHeader, ComputationResources, ContractChange, ContractChangeFilter, DataAvailabilityMode, DataAvailabilityResources, DeclareTransactionReceipt, DeclareTransactionV0, DeclareTransactionV1, DeclareTransactionV2, DeclareTransactionV3, DeclareV0TransactionFilter, DeclareV1TransactionFilter, DeclareV2TransactionFilter, DeclareV3TransactionFilter, DeclaredClass, DeclaredClassFilter, type DecodeEventArgs, DecodeEventError, type DecodeEventReturn, type DecodedEvent, DeployAccountTransactionReceipt, DeployAccountTransactionV1, DeployAccountTransactionV3, DeployAccountV1TransactionFilter, DeployAccountV3TransactionFilter, DeployTransaction, DeployTransactionFilter, DeployTransactionReceipt, DeployedContract, DeployedContractFilter, Event, EventFilter, ExecutionResources, ExecutionReverted, ExecutionSucceeded, FeePayment, FieldElement$1 as FieldElement, Filter, FilterFromBytes, HeaderFilter, InvokeTransactionReceipt, InvokeTransactionV0, InvokeTransactionV0Filter, InvokeTransactionV1, InvokeTransactionV1Filter, InvokeTransactionV3, InvokeTransactionV3Filter, Key, L1DataAvailabilityMode, L1HandlerTransaction, L1HandlerTransactionFilter, L1HandlerTransactionReceipt, MessageToL1, MessageToL1Filter, NonceUpdate, NonceUpdateFilter, PriceUnit, ReplacedClass, ReplacedClassFilter, ResourceBounds, ResourceBoundsMapping, ResourcePrice, StarknetStream, StorageDiff, StorageDiffFilter, StorageEntry, Transaction, TransactionFilter, TransactionMeta, TransactionReceipt, TransactionReceiptMeta, TransactionStatus, TransactionStatusFilter, U128, decodeEvent, filterFromBytes, filterFromProto, filterToBytes, filterToProto, getBigIntSelector, getEventSelector, getReceipt, getSelector, getTransaction, mergeFilter, index as proto };