@b3dotfun/sdk 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1270) hide show
  1. package/README.md +345 -0
  2. package/constants/chains/b3Chain.js +2 -0
  3. package/dist/cjs/anyspend/abis/abi-usdc-base.d.ts +1074 -0
  4. package/dist/cjs/anyspend/abis/abi-usdc-base.js +602 -0
  5. package/dist/cjs/anyspend/abis/erc20-staking.d.ts +540 -0
  6. package/dist/cjs/anyspend/abis/erc20-staking.js +301 -0
  7. package/dist/cjs/anyspend/constants/index.d.ts +28 -0
  8. package/dist/cjs/anyspend/constants/index.js +72 -0
  9. package/dist/cjs/anyspend/index.d.ts +13 -0
  10. package/dist/cjs/anyspend/index.js +35 -0
  11. package/dist/cjs/anyspend/react/components/AnySpend.d.ts +22 -0
  12. package/dist/cjs/anyspend/react/components/AnySpend.js +700 -0
  13. package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
  14. package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +333 -0
  15. package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +22 -0
  16. package/dist/cjs/anyspend/react/components/AnySpendCustom.js +399 -0
  17. package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +8 -0
  18. package/dist/cjs/anyspend/react/components/AnySpendNFT.js +31 -0
  19. package/dist/cjs/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
  20. package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +19 -0
  21. package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
  22. package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +269 -0
  23. package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +27 -0
  24. package/dist/cjs/anyspend/react/components/AnySpendTournament.js +21 -0
  25. package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
  26. package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +7 -0
  27. package/dist/cjs/anyspend/react/components/common/HowItWorks.d.ts +10 -0
  28. package/dist/cjs/anyspend/react/components/common/HowItWorks.js +7 -0
  29. package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +14 -0
  30. package/dist/cjs/anyspend/react/components/common/OrderDetails.js +391 -0
  31. package/dist/cjs/anyspend/react/components/common/OrderHistory.d.ts +7 -0
  32. package/dist/cjs/anyspend/react/components/common/OrderHistory.js +24 -0
  33. package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
  34. package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.js +38 -0
  35. package/dist/cjs/anyspend/react/components/common/OrderStatus.d.ts +4 -0
  36. package/dist/cjs/anyspend/react/components/common/OrderStatus.js +14 -0
  37. package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +11 -0
  38. package/dist/cjs/anyspend/react/components/common/OrderToken.js +59 -0
  39. package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
  40. package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +50 -0
  41. package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
  42. package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +46 -0
  43. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
  44. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +124 -0
  45. package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
  46. package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +15 -0
  47. package/dist/cjs/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
  48. package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +27 -0
  49. package/dist/cjs/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
  50. package/dist/cjs/anyspend/react/components/common/PaymentOptions.js +7 -0
  51. package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
  52. package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +153 -0
  53. package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
  54. package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.js +23 -0
  55. package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +6 -0
  56. package/dist/cjs/anyspend/react/components/common/TokenBalance.js +21 -0
  57. package/dist/cjs/anyspend/react/components/icons/EthIcon.d.ts +3 -0
  58. package/dist/cjs/anyspend/react/components/icons/EthIcon.js +7 -0
  59. package/dist/cjs/anyspend/react/components/icons/SolIcon.d.ts +3 -0
  60. package/dist/cjs/anyspend/react/components/icons/SolIcon.js +7 -0
  61. package/dist/cjs/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
  62. package/dist/cjs/anyspend/react/components/icons/USDCIcon.js +7 -0
  63. package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
  64. package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +21 -0
  65. package/dist/cjs/anyspend/react/hooks/index.d.ts +13 -0
  66. package/dist/cjs/anyspend/react/hooks/index.js +29 -0
  67. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
  68. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +83 -0
  69. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
  70. package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +68 -0
  71. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
  72. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +37 -0
  73. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
  74. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +20 -0
  75. package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
  76. package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +52 -0
  77. package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
  78. package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +39 -0
  79. package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
  80. package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +18 -0
  81. package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
  82. package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +19 -0
  83. package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
  84. package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +53 -0
  85. package/dist/cjs/anyspend/react/hooks/useGetGeo.d.ts +16 -0
  86. package/dist/cjs/anyspend/react/hooks/useGetGeo.js +15 -0
  87. package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +92 -0
  88. package/dist/cjs/anyspend/react/hooks/usePermitData.js +158 -0
  89. package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
  90. package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +18 -0
  91. package/dist/cjs/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
  92. package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +20 -0
  93. package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
  94. package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +42 -0
  95. package/dist/cjs/anyspend/services/anyspend.d.ts +372 -0
  96. package/dist/cjs/anyspend/services/anyspend.js +126 -0
  97. package/dist/cjs/anyspend/types/chain.d.ts +26 -0
  98. package/dist/cjs/anyspend/types/chain.js +8 -0
  99. package/dist/cjs/anyspend/types/custom.d.ts +130 -0
  100. package/dist/cjs/anyspend/types/custom.js +19 -0
  101. package/dist/cjs/anyspend/types/globalWallet.d.ts +18 -0
  102. package/dist/cjs/anyspend/types/globalWallet.js +10 -0
  103. package/dist/cjs/anyspend/types/index.d.ts +13 -0
  104. package/dist/cjs/anyspend/types/index.js +29 -0
  105. package/dist/cjs/anyspend/types/nft.d.ts +267 -0
  106. package/dist/cjs/anyspend/types/nft.js +36 -0
  107. package/dist/cjs/anyspend/types/onramp.d.ts +25 -0
  108. package/dist/cjs/anyspend/types/onramp.js +17 -0
  109. package/dist/cjs/anyspend/types/order.d.ts +1771 -0
  110. package/dist/cjs/anyspend/types/order.js +85 -0
  111. package/dist/cjs/anyspend/types/permit.d.ts +21 -0
  112. package/dist/cjs/anyspend/types/permit.js +11 -0
  113. package/dist/cjs/anyspend/types/relay.d.ts +10 -0
  114. package/dist/cjs/anyspend/types/relay.js +12 -0
  115. package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +4113 -0
  116. package/dist/cjs/anyspend/types/req-res/createOrder.js +60 -0
  117. package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
  118. package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +31 -0
  119. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
  120. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +23 -0
  121. package/dist/cjs/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
  122. package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +11 -0
  123. package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
  124. package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +11 -0
  125. package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +253 -0
  126. package/dist/cjs/anyspend/types/req-res/getQuote.js +46 -0
  127. package/dist/cjs/anyspend/types/req-res/getTokenList.d.ts +63 -0
  128. package/dist/cjs/anyspend/types/req-res/getTokenList.js +18 -0
  129. package/dist/cjs/anyspend/types/req-res/index.d.ts +8 -0
  130. package/dist/cjs/anyspend/types/req-res/index.js +24 -0
  131. package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +66 -0
  132. package/dist/cjs/anyspend/types/req-res/sendPermitData.js +11 -0
  133. package/dist/cjs/anyspend/types/req-res/stripe.d.ts +0 -0
  134. package/dist/cjs/anyspend/types/req-res/stripe.js +1 -0
  135. package/dist/cjs/anyspend/types/swap.d.ts +119 -0
  136. package/dist/cjs/anyspend/types/swap.js +13 -0
  137. package/dist/cjs/anyspend/types/token.d.ts +34 -0
  138. package/dist/cjs/anyspend/types/token.js +14 -0
  139. package/dist/cjs/anyspend/types/tournament.d.ts +174 -0
  140. package/dist/cjs/anyspend/types/tournament.js +24 -0
  141. package/dist/cjs/anyspend/types/transaction.d.ts +84 -0
  142. package/dist/cjs/anyspend/types/transaction.js +34 -0
  143. package/dist/cjs/anyspend/utils/address.d.ts +4 -0
  144. package/dist/cjs/anyspend/utils/address.js +29 -0
  145. package/dist/cjs/anyspend/utils/chain.d.ts +25 -0
  146. package/dist/cjs/anyspend/utils/chain.js +294 -0
  147. package/dist/cjs/anyspend/utils/format.d.ts +6 -0
  148. package/dist/cjs/anyspend/utils/format.js +59 -0
  149. package/dist/cjs/anyspend/utils/index.d.ts +8 -0
  150. package/dist/cjs/anyspend/utils/index.js +24 -0
  151. package/dist/cjs/anyspend/utils/json.d.ts +1 -0
  152. package/dist/cjs/anyspend/utils/json.js +6 -0
  153. package/dist/cjs/anyspend/utils/number.d.ts +13 -0
  154. package/dist/cjs/anyspend/utils/number.js +90 -0
  155. package/dist/cjs/anyspend/utils/orderPayload.d.ts +127 -0
  156. package/dist/cjs/anyspend/utils/orderPayload.js +56 -0
  157. package/dist/cjs/anyspend/utils/string.d.ts +1 -0
  158. package/dist/cjs/anyspend/utils/string.js +9 -0
  159. package/dist/cjs/anyspend/utils/token.d.ts +7 -0
  160. package/dist/cjs/anyspend/utils/token.js +73 -0
  161. package/dist/cjs/generated/chain-networks.json +483 -0
  162. package/dist/cjs/global-account/app.d.ts +4 -0
  163. package/dist/cjs/global-account/app.js +65 -0
  164. package/dist/cjs/global-account/app.native.d.ts +5 -0
  165. package/dist/cjs/global-account/app.native.js +90 -0
  166. package/dist/cjs/global-account/bsmnt.d.ts +4 -0
  167. package/dist/cjs/global-account/bsmnt.js +69 -0
  168. package/dist/cjs/global-account/bsmnt.native.d.ts +5 -0
  169. package/dist/cjs/global-account/bsmnt.native.js +93 -0
  170. package/dist/cjs/global-account/index.d.ts +9 -0
  171. package/dist/cjs/global-account/index.js +27 -0
  172. package/dist/cjs/global-account/index.native.d.ts +3 -0
  173. package/dist/cjs/global-account/index.native.js +18 -0
  174. package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
  175. package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.js +13 -0
  176. package/dist/cjs/global-account/react/components/B3DynamicModal.d.ts +1 -0
  177. package/dist/cjs/global-account/react/components/B3DynamicModal.js +92 -0
  178. package/dist/cjs/global-account/react/components/B3Provider.d.ts +53 -0
  179. package/dist/cjs/global-account/react/components/B3Provider.js +118 -0
  180. package/dist/cjs/global-account/react/components/B3Provider.native.d.ts +46 -0
  181. package/dist/cjs/global-account/react/components/B3Provider.native.js +76 -0
  182. package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
  183. package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +85 -0
  184. package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +17 -0
  185. package/dist/cjs/global-account/react/components/MintButton/MintButton.js +51 -0
  186. package/dist/cjs/global-account/react/components/ProfileAvatar.d.ts +0 -0
  187. package/dist/cjs/global-account/react/components/ProfileAvatar.js +127 -0
  188. package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
  189. package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +29 -0
  190. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
  191. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +83 -0
  192. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
  193. package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +26 -0
  194. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
  195. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +45 -0
  196. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
  197. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +203 -0
  198. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
  199. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +51 -0
  200. package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
  201. package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +9 -0
  202. package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
  203. package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.js +8 -0
  204. package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
  205. package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +9 -0
  206. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
  207. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +89 -0
  208. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
  209. package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +76 -0
  210. package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
  211. package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +56 -0
  212. package/dist/cjs/global-account/react/components/StyleRoot.d.ts +4 -0
  213. package/dist/cjs/global-account/react/components/StyleRoot.js +10 -0
  214. package/dist/cjs/global-account/react/components/Transak/TransakModal.d.ts +1 -0
  215. package/dist/cjs/global-account/react/components/Transak/TransakModal.js +113 -0
  216. package/dist/cjs/global-account/react/components/custom/Button.d.ts +12 -0
  217. package/dist/cjs/global-account/react/components/custom/Button.js +36 -0
  218. package/dist/cjs/global-account/react/components/custom/ClientOnly.d.ts +7 -0
  219. package/dist/cjs/global-account/react/components/custom/ClientOnly.js +13 -0
  220. package/dist/cjs/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
  221. package/dist/cjs/global-account/react/components/custom/CopyToClipboard.js +21 -0
  222. package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
  223. package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +24 -0
  224. package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
  225. package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.js +27 -0
  226. package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
  227. package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +93 -0
  228. package/dist/cjs/global-account/react/components/ui/Loading.d.ts +7 -0
  229. package/dist/cjs/global-account/react/components/ui/Loading.js +18 -0
  230. package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +14 -0
  231. package/dist/cjs/global-account/react/components/ui/ShinyButton.js +29 -0
  232. package/dist/cjs/global-account/react/components/ui/TabSystem.d.ts +30 -0
  233. package/dist/cjs/global-account/react/components/ui/TabSystem.js +86 -0
  234. package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +9 -0
  235. package/dist/cjs/global-account/react/components/ui/Tabs.js +53 -0
  236. package/dist/cjs/global-account/react/components/ui/badge.d.ts +9 -0
  237. package/dist/cjs/global-account/react/components/ui/badge.js +24 -0
  238. package/dist/cjs/global-account/react/components/ui/button.d.ts +11 -0
  239. package/dist/cjs/global-account/react/components/ui/button.js +72 -0
  240. package/dist/cjs/global-account/react/components/ui/command.d.ts +82 -0
  241. package/dist/cjs/global-account/react/components/ui/command.js +74 -0
  242. package/dist/cjs/global-account/react/components/ui/dialog.d.ts +30 -0
  243. package/dist/cjs/global-account/react/components/ui/dialog.js +71 -0
  244. package/dist/cjs/global-account/react/components/ui/drawer.d.ts +22 -0
  245. package/dist/cjs/global-account/react/components/ui/drawer.js +71 -0
  246. package/dist/cjs/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
  247. package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +146 -0
  248. package/dist/cjs/global-account/react/components/ui/glare-card.d.ts +4 -0
  249. package/dist/cjs/global-account/react/components/ui/glare-card.js +108 -0
  250. package/dist/cjs/global-account/react/components/ui/input.d.ts +5 -0
  251. package/dist/cjs/global-account/react/components/ui/input.js +46 -0
  252. package/dist/cjs/global-account/react/components/ui/popover.d.ts +6 -0
  253. package/dist/cjs/global-account/react/components/ui/popover.js +52 -0
  254. package/dist/cjs/global-account/react/components/ui/scroll-area.d.ts +5 -0
  255. package/dist/cjs/global-account/react/components/ui/scroll-area.js +47 -0
  256. package/dist/cjs/global-account/react/components/ui/skeleton.d.ts +2 -0
  257. package/dist/cjs/global-account/react/components/ui/skeleton.js +8 -0
  258. package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +11 -0
  259. package/dist/cjs/global-account/react/components/ui/text-loop.js +29 -0
  260. package/dist/cjs/global-account/react/components/ui/text-shimmer.d.ts +10 -0
  261. package/dist/cjs/global-account/react/components/ui/text-shimmer.js +22 -0
  262. package/dist/cjs/global-account/react/components/ui/tooltip.d.ts +7 -0
  263. package/dist/cjs/global-account/react/components/ui/tooltip.js +50 -0
  264. package/dist/cjs/global-account/react/components/ui/transition-panel.d.ts +14 -0
  265. package/dist/cjs/global-account/react/components/ui/transition-panel.js +10 -0
  266. package/dist/cjs/global-account/react/hooks/useAccountAssets.d.ts +3 -0
  267. package/dist/cjs/global-account/react/hooks/useAccountAssets.js +35 -0
  268. package/dist/cjs/global-account/react/hooks/useAccountWallet.d.ts +18 -0
  269. package/dist/cjs/global-account/react/hooks/useAccountWallet.js +70 -0
  270. package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
  271. package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +56 -0
  272. package/dist/cjs/global-account/react/hooks/useAuthentication.d.ts +10 -0
  273. package/dist/cjs/global-account/react/hooks/useAuthentication.js +123 -0
  274. package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
  275. package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +70 -0
  276. package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
  277. package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +150 -0
  278. package/dist/cjs/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
  279. package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +13 -0
  280. package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
  281. package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +73 -0
  282. package/dist/cjs/global-account/react/hooks/useClaim.d.ts +16 -0
  283. package/dist/cjs/global-account/react/hooks/useClaim.js +50 -0
  284. package/dist/cjs/global-account/react/hooks/useConnect.d.ts +9 -0
  285. package/dist/cjs/global-account/react/hooks/useConnect.js +52 -0
  286. package/dist/cjs/global-account/react/hooks/useExchangeRate.d.ts +12 -0
  287. package/dist/cjs/global-account/react/hooks/useExchangeRate.js +30 -0
  288. package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
  289. package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +77 -0
  290. package/dist/cjs/global-account/react/hooks/useGetGeo.d.ts +17 -0
  291. package/dist/cjs/global-account/react/hooks/useGetGeo.js +20 -0
  292. package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
  293. package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +69 -0
  294. package/dist/cjs/global-account/react/hooks/useHasMounted.d.ts +1 -0
  295. package/dist/cjs/global-account/react/hooks/useHasMounted.js +11 -0
  296. package/dist/cjs/global-account/react/hooks/useIsMobile.d.ts +2 -0
  297. package/dist/cjs/global-account/react/hooks/useIsMobile.js +8 -0
  298. package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  299. package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.js +5 -0
  300. package/dist/cjs/global-account/react/hooks/useMediaQuery.d.ts +6 -0
  301. package/dist/cjs/global-account/react/hooks/useMediaQuery.js +47 -0
  302. package/dist/cjs/global-account/react/hooks/useNativeBalance.d.ts +22 -0
  303. package/dist/cjs/global-account/react/hooks/useNativeBalance.js +76 -0
  304. package/dist/cjs/global-account/react/hooks/useOnchainName.d.ts +19 -0
  305. package/dist/cjs/global-account/react/hooks/useOnchainName.js +193 -0
  306. package/dist/cjs/global-account/react/hooks/useOneBalance.d.ts +26 -0
  307. package/dist/cjs/global-account/react/hooks/useOneBalance.js +69 -0
  308. package/dist/cjs/global-account/react/hooks/useQueryB3.d.ts +25 -0
  309. package/dist/cjs/global-account/react/hooks/useQueryB3.js +40 -0
  310. package/dist/cjs/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
  311. package/dist/cjs/global-account/react/hooks/useQueryBSMNT.js +40 -0
  312. package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
  313. package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +49 -0
  314. package/dist/cjs/global-account/react/hooks/useRouter.d.ts +14 -0
  315. package/dist/cjs/global-account/react/hooks/useRouter.js +78 -0
  316. package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
  317. package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.js +31 -0
  318. package/dist/cjs/global-account/react/hooks/useSiwe.d.ts +4 -0
  319. package/dist/cjs/global-account/react/hooks/useSiwe.js +38 -0
  320. package/dist/cjs/global-account/react/hooks/useTokenBalance.d.ts +12 -0
  321. package/dist/cjs/global-account/react/hooks/useTokenBalance.js +64 -0
  322. package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
  323. package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +58 -0
  324. package/dist/cjs/global-account/react/hooks/useTokenData.d.ts +9 -0
  325. package/dist/cjs/global-account/react/hooks/useTokenData.js +47 -0
  326. package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
  327. package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +30 -0
  328. package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +17 -0
  329. package/dist/cjs/global-account/react/hooks/useTokenPrice.js +48 -0
  330. package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
  331. package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +34 -0
  332. package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
  333. package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +51 -0
  334. package/dist/cjs/global-account/react/hooks/useURLParams.d.ts +8 -0
  335. package/dist/cjs/global-account/react/hooks/useURLParams.js +38 -0
  336. package/dist/cjs/global-account/react/stores/useAuthStore.d.ts +26 -0
  337. package/dist/cjs/global-account/react/stores/useAuthStore.js +39 -0
  338. package/dist/cjs/global-account/react/stores/useModalStore.d.ts +267 -0
  339. package/dist/cjs/global-account/react/stores/useModalStore.js +36 -0
  340. package/dist/cjs/global-account/server.d.ts +8 -0
  341. package/dist/cjs/global-account/server.js +26 -0
  342. package/dist/cjs/global-account/types/b3-api.d.ts +3 -0
  343. package/dist/cjs/global-account/types/b3-api.js +41 -0
  344. package/dist/cjs/global-account/types/b3-api.types.d.ts +51 -0
  345. package/dist/cjs/global-account/types/b3-api.types.js +4 -0
  346. package/dist/cjs/global-account/types/chain-networks.d.ts +44 -0
  347. package/dist/cjs/global-account/types/chain-networks.js +48 -0
  348. package/dist/cjs/global-account/types/feature-flags.d.ts +8 -0
  349. package/dist/cjs/global-account/types/feature-flags.js +10 -0
  350. package/dist/cjs/global-account/types/permissions.d.ts +21 -0
  351. package/dist/cjs/global-account/types/permissions.js +2 -0
  352. package/dist/cjs/global-account/types/reservoir.types.d.ts +89 -0
  353. package/dist/cjs/global-account/types/reservoir.types.js +2 -0
  354. package/dist/cjs/global-account/types/simplehash.types.d.ts +292 -0
  355. package/dist/cjs/global-account/types/simplehash.types.js +2 -0
  356. package/dist/cjs/global-account/types.d.ts +19 -0
  357. package/dist/cjs/global-account/types.js +2 -0
  358. package/dist/cjs/shared/constants/chains/b3Chain.d.ts +144 -0
  359. package/dist/cjs/shared/constants/chains/b3Chain.js +167 -0
  360. package/dist/cjs/shared/constants/chains/chainPlatformMap.d.ts +24 -0
  361. package/dist/cjs/shared/constants/chains/chainPlatformMap.js +47 -0
  362. package/dist/cjs/shared/constants/chains/supported.d.ts +53 -0
  363. package/dist/cjs/shared/constants/chains/supported.js +31 -0
  364. package/dist/cjs/shared/constants/index.d.ts +15 -0
  365. package/dist/cjs/shared/constants/index.js +21 -0
  366. package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
  367. package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +1355 -0
  368. package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +12 -0
  369. package/dist/cjs/shared/thirdweb/generated/client.gen.js +6 -0
  370. package/dist/cjs/shared/thirdweb/generated/index.d.ts +2 -0
  371. package/dist/cjs/shared/thirdweb/generated/index.js +19 -0
  372. package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
  373. package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +1037 -0
  374. package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +4159 -0
  375. package/dist/cjs/shared/thirdweb/generated/types.gen.js +3 -0
  376. package/dist/cjs/shared/thirdweb/initiateClient.d.ts +1 -0
  377. package/dist/cjs/shared/thirdweb/initiateClient.js +27 -0
  378. package/dist/cjs/shared/thirdweb/openapi-ts.config.d.ts +2 -0
  379. package/dist/cjs/shared/thirdweb/openapi-ts.config.js +8 -0
  380. package/dist/cjs/shared/utils/b3Ens.d.ts +5 -0
  381. package/dist/cjs/shared/utils/b3Ens.js +27 -0
  382. package/dist/cjs/shared/utils/centerTruncate.d.ts +1 -0
  383. package/dist/cjs/shared/utils/centerTruncate.js +14 -0
  384. package/dist/cjs/shared/utils/chain-transformers.d.ts +5 -0
  385. package/dist/cjs/shared/utils/chain-transformers.js +50 -0
  386. package/dist/cjs/shared/utils/chains.d.ts +6 -0
  387. package/dist/cjs/shared/utils/chains.js +38 -0
  388. package/dist/cjs/shared/utils/cn.d.ts +2 -0
  389. package/dist/cjs/shared/utils/cn.js +8 -0
  390. package/dist/cjs/shared/utils/colors.d.ts +2 -0
  391. package/dist/cjs/shared/utils/colors.js +33 -0
  392. package/dist/cjs/shared/utils/cookies.d.ts +3 -0
  393. package/dist/cjs/shared/utils/cookies.js +17 -0
  394. package/dist/cjs/shared/utils/debug.d.ts +4 -0
  395. package/dist/cjs/shared/utils/debug.js +20 -0
  396. package/dist/cjs/shared/utils/fetchBalances.d.ts +16 -0
  397. package/dist/cjs/shared/utils/fetchBalances.js +64 -0
  398. package/dist/cjs/shared/utils/fetchBsmntProfile.d.ts +1 -0
  399. package/dist/cjs/shared/utils/fetchBsmntProfile.js +26 -0
  400. package/dist/cjs/shared/utils/formatAddress.d.ts +2 -0
  401. package/dist/cjs/shared/utils/formatAddress.js +19 -0
  402. package/dist/cjs/shared/utils/formatNumber.d.ts +7 -0
  403. package/dist/cjs/shared/utils/formatNumber.js +49 -0
  404. package/dist/cjs/shared/utils/index.d.ts +2 -0
  405. package/dist/cjs/shared/utils/index.js +23 -0
  406. package/dist/cjs/shared/utils/insights.d.ts +7 -0
  407. package/dist/cjs/shared/utils/insights.js +388 -0
  408. package/dist/cjs/shared/utils/ipfs.d.ts +12 -0
  409. package/dist/cjs/shared/utils/ipfs.js +32 -0
  410. package/dist/cjs/shared/utils/number.d.ts +11 -0
  411. package/dist/cjs/shared/utils/number.js +110 -0
  412. package/dist/cjs/shared/utils/payment.utils.d.ts +5 -0
  413. package/dist/cjs/shared/utils/payment.utils.js +36 -0
  414. package/dist/cjs/shared/utils/simplehash.d.ts +12 -0
  415. package/dist/cjs/shared/utils/simplehash.js +308 -0
  416. package/dist/cjs/shared/utils/sprinter.d.ts +1 -0
  417. package/dist/cjs/shared/utils/sprinter.js +15 -0
  418. package/dist/cjs/shared/utils/thirdweb-insights.d.ts +105 -0
  419. package/dist/cjs/shared/utils/thirdweb-insights.js +200 -0
  420. package/dist/cjs/shared/utils/thirdweb.d.ts +1 -0
  421. package/dist/cjs/shared/utils/thirdweb.js +11 -0
  422. package/dist/cjs/styles/index.d.ts +20 -0
  423. package/dist/cjs/styles/index.js +22 -0
  424. package/dist/esm/anyspend/abis/abi-usdc-base.d.ts +1074 -0
  425. package/dist/esm/anyspend/abis/abi-usdc-base.js +599 -0
  426. package/dist/esm/anyspend/abis/erc20-staking.d.ts +540 -0
  427. package/dist/esm/anyspend/abis/erc20-staking.js +298 -0
  428. package/dist/esm/anyspend/constants/index.d.ts +28 -0
  429. package/dist/esm/anyspend/constants/index.js +69 -0
  430. package/dist/esm/anyspend/index.d.ts +13 -0
  431. package/dist/esm/anyspend/index.js +19 -0
  432. package/dist/esm/anyspend/react/components/AnySpend.d.ts +22 -0
  433. package/dist/esm/anyspend/react/components/AnySpend.js +693 -0
  434. package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
  435. package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +327 -0
  436. package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +22 -0
  437. package/dist/esm/anyspend/react/components/AnySpendCustom.js +393 -0
  438. package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +8 -0
  439. package/dist/esm/anyspend/react/components/AnySpendNFT.js +25 -0
  440. package/dist/esm/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
  441. package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +16 -0
  442. package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
  443. package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +263 -0
  444. package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +27 -0
  445. package/dist/esm/anyspend/react/components/AnySpendTournament.js +15 -0
  446. package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
  447. package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +4 -0
  448. package/dist/esm/anyspend/react/components/common/HowItWorks.d.ts +10 -0
  449. package/dist/esm/anyspend/react/components/common/HowItWorks.js +4 -0
  450. package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +14 -0
  451. package/dist/esm/anyspend/react/components/common/OrderDetails.js +385 -0
  452. package/dist/esm/anyspend/react/components/common/OrderHistory.d.ts +7 -0
  453. package/dist/esm/anyspend/react/components/common/OrderHistory.js +18 -0
  454. package/dist/esm/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
  455. package/dist/esm/anyspend/react/components/common/OrderHistoryItem.js +32 -0
  456. package/dist/esm/anyspend/react/components/common/OrderStatus.d.ts +4 -0
  457. package/dist/esm/anyspend/react/components/common/OrderStatus.js +11 -0
  458. package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +11 -0
  459. package/dist/esm/anyspend/react/components/common/OrderToken.js +56 -0
  460. package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
  461. package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +47 -0
  462. package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
  463. package/dist/esm/anyspend/react/components/common/PanelOnramp.js +40 -0
  464. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
  465. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +118 -0
  466. package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
  467. package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +12 -0
  468. package/dist/esm/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
  469. package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +21 -0
  470. package/dist/esm/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
  471. package/dist/esm/anyspend/react/components/common/PaymentOptions.js +4 -0
  472. package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
  473. package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +147 -0
  474. package/dist/esm/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
  475. package/dist/esm/anyspend/react/components/common/PaymentVendorUI.js +17 -0
  476. package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +6 -0
  477. package/dist/esm/anyspend/react/components/common/TokenBalance.js +18 -0
  478. package/dist/esm/anyspend/react/components/icons/EthIcon.d.ts +3 -0
  479. package/dist/esm/anyspend/react/components/icons/EthIcon.js +4 -0
  480. package/dist/esm/anyspend/react/components/icons/SolIcon.d.ts +3 -0
  481. package/dist/esm/anyspend/react/components/icons/SolIcon.js +4 -0
  482. package/dist/esm/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
  483. package/dist/esm/anyspend/react/components/icons/USDCIcon.js +4 -0
  484. package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
  485. package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +15 -0
  486. package/dist/esm/anyspend/react/hooks/index.d.ts +13 -0
  487. package/dist/esm/anyspend/react/hooks/index.js +13 -0
  488. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
  489. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +80 -0
  490. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
  491. package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +65 -0
  492. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
  493. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +31 -0
  494. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
  495. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +17 -0
  496. package/dist/esm/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
  497. package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +49 -0
  498. package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
  499. package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +36 -0
  500. package/dist/esm/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
  501. package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +15 -0
  502. package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
  503. package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +16 -0
  504. package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
  505. package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +50 -0
  506. package/dist/esm/anyspend/react/hooks/useGetGeo.d.ts +16 -0
  507. package/dist/esm/anyspend/react/hooks/useGetGeo.js +12 -0
  508. package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +92 -0
  509. package/dist/esm/anyspend/react/hooks/usePermitData.js +154 -0
  510. package/dist/esm/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
  511. package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +15 -0
  512. package/dist/esm/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
  513. package/dist/esm/anyspend/react/hooks/useStripeSupport.js +17 -0
  514. package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
  515. package/dist/esm/anyspend/react/providers/AnyspendProvider.js +38 -0
  516. package/dist/esm/anyspend/services/anyspend.d.ts +372 -0
  517. package/dist/esm/anyspend/services/anyspend.js +120 -0
  518. package/dist/esm/anyspend/types/chain.d.ts +26 -0
  519. package/dist/esm/anyspend/types/chain.js +5 -0
  520. package/dist/esm/anyspend/types/custom.d.ts +130 -0
  521. package/dist/esm/anyspend/types/custom.js +13 -0
  522. package/dist/esm/anyspend/types/globalWallet.d.ts +18 -0
  523. package/dist/esm/anyspend/types/globalWallet.js +7 -0
  524. package/dist/esm/anyspend/types/index.d.ts +13 -0
  525. package/dist/esm/anyspend/types/index.js +13 -0
  526. package/dist/esm/anyspend/types/nft.d.ts +267 -0
  527. package/dist/esm/anyspend/types/nft.js +33 -0
  528. package/dist/esm/anyspend/types/onramp.d.ts +25 -0
  529. package/dist/esm/anyspend/types/onramp.js +14 -0
  530. package/dist/esm/anyspend/types/order.d.ts +1771 -0
  531. package/dist/esm/anyspend/types/order.js +82 -0
  532. package/dist/esm/anyspend/types/permit.d.ts +21 -0
  533. package/dist/esm/anyspend/types/permit.js +8 -0
  534. package/dist/esm/anyspend/types/relay.d.ts +10 -0
  535. package/dist/esm/anyspend/types/relay.js +9 -0
  536. package/dist/esm/anyspend/types/req-res/createOrder.d.ts +4113 -0
  537. package/dist/esm/anyspend/types/req-res/createOrder.js +57 -0
  538. package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
  539. package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +28 -0
  540. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
  541. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +20 -0
  542. package/dist/esm/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
  543. package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +8 -0
  544. package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
  545. package/dist/esm/anyspend/types/req-res/getOrderHistory.js +8 -0
  546. package/dist/esm/anyspend/types/req-res/getQuote.d.ts +253 -0
  547. package/dist/esm/anyspend/types/req-res/getQuote.js +43 -0
  548. package/dist/esm/anyspend/types/req-res/getTokenList.d.ts +63 -0
  549. package/dist/esm/anyspend/types/req-res/getTokenList.js +15 -0
  550. package/dist/esm/anyspend/types/req-res/index.d.ts +8 -0
  551. package/dist/esm/anyspend/types/req-res/index.js +8 -0
  552. package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +66 -0
  553. package/dist/esm/anyspend/types/req-res/sendPermitData.js +8 -0
  554. package/dist/esm/anyspend/types/req-res/stripe.d.ts +0 -0
  555. package/dist/esm/anyspend/types/req-res/stripe.js +1 -0
  556. package/dist/esm/anyspend/types/swap.d.ts +119 -0
  557. package/dist/esm/anyspend/types/swap.js +10 -0
  558. package/dist/esm/anyspend/types/token.d.ts +34 -0
  559. package/dist/esm/anyspend/types/token.js +11 -0
  560. package/dist/esm/anyspend/types/tournament.d.ts +174 -0
  561. package/dist/esm/anyspend/types/tournament.js +21 -0
  562. package/dist/esm/anyspend/types/transaction.d.ts +84 -0
  563. package/dist/esm/anyspend/types/transaction.js +31 -0
  564. package/dist/esm/anyspend/utils/address.d.ts +4 -0
  565. package/dist/esm/anyspend/utils/address.js +23 -0
  566. package/dist/esm/anyspend/utils/chain.d.ts +25 -0
  567. package/dist/esm/anyspend/utils/chain.js +271 -0
  568. package/dist/esm/anyspend/utils/format.d.ts +6 -0
  569. package/dist/esm/anyspend/utils/format.js +54 -0
  570. package/dist/esm/anyspend/utils/index.d.ts +8 -0
  571. package/dist/esm/anyspend/utils/index.js +8 -0
  572. package/dist/esm/anyspend/utils/json.d.ts +1 -0
  573. package/dist/esm/anyspend/utils/json.js +3 -0
  574. package/dist/esm/anyspend/utils/number.d.ts +13 -0
  575. package/dist/esm/anyspend/utils/number.js +79 -0
  576. package/dist/esm/anyspend/utils/orderPayload.d.ts +127 -0
  577. package/dist/esm/anyspend/utils/orderPayload.js +51 -0
  578. package/dist/esm/anyspend/utils/string.d.ts +1 -0
  579. package/dist/esm/anyspend/utils/string.js +5 -0
  580. package/dist/esm/anyspend/utils/token.d.ts +7 -0
  581. package/dist/esm/anyspend/utils/token.js +65 -0
  582. package/dist/esm/generated/chain-networks.json +483 -0
  583. package/dist/esm/global-account/app.d.ts +4 -0
  584. package/dist/esm/global-account/app.js +57 -0
  585. package/dist/esm/global-account/app.native.d.ts +5 -0
  586. package/dist/esm/global-account/app.native.js +83 -0
  587. package/dist/esm/global-account/bsmnt.d.ts +4 -0
  588. package/dist/esm/global-account/bsmnt.js +61 -0
  589. package/dist/esm/global-account/bsmnt.native.d.ts +5 -0
  590. package/dist/esm/global-account/bsmnt.native.js +86 -0
  591. package/dist/esm/global-account/index.d.ts +9 -0
  592. package/dist/esm/global-account/index.js +11 -0
  593. package/dist/esm/global-account/index.native.d.ts +3 -0
  594. package/dist/esm/global-account/index.native.js +11 -0
  595. package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
  596. package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.js +10 -0
  597. package/dist/esm/global-account/react/components/B3DynamicModal.d.ts +1 -0
  598. package/dist/esm/global-account/react/components/B3DynamicModal.js +86 -0
  599. package/dist/esm/global-account/react/components/B3Provider.d.ts +53 -0
  600. package/dist/esm/global-account/react/components/B3Provider.js +109 -0
  601. package/dist/esm/global-account/react/components/B3Provider.native.d.ts +46 -0
  602. package/dist/esm/global-account/react/components/B3Provider.native.js +70 -0
  603. package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
  604. package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +79 -0
  605. package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +17 -0
  606. package/dist/esm/global-account/react/components/MintButton/MintButton.js +48 -0
  607. package/dist/esm/global-account/react/components/ProfileAvatar.d.ts +0 -0
  608. package/dist/esm/global-account/react/components/ProfileAvatar.js +127 -0
  609. package/dist/esm/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
  610. package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +26 -0
  611. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
  612. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +77 -0
  613. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
  614. package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +23 -0
  615. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
  616. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +39 -0
  617. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
  618. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +200 -0
  619. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
  620. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +45 -0
  621. package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
  622. package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +6 -0
  623. package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
  624. package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.js +5 -0
  625. package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
  626. package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +6 -0
  627. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
  628. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +82 -0
  629. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
  630. package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +70 -0
  631. package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
  632. package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +50 -0
  633. package/dist/esm/global-account/react/components/StyleRoot.d.ts +4 -0
  634. package/dist/esm/global-account/react/components/StyleRoot.js +7 -0
  635. package/dist/esm/global-account/react/components/Transak/TransakModal.d.ts +1 -0
  636. package/dist/esm/global-account/react/components/Transak/TransakModal.js +107 -0
  637. package/dist/esm/global-account/react/components/custom/Button.d.ts +12 -0
  638. package/dist/esm/global-account/react/components/custom/Button.js +32 -0
  639. package/dist/esm/global-account/react/components/custom/ClientOnly.d.ts +7 -0
  640. package/dist/esm/global-account/react/components/custom/ClientOnly.js +10 -0
  641. package/dist/esm/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
  642. package/dist/esm/global-account/react/components/custom/CopyToClipboard.js +18 -0
  643. package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
  644. package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +21 -0
  645. package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
  646. package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +24 -0
  647. package/dist/esm/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
  648. package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +58 -0
  649. package/dist/esm/global-account/react/components/ui/Loading.d.ts +7 -0
  650. package/dist/esm/global-account/react/components/ui/Loading.js +15 -0
  651. package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +14 -0
  652. package/dist/esm/global-account/react/components/ui/ShinyButton.js +24 -0
  653. package/dist/esm/global-account/react/components/ui/TabSystem.d.ts +30 -0
  654. package/dist/esm/global-account/react/components/ui/TabSystem.js +46 -0
  655. package/dist/esm/global-account/react/components/ui/Tabs.d.ts +9 -0
  656. package/dist/esm/global-account/react/components/ui/Tabs.js +13 -0
  657. package/dist/esm/global-account/react/components/ui/badge.d.ts +9 -0
  658. package/dist/esm/global-account/react/components/ui/badge.js +20 -0
  659. package/dist/esm/global-account/react/components/ui/button.d.ts +11 -0
  660. package/dist/esm/global-account/react/components/ui/button.js +35 -0
  661. package/dist/esm/global-account/react/components/ui/command.d.ts +82 -0
  662. package/dist/esm/global-account/react/components/ui/command.js +30 -0
  663. package/dist/esm/global-account/react/components/ui/dialog.d.ts +30 -0
  664. package/dist/esm/global-account/react/components/ui/dialog.js +26 -0
  665. package/dist/esm/global-account/react/components/ui/drawer.d.ts +22 -0
  666. package/dist/esm/global-account/react/components/ui/drawer.js +26 -0
  667. package/dist/esm/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
  668. package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +142 -0
  669. package/dist/esm/global-account/react/components/ui/glare-card.d.ts +4 -0
  670. package/dist/esm/global-account/react/components/ui/glare-card.js +104 -0
  671. package/dist/esm/global-account/react/components/ui/input.d.ts +5 -0
  672. package/dist/esm/global-account/react/components/ui/input.js +10 -0
  673. package/dist/esm/global-account/react/components/ui/popover.d.ts +6 -0
  674. package/dist/esm/global-account/react/components/ui/popover.js +11 -0
  675. package/dist/esm/global-account/react/components/ui/scroll-area.d.ts +5 -0
  676. package/dist/esm/global-account/react/components/ui/scroll-area.js +10 -0
  677. package/dist/esm/global-account/react/components/ui/skeleton.d.ts +2 -0
  678. package/dist/esm/global-account/react/components/ui/skeleton.js +6 -0
  679. package/dist/esm/global-account/react/components/ui/text-loop.d.ts +11 -0
  680. package/dist/esm/global-account/react/components/ui/text-loop.js +26 -0
  681. package/dist/esm/global-account/react/components/ui/text-shimmer.d.ts +10 -0
  682. package/dist/esm/global-account/react/components/ui/text-shimmer.js +19 -0
  683. package/dist/esm/global-account/react/components/ui/tooltip.d.ts +7 -0
  684. package/dist/esm/global-account/react/components/ui/tooltip.js +11 -0
  685. package/dist/esm/global-account/react/components/ui/transition-panel.d.ts +14 -0
  686. package/dist/esm/global-account/react/components/ui/transition-panel.js +7 -0
  687. package/dist/esm/global-account/react/hooks/useAccountAssets.d.ts +3 -0
  688. package/dist/esm/global-account/react/hooks/useAccountAssets.js +32 -0
  689. package/dist/esm/global-account/react/hooks/useAccountWallet.d.ts +18 -0
  690. package/dist/esm/global-account/react/hooks/useAccountWallet.js +67 -0
  691. package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
  692. package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +50 -0
  693. package/dist/esm/global-account/react/hooks/useAuthentication.d.ts +10 -0
  694. package/dist/esm/global-account/react/hooks/useAuthentication.js +117 -0
  695. package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
  696. package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +67 -0
  697. package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
  698. package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +147 -0
  699. package/dist/esm/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
  700. package/dist/esm/global-account/react/hooks/useBsmntProfile.js +9 -0
  701. package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
  702. package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +70 -0
  703. package/dist/esm/global-account/react/hooks/useClaim.d.ts +16 -0
  704. package/dist/esm/global-account/react/hooks/useClaim.js +46 -0
  705. package/dist/esm/global-account/react/hooks/useConnect.d.ts +9 -0
  706. package/dist/esm/global-account/react/hooks/useConnect.js +49 -0
  707. package/dist/esm/global-account/react/hooks/useExchangeRate.d.ts +12 -0
  708. package/dist/esm/global-account/react/hooks/useExchangeRate.js +27 -0
  709. package/dist/esm/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
  710. package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +71 -0
  711. package/dist/esm/global-account/react/hooks/useGetGeo.d.ts +17 -0
  712. package/dist/esm/global-account/react/hooks/useGetGeo.js +18 -0
  713. package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
  714. package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +66 -0
  715. package/dist/esm/global-account/react/hooks/useHasMounted.d.ts +1 -0
  716. package/dist/esm/global-account/react/hooks/useHasMounted.js +8 -0
  717. package/dist/esm/global-account/react/hooks/useIsMobile.d.ts +2 -0
  718. package/dist/esm/global-account/react/hooks/useIsMobile.js +6 -0
  719. package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  720. package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.js +2 -0
  721. package/dist/esm/global-account/react/hooks/useMediaQuery.d.ts +6 -0
  722. package/dist/esm/global-account/react/hooks/useMediaQuery.js +44 -0
  723. package/dist/esm/global-account/react/hooks/useNativeBalance.d.ts +22 -0
  724. package/dist/esm/global-account/react/hooks/useNativeBalance.js +72 -0
  725. package/dist/esm/global-account/react/hooks/useOnchainName.d.ts +19 -0
  726. package/dist/esm/global-account/react/hooks/useOnchainName.js +187 -0
  727. package/dist/esm/global-account/react/hooks/useOneBalance.d.ts +26 -0
  728. package/dist/esm/global-account/react/hooks/useOneBalance.js +65 -0
  729. package/dist/esm/global-account/react/hooks/useQueryB3.d.ts +25 -0
  730. package/dist/esm/global-account/react/hooks/useQueryB3.js +34 -0
  731. package/dist/esm/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
  732. package/dist/esm/global-account/react/hooks/useQueryBSMNT.js +34 -0
  733. package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
  734. package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +43 -0
  735. package/dist/esm/global-account/react/hooks/useRouter.d.ts +14 -0
  736. package/dist/esm/global-account/react/hooks/useRouter.js +75 -0
  737. package/dist/esm/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
  738. package/dist/esm/global-account/react/hooks/useSearchParamsSSR.js +27 -0
  739. package/dist/esm/global-account/react/hooks/useSiwe.d.ts +4 -0
  740. package/dist/esm/global-account/react/hooks/useSiwe.js +32 -0
  741. package/dist/esm/global-account/react/hooks/useTokenBalance.d.ts +12 -0
  742. package/dist/esm/global-account/react/hooks/useTokenBalance.js +61 -0
  743. package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
  744. package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +55 -0
  745. package/dist/esm/global-account/react/hooks/useTokenData.d.ts +9 -0
  746. package/dist/esm/global-account/react/hooks/useTokenData.js +44 -0
  747. package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
  748. package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +27 -0
  749. package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +17 -0
  750. package/dist/esm/global-account/react/hooks/useTokenPrice.js +45 -0
  751. package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
  752. package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +31 -0
  753. package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
  754. package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +45 -0
  755. package/dist/esm/global-account/react/hooks/useURLParams.d.ts +8 -0
  756. package/dist/esm/global-account/react/hooks/useURLParams.js +32 -0
  757. package/dist/esm/global-account/react/stores/useAuthStore.d.ts +26 -0
  758. package/dist/esm/global-account/react/stores/useAuthStore.js +36 -0
  759. package/dist/esm/global-account/react/stores/useModalStore.d.ts +267 -0
  760. package/dist/esm/global-account/react/stores/useModalStore.js +33 -0
  761. package/dist/esm/global-account/server.d.ts +8 -0
  762. package/dist/esm/global-account/server.js +22 -0
  763. package/dist/esm/global-account/types/b3-api.d.ts +3 -0
  764. package/dist/esm/global-account/types/b3-api.js +3 -0
  765. package/dist/esm/global-account/types/b3-api.types.d.ts +51 -0
  766. package/dist/esm/global-account/types/b3-api.types.js +3 -0
  767. package/dist/esm/global-account/types/chain-networks.d.ts +44 -0
  768. package/dist/esm/global-account/types/chain-networks.js +45 -0
  769. package/dist/esm/global-account/types/feature-flags.d.ts +8 -0
  770. package/dist/esm/global-account/types/feature-flags.js +7 -0
  771. package/dist/esm/global-account/types/permissions.d.ts +21 -0
  772. package/dist/esm/global-account/types/permissions.js +1 -0
  773. package/dist/esm/global-account/types/reservoir.types.d.ts +89 -0
  774. package/dist/esm/global-account/types/reservoir.types.js +1 -0
  775. package/dist/esm/global-account/types/simplehash.types.d.ts +292 -0
  776. package/dist/esm/global-account/types/simplehash.types.js +1 -0
  777. package/dist/esm/global-account/types.d.ts +19 -0
  778. package/dist/esm/global-account/types.js +1 -0
  779. package/dist/esm/shared/constants/chains/b3Chain.d.ts +144 -0
  780. package/dist/esm/shared/constants/chains/b3Chain.js +161 -0
  781. package/dist/esm/shared/constants/chains/chainPlatformMap.d.ts +24 -0
  782. package/dist/esm/shared/constants/chains/chainPlatformMap.js +43 -0
  783. package/dist/esm/shared/constants/chains/supported.d.ts +53 -0
  784. package/dist/esm/shared/constants/chains/supported.js +25 -0
  785. package/dist/esm/shared/constants/index.d.ts +15 -0
  786. package/dist/esm/shared/constants/index.js +18 -0
  787. package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
  788. package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +1225 -0
  789. package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +12 -0
  790. package/dist/esm/shared/thirdweb/generated/client.gen.js +3 -0
  791. package/dist/esm/shared/thirdweb/generated/index.d.ts +2 -0
  792. package/dist/esm/shared/thirdweb/generated/index.js +3 -0
  793. package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
  794. package/dist/esm/shared/thirdweb/generated/sdk.gen.js +995 -0
  795. package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +4159 -0
  796. package/dist/esm/shared/thirdweb/generated/types.gen.js +2 -0
  797. package/dist/esm/shared/thirdweb/initiateClient.d.ts +1 -0
  798. package/dist/esm/shared/thirdweb/initiateClient.js +25 -0
  799. package/dist/esm/shared/thirdweb/openapi-ts.config.d.ts +2 -0
  800. package/dist/esm/shared/thirdweb/openapi-ts.config.js +6 -0
  801. package/dist/esm/shared/utils/b3Ens.d.ts +5 -0
  802. package/dist/esm/shared/utils/b3Ens.js +23 -0
  803. package/dist/esm/shared/utils/centerTruncate.d.ts +1 -0
  804. package/dist/esm/shared/utils/centerTruncate.js +11 -0
  805. package/dist/esm/shared/utils/chain-transformers.d.ts +5 -0
  806. package/dist/esm/shared/utils/chain-transformers.js +46 -0
  807. package/dist/esm/shared/utils/chains.d.ts +6 -0
  808. package/dist/esm/shared/utils/chains.js +31 -0
  809. package/dist/esm/shared/utils/cn.d.ts +2 -0
  810. package/dist/esm/shared/utils/cn.js +5 -0
  811. package/dist/esm/shared/utils/colors.d.ts +2 -0
  812. package/dist/esm/shared/utils/colors.js +29 -0
  813. package/dist/esm/shared/utils/cookies.d.ts +3 -0
  814. package/dist/esm/shared/utils/cookies.js +12 -0
  815. package/dist/esm/shared/utils/debug.d.ts +4 -0
  816. package/dist/esm/shared/utils/debug.js +13 -0
  817. package/dist/esm/shared/utils/fetchBalances.d.ts +16 -0
  818. package/dist/esm/shared/utils/fetchBalances.js +60 -0
  819. package/dist/esm/shared/utils/fetchBsmntProfile.d.ts +1 -0
  820. package/dist/esm/shared/utils/fetchBsmntProfile.js +23 -0
  821. package/dist/esm/shared/utils/formatAddress.d.ts +2 -0
  822. package/dist/esm/shared/utils/formatAddress.js +14 -0
  823. package/dist/esm/shared/utils/formatNumber.d.ts +7 -0
  824. package/dist/esm/shared/utils/formatNumber.js +45 -0
  825. package/dist/esm/shared/utils/index.d.ts +2 -0
  826. package/dist/esm/shared/utils/index.js +6 -0
  827. package/dist/esm/shared/utils/insights.d.ts +7 -0
  828. package/dist/esm/shared/utils/insights.js +381 -0
  829. package/dist/esm/shared/utils/ipfs.d.ts +12 -0
  830. package/dist/esm/shared/utils/ipfs.js +29 -0
  831. package/dist/esm/shared/utils/number.d.ts +11 -0
  832. package/dist/esm/shared/utils/number.js +102 -0
  833. package/dist/esm/shared/utils/payment.utils.d.ts +5 -0
  834. package/dist/esm/shared/utils/payment.utils.js +30 -0
  835. package/dist/esm/shared/utils/simplehash.d.ts +12 -0
  836. package/dist/esm/shared/utils/simplehash.js +286 -0
  837. package/dist/esm/shared/utils/sprinter.d.ts +1 -0
  838. package/dist/esm/shared/utils/sprinter.js +11 -0
  839. package/dist/esm/shared/utils/thirdweb-insights.d.ts +105 -0
  840. package/dist/esm/shared/utils/thirdweb-insights.js +192 -0
  841. package/dist/esm/shared/utils/thirdweb.d.ts +1 -0
  842. package/dist/esm/shared/utils/thirdweb.js +8 -0
  843. package/dist/esm/styles/index.d.ts +20 -0
  844. package/dist/esm/styles/index.js +20 -0
  845. package/dist/styles/index.css +1 -0
  846. package/dist/types/anyspend/abis/abi-usdc-base.d.ts +1074 -0
  847. package/dist/types/anyspend/abis/erc20-staking.d.ts +540 -0
  848. package/dist/types/anyspend/constants/index.d.ts +28 -0
  849. package/dist/types/anyspend/index.d.ts +13 -0
  850. package/dist/types/anyspend/react/components/AnySpend.d.ts +22 -0
  851. package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
  852. package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +22 -0
  853. package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +8 -0
  854. package/dist/types/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
  855. package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
  856. package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +27 -0
  857. package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
  858. package/dist/types/anyspend/react/components/common/HowItWorks.d.ts +10 -0
  859. package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +14 -0
  860. package/dist/types/anyspend/react/components/common/OrderHistory.d.ts +7 -0
  861. package/dist/types/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
  862. package/dist/types/anyspend/react/components/common/OrderStatus.d.ts +4 -0
  863. package/dist/types/anyspend/react/components/common/OrderToken.d.ts +11 -0
  864. package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
  865. package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
  866. package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
  867. package/dist/types/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
  868. package/dist/types/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
  869. package/dist/types/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
  870. package/dist/types/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
  871. package/dist/types/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
  872. package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +6 -0
  873. package/dist/types/anyspend/react/components/icons/EthIcon.d.ts +3 -0
  874. package/dist/types/anyspend/react/components/icons/SolIcon.d.ts +3 -0
  875. package/dist/types/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
  876. package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
  877. package/dist/types/anyspend/react/hooks/index.d.ts +13 -0
  878. package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
  879. package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
  880. package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
  881. package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
  882. package/dist/types/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
  883. package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
  884. package/dist/types/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
  885. package/dist/types/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
  886. package/dist/types/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
  887. package/dist/types/anyspend/react/hooks/useGetGeo.d.ts +16 -0
  888. package/dist/types/anyspend/react/hooks/usePermitData.d.ts +92 -0
  889. package/dist/types/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
  890. package/dist/types/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
  891. package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
  892. package/dist/types/anyspend/services/anyspend.d.ts +372 -0
  893. package/dist/types/anyspend/types/chain.d.ts +26 -0
  894. package/dist/types/anyspend/types/custom.d.ts +130 -0
  895. package/dist/types/anyspend/types/globalWallet.d.ts +18 -0
  896. package/dist/types/anyspend/types/index.d.ts +13 -0
  897. package/dist/types/anyspend/types/nft.d.ts +267 -0
  898. package/dist/types/anyspend/types/onramp.d.ts +25 -0
  899. package/dist/types/anyspend/types/order.d.ts +1771 -0
  900. package/dist/types/anyspend/types/permit.d.ts +21 -0
  901. package/dist/types/anyspend/types/relay.d.ts +10 -0
  902. package/dist/types/anyspend/types/req-res/createOrder.d.ts +4113 -0
  903. package/dist/types/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
  904. package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
  905. package/dist/types/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
  906. package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
  907. package/dist/types/anyspend/types/req-res/getQuote.d.ts +253 -0
  908. package/dist/types/anyspend/types/req-res/getTokenList.d.ts +63 -0
  909. package/dist/types/anyspend/types/req-res/index.d.ts +8 -0
  910. package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +66 -0
  911. package/dist/types/anyspend/types/req-res/stripe.d.ts +0 -0
  912. package/dist/types/anyspend/types/swap.d.ts +119 -0
  913. package/dist/types/anyspend/types/token.d.ts +34 -0
  914. package/dist/types/anyspend/types/tournament.d.ts +174 -0
  915. package/dist/types/anyspend/types/transaction.d.ts +84 -0
  916. package/dist/types/anyspend/utils/address.d.ts +4 -0
  917. package/dist/types/anyspend/utils/chain.d.ts +25 -0
  918. package/dist/types/anyspend/utils/format.d.ts +6 -0
  919. package/dist/types/anyspend/utils/index.d.ts +8 -0
  920. package/dist/types/anyspend/utils/json.d.ts +1 -0
  921. package/dist/types/anyspend/utils/number.d.ts +13 -0
  922. package/dist/types/anyspend/utils/orderPayload.d.ts +127 -0
  923. package/dist/types/anyspend/utils/string.d.ts +1 -0
  924. package/dist/types/anyspend/utils/token.d.ts +7 -0
  925. package/dist/types/global-account/app.d.ts +4 -0
  926. package/dist/types/global-account/app.native.d.ts +5 -0
  927. package/dist/types/global-account/bsmnt.d.ts +4 -0
  928. package/dist/types/global-account/bsmnt.native.d.ts +5 -0
  929. package/dist/types/global-account/index.d.ts +9 -0
  930. package/dist/types/global-account/index.native.d.ts +3 -0
  931. package/dist/types/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
  932. package/dist/types/global-account/react/components/B3DynamicModal.d.ts +1 -0
  933. package/dist/types/global-account/react/components/B3Provider.d.ts +53 -0
  934. package/dist/types/global-account/react/components/B3Provider.native.d.ts +46 -0
  935. package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
  936. package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +17 -0
  937. package/dist/types/global-account/react/components/ProfileAvatar.d.ts +0 -0
  938. package/dist/types/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
  939. package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
  940. package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
  941. package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
  942. package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
  943. package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
  944. package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
  945. package/dist/types/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
  946. package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
  947. package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
  948. package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
  949. package/dist/types/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
  950. package/dist/types/global-account/react/components/StyleRoot.d.ts +4 -0
  951. package/dist/types/global-account/react/components/Transak/TransakModal.d.ts +1 -0
  952. package/dist/types/global-account/react/components/custom/Button.d.ts +12 -0
  953. package/dist/types/global-account/react/components/custom/ClientOnly.d.ts +7 -0
  954. package/dist/types/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
  955. package/dist/types/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
  956. package/dist/types/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
  957. package/dist/types/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
  958. package/dist/types/global-account/react/components/ui/Loading.d.ts +7 -0
  959. package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +14 -0
  960. package/dist/types/global-account/react/components/ui/TabSystem.d.ts +30 -0
  961. package/dist/types/global-account/react/components/ui/Tabs.d.ts +9 -0
  962. package/dist/types/global-account/react/components/ui/badge.d.ts +9 -0
  963. package/dist/types/global-account/react/components/ui/button.d.ts +11 -0
  964. package/dist/types/global-account/react/components/ui/command.d.ts +82 -0
  965. package/dist/types/global-account/react/components/ui/dialog.d.ts +30 -0
  966. package/dist/types/global-account/react/components/ui/drawer.d.ts +22 -0
  967. package/dist/types/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
  968. package/dist/types/global-account/react/components/ui/glare-card.d.ts +4 -0
  969. package/dist/types/global-account/react/components/ui/input.d.ts +5 -0
  970. package/dist/types/global-account/react/components/ui/popover.d.ts +6 -0
  971. package/dist/types/global-account/react/components/ui/scroll-area.d.ts +5 -0
  972. package/dist/types/global-account/react/components/ui/skeleton.d.ts +2 -0
  973. package/dist/types/global-account/react/components/ui/text-loop.d.ts +11 -0
  974. package/dist/types/global-account/react/components/ui/text-shimmer.d.ts +10 -0
  975. package/dist/types/global-account/react/components/ui/tooltip.d.ts +7 -0
  976. package/dist/types/global-account/react/components/ui/transition-panel.d.ts +14 -0
  977. package/dist/types/global-account/react/hooks/useAccountAssets.d.ts +3 -0
  978. package/dist/types/global-account/react/hooks/useAccountWallet.d.ts +18 -0
  979. package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
  980. package/dist/types/global-account/react/hooks/useAuthentication.d.ts +10 -0
  981. package/dist/types/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
  982. package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
  983. package/dist/types/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
  984. package/dist/types/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
  985. package/dist/types/global-account/react/hooks/useClaim.d.ts +16 -0
  986. package/dist/types/global-account/react/hooks/useConnect.d.ts +9 -0
  987. package/dist/types/global-account/react/hooks/useExchangeRate.d.ts +12 -0
  988. package/dist/types/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
  989. package/dist/types/global-account/react/hooks/useGetGeo.d.ts +17 -0
  990. package/dist/types/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
  991. package/dist/types/global-account/react/hooks/useHasMounted.d.ts +1 -0
  992. package/dist/types/global-account/react/hooks/useIsMobile.d.ts +2 -0
  993. package/dist/types/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  994. package/dist/types/global-account/react/hooks/useMediaQuery.d.ts +6 -0
  995. package/dist/types/global-account/react/hooks/useNativeBalance.d.ts +22 -0
  996. package/dist/types/global-account/react/hooks/useOnchainName.d.ts +19 -0
  997. package/dist/types/global-account/react/hooks/useOneBalance.d.ts +26 -0
  998. package/dist/types/global-account/react/hooks/useQueryB3.d.ts +25 -0
  999. package/dist/types/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
  1000. package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
  1001. package/dist/types/global-account/react/hooks/useRouter.d.ts +14 -0
  1002. package/dist/types/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
  1003. package/dist/types/global-account/react/hooks/useSiwe.d.ts +4 -0
  1004. package/dist/types/global-account/react/hooks/useTokenBalance.d.ts +12 -0
  1005. package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
  1006. package/dist/types/global-account/react/hooks/useTokenData.d.ts +9 -0
  1007. package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
  1008. package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +17 -0
  1009. package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
  1010. package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
  1011. package/dist/types/global-account/react/hooks/useURLParams.d.ts +8 -0
  1012. package/dist/types/global-account/react/stores/useAuthStore.d.ts +26 -0
  1013. package/dist/types/global-account/react/stores/useModalStore.d.ts +267 -0
  1014. package/dist/types/global-account/server.d.ts +8 -0
  1015. package/dist/types/global-account/types/b3-api.d.ts +3 -0
  1016. package/dist/types/global-account/types/b3-api.types.d.ts +51 -0
  1017. package/dist/types/global-account/types/chain-networks.d.ts +44 -0
  1018. package/dist/types/global-account/types/feature-flags.d.ts +8 -0
  1019. package/dist/types/global-account/types/permissions.d.ts +21 -0
  1020. package/dist/types/global-account/types/reservoir.types.d.ts +89 -0
  1021. package/dist/types/global-account/types/simplehash.types.d.ts +292 -0
  1022. package/dist/types/global-account/types.d.ts +19 -0
  1023. package/dist/types/shared/constants/chains/b3Chain.d.ts +144 -0
  1024. package/dist/types/shared/constants/chains/chainPlatformMap.d.ts +24 -0
  1025. package/dist/types/shared/constants/chains/supported.d.ts +53 -0
  1026. package/dist/types/shared/constants/index.d.ts +15 -0
  1027. package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
  1028. package/dist/types/shared/thirdweb/generated/client.gen.d.ts +12 -0
  1029. package/dist/types/shared/thirdweb/generated/index.d.ts +2 -0
  1030. package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
  1031. package/dist/types/shared/thirdweb/generated/types.gen.d.ts +4159 -0
  1032. package/dist/types/shared/thirdweb/initiateClient.d.ts +1 -0
  1033. package/dist/types/shared/thirdweb/openapi-ts.config.d.ts +2 -0
  1034. package/dist/types/shared/utils/b3Ens.d.ts +5 -0
  1035. package/dist/types/shared/utils/centerTruncate.d.ts +1 -0
  1036. package/dist/types/shared/utils/chain-transformers.d.ts +5 -0
  1037. package/dist/types/shared/utils/chains.d.ts +6 -0
  1038. package/dist/types/shared/utils/cn.d.ts +2 -0
  1039. package/dist/types/shared/utils/colors.d.ts +2 -0
  1040. package/dist/types/shared/utils/cookies.d.ts +3 -0
  1041. package/dist/types/shared/utils/debug.d.ts +4 -0
  1042. package/dist/types/shared/utils/fetchBalances.d.ts +16 -0
  1043. package/dist/types/shared/utils/fetchBsmntProfile.d.ts +1 -0
  1044. package/dist/types/shared/utils/formatAddress.d.ts +2 -0
  1045. package/dist/types/shared/utils/formatNumber.d.ts +7 -0
  1046. package/dist/types/shared/utils/index.d.ts +2 -0
  1047. package/dist/types/shared/utils/insights.d.ts +7 -0
  1048. package/dist/types/shared/utils/ipfs.d.ts +12 -0
  1049. package/dist/types/shared/utils/number.d.ts +11 -0
  1050. package/dist/types/shared/utils/payment.utils.d.ts +5 -0
  1051. package/dist/types/shared/utils/simplehash.d.ts +12 -0
  1052. package/dist/types/shared/utils/sprinter.d.ts +1 -0
  1053. package/dist/types/shared/utils/thirdweb-insights.d.ts +105 -0
  1054. package/dist/types/shared/utils/thirdweb.d.ts +1 -0
  1055. package/dist/types/styles/index.d.ts +20 -0
  1056. package/package.json +340 -0
  1057. package/src/anyspend/abis/abi-usdc-base.ts +600 -0
  1058. package/src/anyspend/abis/erc20-staking.ts +299 -0
  1059. package/src/anyspend/constants/index.ts +88 -0
  1060. package/src/anyspend/index.ts +24 -0
  1061. package/src/anyspend/react/components/AnySpend.tsx +1144 -0
  1062. package/src/anyspend/react/components/AnySpendBuySpin.tsx +623 -0
  1063. package/src/anyspend/react/components/AnySpendCustom.tsx +812 -0
  1064. package/src/anyspend/react/components/AnySpendNFT.tsx +134 -0
  1065. package/src/anyspend/react/components/AnySpendNFTButton.tsx +33 -0
  1066. package/src/anyspend/react/components/AnySpendStakeB3.tsx +491 -0
  1067. package/src/anyspend/react/components/AnySpendTournament.tsx +109 -0
  1068. package/src/anyspend/react/components/common/ChainTokenIcon.tsx +18 -0
  1069. package/src/anyspend/react/components/common/HowItWorks.tsx +37 -0
  1070. package/src/anyspend/react/components/common/OrderDetails.tsx +1195 -0
  1071. package/src/anyspend/react/components/common/OrderHistory.tsx +64 -0
  1072. package/src/anyspend/react/components/common/OrderHistoryItem.tsx +189 -0
  1073. package/src/anyspend/react/components/common/OrderStatus.tsx +39 -0
  1074. package/src/anyspend/react/components/common/OrderToken.tsx +132 -0
  1075. package/src/anyspend/react/components/common/OrderTokenAmount.tsx +168 -0
  1076. package/src/anyspend/react/components/common/PanelOnramp.tsx +108 -0
  1077. package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +354 -0
  1078. package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +22 -0
  1079. package/src/anyspend/react/components/common/PaymentOneClick.tsx +42 -0
  1080. package/src/anyspend/react/components/common/PaymentOptions.tsx +36 -0
  1081. package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +368 -0
  1082. package/src/anyspend/react/components/common/PaymentVendorUI.tsx +26 -0
  1083. package/src/anyspend/react/components/common/TokenBalance.tsx +63 -0
  1084. package/src/anyspend/react/components/icons/EthIcon.tsx +31 -0
  1085. package/src/anyspend/react/components/icons/SolIcon.tsx +39 -0
  1086. package/src/anyspend/react/components/icons/USDCIcon.tsx +19 -0
  1087. package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +50 -0
  1088. package/src/anyspend/react/hooks/index.ts +13 -0
  1089. package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +131 -0
  1090. package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +102 -0
  1091. package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +36 -0
  1092. package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +29 -0
  1093. package/src/anyspend/react/hooks/useAnyspendQuote.ts +58 -0
  1094. package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +38 -0
  1095. package/src/anyspend/react/hooks/useAnyspendTokens.ts +24 -0
  1096. package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +21 -0
  1097. package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +58 -0
  1098. package/src/anyspend/react/hooks/useGetGeo.ts +31 -0
  1099. package/src/anyspend/react/hooks/usePermitData.ts +183 -0
  1100. package/src/anyspend/react/hooks/useStripeClientSecret.ts +20 -0
  1101. package/src/anyspend/react/hooks/useStripeSupport.ts +22 -0
  1102. package/src/anyspend/react/providers/AnyspendProvider.tsx +45 -0
  1103. package/src/anyspend/services/anyspend.ts +191 -0
  1104. package/src/anyspend/types/chain.ts +30 -0
  1105. package/src/anyspend/types/custom.ts +17 -0
  1106. package/src/anyspend/types/globalWallet.ts +9 -0
  1107. package/src/anyspend/types/index.ts +14 -0
  1108. package/src/anyspend/types/nft.ts +50 -0
  1109. package/src/anyspend/types/onramp.ts +15 -0
  1110. package/src/anyspend/types/order.ts +94 -0
  1111. package/src/anyspend/types/permit.ts +10 -0
  1112. package/src/anyspend/types/relay.ts +13 -0
  1113. package/src/anyspend/types/req-res/createOrder.ts +66 -0
  1114. package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +34 -0
  1115. package/src/anyspend/types/req-res/getOrderAndTransactions.ts +23 -0
  1116. package/src/anyspend/types/req-res/getOrderByCreator.ts +9 -0
  1117. package/src/anyspend/types/req-res/getOrderHistory.ts +9 -0
  1118. package/src/anyspend/types/req-res/getQuote.ts +60 -0
  1119. package/src/anyspend/types/req-res/getTokenList.ts +18 -0
  1120. package/src/anyspend/types/req-res/index.ts +8 -0
  1121. package/src/anyspend/types/req-res/sendPermitData.ts +10 -0
  1122. package/src/anyspend/types/req-res/stripe.ts +0 -0
  1123. package/src/anyspend/types/swap.ts +12 -0
  1124. package/src/anyspend/types/token.ts +13 -0
  1125. package/src/anyspend/types/tournament.ts +26 -0
  1126. package/src/anyspend/types/transaction.ts +39 -0
  1127. package/src/anyspend/utils/address.ts +25 -0
  1128. package/src/anyspend/utils/chain.ts +342 -0
  1129. package/src/anyspend/utils/format.ts +64 -0
  1130. package/src/anyspend/utils/index.ts +8 -0
  1131. package/src/anyspend/utils/json.ts +3 -0
  1132. package/src/anyspend/utils/number.ts +93 -0
  1133. package/src/anyspend/utils/orderPayload.ts +63 -0
  1134. package/src/anyspend/utils/string.ts +4 -0
  1135. package/src/anyspend/utils/token.ts +72 -0
  1136. package/src/generated/chain-networks.json +483 -0
  1137. package/src/global-account/app.native.ts +105 -0
  1138. package/src/global-account/app.ts +68 -0
  1139. package/src/global-account/bsmnt.native.ts +108 -0
  1140. package/src/global-account/bsmnt.ts +73 -0
  1141. package/src/global-account/index.native.ts +17 -0
  1142. package/src/global-account/index.ts +17 -0
  1143. package/src/global-account/react/components/AccountAssets/AccountAssets.tsx +48 -0
  1144. package/src/global-account/react/components/B3DynamicModal.tsx +118 -0
  1145. package/src/global-account/react/components/B3Provider.native.tsx +141 -0
  1146. package/src/global-account/react/components/B3Provider.tsx +201 -0
  1147. package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +242 -0
  1148. package/src/global-account/react/components/MintButton/MintButton.tsx +83 -0
  1149. package/src/global-account/react/components/ProfileAvatar.tsx +138 -0
  1150. package/src/global-account/react/components/RelayKitProviderWrapper.tsx +34 -0
  1151. package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +167 -0
  1152. package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +51 -0
  1153. package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +93 -0
  1154. package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +255 -0
  1155. package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +60 -0
  1156. package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +23 -0
  1157. package/src/global-account/react/components/SignInWithB3/components/PermissionItem.tsx +22 -0
  1158. package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +32 -0
  1159. package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +135 -0
  1160. package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +148 -0
  1161. package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +70 -0
  1162. package/src/global-account/react/components/StyleRoot.tsx +12 -0
  1163. package/src/global-account/react/components/Transak/TransakModal.tsx +134 -0
  1164. package/src/global-account/react/components/custom/Button.tsx +54 -0
  1165. package/src/global-account/react/components/custom/ClientOnly.tsx +20 -0
  1166. package/src/global-account/react/components/custom/CopyToClipboard.tsx +47 -0
  1167. package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +43 -0
  1168. package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +32 -0
  1169. package/src/global-account/react/components/magicui/AnimatedLottie.tsx +106 -0
  1170. package/src/global-account/react/components/ui/Loading.tsx +27 -0
  1171. package/src/global-account/react/components/ui/ShinyButton.tsx +82 -0
  1172. package/src/global-account/react/components/ui/TabSystem.tsx +157 -0
  1173. package/src/global-account/react/components/ui/Tabs.tsx +56 -0
  1174. package/src/global-account/react/components/ui/badge.tsx +30 -0
  1175. package/src/global-account/react/components/ui/button.tsx +57 -0
  1176. package/src/global-account/react/components/ui/command.tsx +140 -0
  1177. package/src/global-account/react/components/ui/dialog.tsx +131 -0
  1178. package/src/global-account/react/components/ui/drawer.tsx +97 -0
  1179. package/src/global-account/react/components/ui/glare-card-rounded.tsx +182 -0
  1180. package/src/global-account/react/components/ui/glare-card.tsx +138 -0
  1181. package/src/global-account/react/components/ui/input.tsx +25 -0
  1182. package/src/global-account/react/components/ui/popover.tsx +34 -0
  1183. package/src/global-account/react/components/ui/scroll-area.tsx +40 -0
  1184. package/src/global-account/react/components/ui/skeleton.tsx +7 -0
  1185. package/src/global-account/react/components/ui/text-loop.tsx +61 -0
  1186. package/src/global-account/react/components/ui/text-shimmer.tsx +47 -0
  1187. package/src/global-account/react/components/ui/tooltip.tsx +34 -0
  1188. package/src/global-account/react/components/ui/transition-panel.tsx +38 -0
  1189. package/src/global-account/react/hooks/useAccountAssets.ts +34 -0
  1190. package/src/global-account/react/hooks/useAccountWallet.tsx +110 -0
  1191. package/src/global-account/react/hooks/useAddTWSessionKey.tsx +85 -0
  1192. package/src/global-account/react/hooks/useAuthentication.ts +127 -0
  1193. package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +91 -0
  1194. package/src/global-account/react/hooks/useBestTransactionPath.tsx +202 -0
  1195. package/src/global-account/react/hooks/useBsmntProfile.ts +14 -0
  1196. package/src/global-account/react/hooks/useChainSwitchWithAction.ts +79 -0
  1197. package/src/global-account/react/hooks/useClaim.tsx +66 -0
  1198. package/src/global-account/react/hooks/useConnect.tsx +60 -0
  1199. package/src/global-account/react/hooks/useExchangeRate.tsx +43 -0
  1200. package/src/global-account/react/hooks/useGetAllTWSigners.tsx +139 -0
  1201. package/src/global-account/react/hooks/useGetGeo.tsx +40 -0
  1202. package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +78 -0
  1203. package/src/global-account/react/hooks/useHasMounted.ts +11 -0
  1204. package/src/global-account/react/hooks/useIsMobile.tsx +9 -0
  1205. package/src/global-account/react/hooks/useIsomorphicLayoutEffect.tsx +3 -0
  1206. package/src/global-account/react/hooks/useMediaQuery.tsx +60 -0
  1207. package/src/global-account/react/hooks/useNativeBalance.tsx +90 -0
  1208. package/src/global-account/react/hooks/useOnchainName.tsx +198 -0
  1209. package/src/global-account/react/hooks/useOneBalance.tsx +95 -0
  1210. package/src/global-account/react/hooks/useQueryB3.ts +72 -0
  1211. package/src/global-account/react/hooks/useQueryBSMNT.ts +72 -0
  1212. package/src/global-account/react/hooks/useRemoveSessionKey.tsx +69 -0
  1213. package/src/global-account/react/hooks/useRouter.tsx +103 -0
  1214. package/src/global-account/react/hooks/useSearchParamsSSR.tsx +34 -0
  1215. package/src/global-account/react/hooks/useSiwe.tsx +39 -0
  1216. package/src/global-account/react/hooks/useTokenBalance.tsx +85 -0
  1217. package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +93 -0
  1218. package/src/global-account/react/hooks/useTokenData.ts +56 -0
  1219. package/src/global-account/react/hooks/useTokenFromUrl.tsx +46 -0
  1220. package/src/global-account/react/hooks/useTokenPrice.tsx +85 -0
  1221. package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +58 -0
  1222. package/src/global-account/react/hooks/useTokensFromAddress.ts +118 -0
  1223. package/src/global-account/react/hooks/useURLParams.ts +43 -0
  1224. package/src/global-account/react/stores/useAuthStore.ts +64 -0
  1225. package/src/global-account/react/stores/useModalStore.ts +325 -0
  1226. package/src/global-account/server.ts +23 -0
  1227. package/src/global-account/types/b3-api.ts +4 -0
  1228. package/src/global-account/types/b3-api.types.ts +83 -0
  1229. package/src/global-account/types/chain-networks.ts +54 -0
  1230. package/src/global-account/types/feature-flags.ts +13 -0
  1231. package/src/global-account/types/permissions.ts +24 -0
  1232. package/src/global-account/types/react-timeago.d.ts +18 -0
  1233. package/src/global-account/types/reservoir.types.ts +94 -0
  1234. package/src/global-account/types/simplehash.types.ts +301 -0
  1235. package/src/global-account/types.ts +24 -0
  1236. package/src/shared/constants/chains/b3Chain.ts +177 -0
  1237. package/src/shared/constants/chains/chainPlatformMap.ts +47 -0
  1238. package/src/shared/constants/chains/supported.ts +33 -0
  1239. package/src/shared/constants/index.ts +26 -0
  1240. package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1363 -0
  1241. package/src/shared/thirdweb/generated/client.gen.ts +16 -0
  1242. package/src/shared/thirdweb/generated/index.ts +3 -0
  1243. package/src/shared/thirdweb/generated/sdk.gen.ts +1051 -0
  1244. package/src/shared/thirdweb/generated/types.gen.ts +4349 -0
  1245. package/src/shared/thirdweb/initiateClient.ts +30 -0
  1246. package/src/shared/thirdweb/insight-service.json +12664 -0
  1247. package/src/shared/thirdweb/openapi-ts.config.ts +7 -0
  1248. package/src/shared/utils/b3Ens.ts +28 -0
  1249. package/src/shared/utils/centerTruncate.ts +12 -0
  1250. package/src/shared/utils/chain-transformers.ts +51 -0
  1251. package/src/shared/utils/chains.ts +38 -0
  1252. package/src/shared/utils/cn.ts +6 -0
  1253. package/src/shared/utils/colors.ts +33 -0
  1254. package/src/shared/utils/cookies.ts +13 -0
  1255. package/src/shared/utils/debug.ts +17 -0
  1256. package/src/shared/utils/fetchBalances.ts +89 -0
  1257. package/src/shared/utils/fetchBsmntProfile.ts +29 -0
  1258. package/src/shared/utils/formatAddress.ts +16 -0
  1259. package/src/shared/utils/formatNumber.ts +43 -0
  1260. package/src/shared/utils/index.ts +7 -0
  1261. package/src/shared/utils/insights.ts +409 -0
  1262. package/src/shared/utils/ipfs.ts +33 -0
  1263. package/src/shared/utils/number.ts +142 -0
  1264. package/src/shared/utils/payment.utils.ts +34 -0
  1265. package/src/shared/utils/simplehash.ts +372 -0
  1266. package/src/shared/utils/sprinter.ts +14 -0
  1267. package/src/shared/utils/thirdweb-insights.ts +338 -0
  1268. package/src/shared/utils/thirdweb.ts +11 -0
  1269. package/src/styles/index.css +279 -0
  1270. package/src/styles/index.ts +24 -0
@@ -0,0 +1,4349 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ export type GetV1WebhooksData = {
4
+ body?: never;
5
+ path?: never;
6
+ query?: {
7
+ /**
8
+ * The webhook ID to request the data for
9
+ */
10
+ webhook_id?: string;
11
+ };
12
+ url: '/v1/webhooks';
13
+ };
14
+
15
+ export type GetV1WebhooksErrors = {
16
+ /**
17
+ * Bad request
18
+ */
19
+ 400: {
20
+ error: string;
21
+ };
22
+ /**
23
+ * Internal server error
24
+ */
25
+ 500: {
26
+ error: string;
27
+ };
28
+ };
29
+
30
+ export type GetV1WebhooksError = GetV1WebhooksErrors[keyof GetV1WebhooksErrors];
31
+
32
+ export type GetV1WebhooksResponses = {
33
+ /**
34
+ * Successful response
35
+ */
36
+ 200: {
37
+ data: Array<{
38
+ id: string;
39
+ team_id: string;
40
+ project_id: string;
41
+ name: string | null;
42
+ webhook_url: string;
43
+ webhook_secret: string;
44
+ filters: string | number | boolean | unknown | {
45
+ [key: string]: unknown;
46
+ } | Array<unknown>;
47
+ suspended_at: string | null;
48
+ suspended_reason: string | null;
49
+ disabled: boolean;
50
+ created_at: string;
51
+ updated_at: string | null;
52
+ }>;
53
+ };
54
+ };
55
+
56
+ export type GetV1WebhooksResponse = GetV1WebhooksResponses[keyof GetV1WebhooksResponses];
57
+
58
+ export type PostV1WebhooksData = {
59
+ body?: {
60
+ webhook_url: string;
61
+ filters: {
62
+ 'v1.events'?: {
63
+ chain_ids?: Array<string>;
64
+ addresses?: Array<string>;
65
+ signatures?: Array<{
66
+ sig_hash: string;
67
+ abi?: string;
68
+ params?: {
69
+ [key: string]: unknown;
70
+ };
71
+ }>;
72
+ };
73
+ 'v1.transactions'?: {
74
+ chain_ids?: Array<string>;
75
+ from_addresses?: Array<string>;
76
+ to_addresses?: Array<string>;
77
+ signatures?: Array<{
78
+ sig_hash: string;
79
+ abi?: string;
80
+ params?: Array<string>;
81
+ }>;
82
+ };
83
+ };
84
+ name?: string;
85
+ };
86
+ path?: never;
87
+ query?: never;
88
+ url: '/v1/webhooks';
89
+ };
90
+
91
+ export type PostV1WebhooksErrors = {
92
+ /**
93
+ * Bad request
94
+ */
95
+ 400: {
96
+ error: string;
97
+ };
98
+ /**
99
+ * Forbidden
100
+ */
101
+ 403: {
102
+ error: string;
103
+ };
104
+ /**
105
+ * Internal server error
106
+ */
107
+ 500: {
108
+ error: string;
109
+ };
110
+ };
111
+
112
+ export type PostV1WebhooksError = PostV1WebhooksErrors[keyof PostV1WebhooksErrors];
113
+
114
+ export type PostV1WebhooksResponses = {
115
+ /**
116
+ * Successful response
117
+ */
118
+ 200: {
119
+ data: {
120
+ id: string;
121
+ team_id: string;
122
+ project_id: string;
123
+ name: string | null;
124
+ webhook_url: string;
125
+ webhook_secret: string;
126
+ filters: string | number | boolean | unknown | {
127
+ [key: string]: unknown;
128
+ } | Array<unknown>;
129
+ suspended_at: string | null;
130
+ suspended_reason: string | null;
131
+ disabled: boolean;
132
+ created_at: string;
133
+ updated_at: string | null;
134
+ };
135
+ };
136
+ };
137
+
138
+ export type PostV1WebhooksResponse = PostV1WebhooksResponses[keyof PostV1WebhooksResponses];
139
+
140
+ export type DeleteV1WebhooksByWebhookIdData = {
141
+ body?: never;
142
+ path: {
143
+ webhook_id: string;
144
+ };
145
+ query?: never;
146
+ url: '/v1/webhooks/{webhook_id}';
147
+ };
148
+
149
+ export type DeleteV1WebhooksByWebhookIdErrors = {
150
+ /**
151
+ * Bad request
152
+ */
153
+ 400: {
154
+ error: string;
155
+ };
156
+ /**
157
+ * Webhook not found
158
+ */
159
+ 404: {
160
+ error: string;
161
+ };
162
+ /**
163
+ * Internal server error
164
+ */
165
+ 500: {
166
+ error: string;
167
+ };
168
+ };
169
+
170
+ export type DeleteV1WebhooksByWebhookIdError = DeleteV1WebhooksByWebhookIdErrors[keyof DeleteV1WebhooksByWebhookIdErrors];
171
+
172
+ export type DeleteV1WebhooksByWebhookIdResponses = {
173
+ /**
174
+ * Successful response
175
+ */
176
+ 200: {
177
+ data: {
178
+ id: string;
179
+ team_id: string;
180
+ project_id: string;
181
+ name: string | null;
182
+ webhook_url: string;
183
+ webhook_secret: string;
184
+ filters: string | number | boolean | unknown | {
185
+ [key: string]: unknown;
186
+ } | Array<unknown>;
187
+ suspended_at: string | null;
188
+ suspended_reason: string | null;
189
+ disabled: boolean;
190
+ created_at: string;
191
+ updated_at: string | null;
192
+ };
193
+ };
194
+ };
195
+
196
+ export type DeleteV1WebhooksByWebhookIdResponse = DeleteV1WebhooksByWebhookIdResponses[keyof DeleteV1WebhooksByWebhookIdResponses];
197
+
198
+ export type PatchV1WebhooksByWebhookIdData = {
199
+ body?: {
200
+ webhook_url?: string;
201
+ filters?: {
202
+ 'v1.events'?: {
203
+ chain_ids?: Array<string>;
204
+ addresses?: Array<string>;
205
+ signatures?: Array<{
206
+ sig_hash: string;
207
+ abi?: string;
208
+ params?: {
209
+ [key: string]: unknown;
210
+ };
211
+ }>;
212
+ };
213
+ 'v1.transactions'?: {
214
+ chain_ids?: Array<string>;
215
+ from_addresses?: Array<string>;
216
+ to_addresses?: Array<string>;
217
+ signatures?: Array<{
218
+ sig_hash: string;
219
+ abi?: string;
220
+ params?: Array<string>;
221
+ }>;
222
+ };
223
+ };
224
+ name?: string;
225
+ disabled?: boolean;
226
+ };
227
+ path: {
228
+ webhook_id: string;
229
+ };
230
+ query?: never;
231
+ url: '/v1/webhooks/{webhook_id}';
232
+ };
233
+
234
+ export type PatchV1WebhooksByWebhookIdErrors = {
235
+ /**
236
+ * Bad request
237
+ */
238
+ 400: {
239
+ error: string;
240
+ };
241
+ /**
242
+ * Webhook not found
243
+ */
244
+ 404: {
245
+ error: string;
246
+ };
247
+ /**
248
+ * Internal server error
249
+ */
250
+ 500: {
251
+ error: string;
252
+ };
253
+ };
254
+
255
+ export type PatchV1WebhooksByWebhookIdError = PatchV1WebhooksByWebhookIdErrors[keyof PatchV1WebhooksByWebhookIdErrors];
256
+
257
+ export type PatchV1WebhooksByWebhookIdResponses = {
258
+ /**
259
+ * Successful response
260
+ */
261
+ 200: {
262
+ data: {
263
+ id: string;
264
+ team_id: string;
265
+ project_id: string;
266
+ name: string | null;
267
+ webhook_url: string;
268
+ webhook_secret: string;
269
+ filters: string | number | boolean | unknown | {
270
+ [key: string]: unknown;
271
+ } | Array<unknown>;
272
+ suspended_at: string | null;
273
+ suspended_reason: string | null;
274
+ disabled: boolean;
275
+ created_at: string;
276
+ updated_at: string | null;
277
+ };
278
+ };
279
+ };
280
+
281
+ export type PatchV1WebhooksByWebhookIdResponse = PatchV1WebhooksByWebhookIdResponses[keyof PatchV1WebhooksByWebhookIdResponses];
282
+
283
+ export type PostV1WebhooksTestData = {
284
+ body?: {
285
+ webhook_url: string;
286
+ type?: 'event' | 'transaction';
287
+ };
288
+ path?: never;
289
+ query?: never;
290
+ url: '/v1/webhooks/test';
291
+ };
292
+
293
+ export type PostV1WebhooksTestErrors = {
294
+ /**
295
+ * Bad request
296
+ */
297
+ 400: {
298
+ error: string;
299
+ };
300
+ /**
301
+ * Rate limit exceeded
302
+ */
303
+ 429: {
304
+ error: string;
305
+ };
306
+ /**
307
+ * Internal server error
308
+ */
309
+ 500: {
310
+ error: string;
311
+ };
312
+ };
313
+
314
+ export type PostV1WebhooksTestError = PostV1WebhooksTestErrors[keyof PostV1WebhooksTestErrors];
315
+
316
+ export type PostV1WebhooksTestResponses = {
317
+ /**
318
+ * Test event sent successfully
319
+ */
320
+ 200: {
321
+ success: boolean;
322
+ };
323
+ };
324
+
325
+ export type PostV1WebhooksTestResponse = PostV1WebhooksTestResponses[keyof PostV1WebhooksTestResponses];
326
+
327
+ export type GetV1EventsData = {
328
+ body?: never;
329
+ path?: never;
330
+ query?: {
331
+ /**
332
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
333
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
334
+ * Optional, because a single chain can as well be specified as a subdomain
335
+ */
336
+ chain?: Array<number> | (number | null) | unknown;
337
+ /**
338
+ * Filter by block number
339
+ */
340
+ filter_block_number?: number | null;
341
+ /**
342
+ * Filter by block number greater than or equal to
343
+ */
344
+ filter_block_number_gte?: number | null;
345
+ /**
346
+ * Filter by block number greater than
347
+ */
348
+ filter_block_number_gt?: number | null;
349
+ /**
350
+ * Filter by block number less than or equal to
351
+ */
352
+ filter_block_number_lte?: number | null;
353
+ /**
354
+ * Filter by block number less than
355
+ */
356
+ filter_block_number_lt?: number | null;
357
+ /**
358
+ * Filter by block hash
359
+ */
360
+ filter_block_hash?: string;
361
+ /**
362
+ * Filter by block timestamp
363
+ */
364
+ filter_block_timestamp?: number | null;
365
+ /**
366
+ * Filter by block timestamp greater than or equal to
367
+ */
368
+ filter_block_timestamp_gte?: number | null;
369
+ /**
370
+ * Filter by block timestamp greater than
371
+ */
372
+ filter_block_timestamp_gt?: number | null;
373
+ /**
374
+ * Filter by block timestamp less than or equal to
375
+ */
376
+ filter_block_timestamp_lte?: number | null;
377
+ /**
378
+ * Filter by block timestamp less than
379
+ */
380
+ filter_block_timestamp_lt?: number | null;
381
+ /**
382
+ * Field to sort results by
383
+ */
384
+ sort_by?: 'block_number' | string;
385
+ /**
386
+ * Sort order (asc or desc)
387
+ */
388
+ sort_order?: 'asc' | 'desc';
389
+ group_by?: Array<string | null> | (string | null) | unknown;
390
+ aggregate?: Array<string | null> | (string | null) | unknown;
391
+ /**
392
+ * Filter by transaction index
393
+ */
394
+ filter_transaction_index?: number | null;
395
+ /**
396
+ * Filter by transaction index greater than or equal to
397
+ */
398
+ filter_transaction_index_gte?: number | null;
399
+ /**
400
+ * Filter by transaction index greater than
401
+ */
402
+ filter_transaction_index_gt?: number | null;
403
+ /**
404
+ * Filter by transaction index less than or equal to
405
+ */
406
+ filter_transaction_index_lte?: number | null;
407
+ /**
408
+ * Filter by transaction index less than
409
+ */
410
+ filter_transaction_index_lt?: number | null;
411
+ /**
412
+ * Enable ABI decoding of the transactions/events data
413
+ */
414
+ decode?: boolean | null;
415
+ /**
416
+ * Filter by transaction hash
417
+ */
418
+ filter_transaction_hash?: string;
419
+ /**
420
+ * Filter by log index
421
+ */
422
+ filter_log_index?: number | null;
423
+ /**
424
+ * Filter by log index greater than or equal to
425
+ */
426
+ filter_log_index_gte?: number | null;
427
+ /**
428
+ * Filter by log index greater than
429
+ */
430
+ filter_log_index_gt?: number | null;
431
+ /**
432
+ * Filter by log index less than or equal to
433
+ */
434
+ filter_log_index_lte?: number | null;
435
+ /**
436
+ * Filter by log index less than
437
+ */
438
+ filter_log_index_lt?: number | null;
439
+ /**
440
+ * Filter by topic 1
441
+ */
442
+ filter_topic_1?: string;
443
+ /**
444
+ * Filter by topic 2
445
+ */
446
+ filter_topic_2?: string;
447
+ /**
448
+ * Filter by topic 3
449
+ */
450
+ filter_topic_3?: string;
451
+ /**
452
+ * Filter by topic 0
453
+ */
454
+ filter_topic_0?: string;
455
+ /**
456
+ * Filter by address
457
+ */
458
+ filter_address?: string;
459
+ /**
460
+ * The number of items to return
461
+ */
462
+ limit?: number;
463
+ page?: number | null;
464
+ };
465
+ url: '/v1/events';
466
+ };
467
+
468
+ export type GetV1EventsErrors = {
469
+ /**
470
+ * Bad request
471
+ */
472
+ 400: {
473
+ error: string;
474
+ };
475
+ /**
476
+ * Internal server error
477
+ */
478
+ 500: {
479
+ error: string;
480
+ };
481
+ };
482
+
483
+ export type GetV1EventsError = GetV1EventsErrors[keyof GetV1EventsErrors];
484
+
485
+ export type GetV1EventsResponses = {
486
+ /**
487
+ * Successful response
488
+ */
489
+ 200: {
490
+ data?: Array<{
491
+ chain_id: number;
492
+ block_number: string;
493
+ block_hash: string;
494
+ block_timestamp: string;
495
+ transaction_hash: string;
496
+ transaction_index: number;
497
+ log_index: number;
498
+ address: string;
499
+ data: string;
500
+ topics: Array<string>;
501
+ decoded?: {
502
+ name: string;
503
+ signature: string;
504
+ indexed_params: {
505
+ [key: string]: unknown;
506
+ };
507
+ non_indexed_params: {
508
+ [key: string]: unknown;
509
+ };
510
+ };
511
+ }>;
512
+ aggregations?: unknown;
513
+ meta: {
514
+ chain_ids: Array<number>;
515
+ address?: string;
516
+ signature?: string;
517
+ page: number;
518
+ limit_per_chain: number;
519
+ total_items: number;
520
+ total_pages: number;
521
+ };
522
+ };
523
+ };
524
+
525
+ export type GetV1EventsResponse = GetV1EventsResponses[keyof GetV1EventsResponses];
526
+
527
+ export type GetV1EventsByContractAddressData = {
528
+ body?: never;
529
+ path: {
530
+ contractAddress: string;
531
+ };
532
+ query?: {
533
+ /**
534
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
535
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
536
+ * Optional, because a single chain can as well be specified as a subdomain
537
+ */
538
+ chain?: Array<number> | (number | null) | unknown;
539
+ /**
540
+ * Filter by block number
541
+ */
542
+ filter_block_number?: number | null;
543
+ /**
544
+ * Filter by block number greater than or equal to
545
+ */
546
+ filter_block_number_gte?: number | null;
547
+ /**
548
+ * Filter by block number greater than
549
+ */
550
+ filter_block_number_gt?: number | null;
551
+ /**
552
+ * Filter by block number less than or equal to
553
+ */
554
+ filter_block_number_lte?: number | null;
555
+ /**
556
+ * Filter by block number less than
557
+ */
558
+ filter_block_number_lt?: number | null;
559
+ /**
560
+ * Filter by block hash
561
+ */
562
+ filter_block_hash?: string;
563
+ /**
564
+ * Filter by block timestamp
565
+ */
566
+ filter_block_timestamp?: number | null;
567
+ /**
568
+ * Filter by block timestamp greater than or equal to
569
+ */
570
+ filter_block_timestamp_gte?: number | null;
571
+ /**
572
+ * Filter by block timestamp greater than
573
+ */
574
+ filter_block_timestamp_gt?: number | null;
575
+ /**
576
+ * Filter by block timestamp less than or equal to
577
+ */
578
+ filter_block_timestamp_lte?: number | null;
579
+ /**
580
+ * Filter by block timestamp less than
581
+ */
582
+ filter_block_timestamp_lt?: number | null;
583
+ /**
584
+ * Field to sort results by
585
+ */
586
+ sort_by?: 'block_number' | string;
587
+ /**
588
+ * Sort order (asc or desc)
589
+ */
590
+ sort_order?: 'asc' | 'desc';
591
+ group_by?: Array<string | null> | (string | null) | unknown;
592
+ aggregate?: Array<string | null> | (string | null) | unknown;
593
+ /**
594
+ * Filter by transaction index
595
+ */
596
+ filter_transaction_index?: number | null;
597
+ /**
598
+ * Filter by transaction index greater than or equal to
599
+ */
600
+ filter_transaction_index_gte?: number | null;
601
+ /**
602
+ * Filter by transaction index greater than
603
+ */
604
+ filter_transaction_index_gt?: number | null;
605
+ /**
606
+ * Filter by transaction index less than or equal to
607
+ */
608
+ filter_transaction_index_lte?: number | null;
609
+ /**
610
+ * Filter by transaction index less than
611
+ */
612
+ filter_transaction_index_lt?: number | null;
613
+ /**
614
+ * Enable ABI decoding of the transactions/events data
615
+ */
616
+ decode?: boolean | null;
617
+ /**
618
+ * Filter by transaction hash
619
+ */
620
+ filter_transaction_hash?: string;
621
+ /**
622
+ * Filter by log index
623
+ */
624
+ filter_log_index?: number | null;
625
+ /**
626
+ * Filter by log index greater than or equal to
627
+ */
628
+ filter_log_index_gte?: number | null;
629
+ /**
630
+ * Filter by log index greater than
631
+ */
632
+ filter_log_index_gt?: number | null;
633
+ /**
634
+ * Filter by log index less than or equal to
635
+ */
636
+ filter_log_index_lte?: number | null;
637
+ /**
638
+ * Filter by log index less than
639
+ */
640
+ filter_log_index_lt?: number | null;
641
+ /**
642
+ * Filter by topic 1
643
+ */
644
+ filter_topic_1?: string;
645
+ /**
646
+ * Filter by topic 2
647
+ */
648
+ filter_topic_2?: string;
649
+ /**
650
+ * Filter by topic 3
651
+ */
652
+ filter_topic_3?: string;
653
+ /**
654
+ * Filter by topic 0
655
+ */
656
+ filter_topic_0?: string;
657
+ /**
658
+ * The number of items to return
659
+ */
660
+ limit?: number;
661
+ page?: number | null;
662
+ };
663
+ url: '/v1/events/{contractAddress}';
664
+ };
665
+
666
+ export type GetV1EventsByContractAddressErrors = {
667
+ /**
668
+ * Bad request
669
+ */
670
+ 400: {
671
+ error: string;
672
+ };
673
+ /**
674
+ * Internal server error
675
+ */
676
+ 500: {
677
+ error: string;
678
+ };
679
+ };
680
+
681
+ export type GetV1EventsByContractAddressError = GetV1EventsByContractAddressErrors[keyof GetV1EventsByContractAddressErrors];
682
+
683
+ export type GetV1EventsByContractAddressResponses = {
684
+ /**
685
+ * Successful response
686
+ */
687
+ 200: {
688
+ data?: Array<{
689
+ chain_id: number;
690
+ block_number: string;
691
+ block_hash: string;
692
+ block_timestamp: string;
693
+ transaction_hash: string;
694
+ transaction_index: number;
695
+ log_index: number;
696
+ address: string;
697
+ data: string;
698
+ topics: Array<string>;
699
+ decoded?: {
700
+ name: string;
701
+ signature: string;
702
+ indexed_params: {
703
+ [key: string]: unknown;
704
+ };
705
+ non_indexed_params: {
706
+ [key: string]: unknown;
707
+ };
708
+ };
709
+ }>;
710
+ aggregations?: unknown;
711
+ meta: {
712
+ chain_ids: Array<number>;
713
+ address?: string;
714
+ signature?: string;
715
+ page: number;
716
+ limit_per_chain: number;
717
+ total_items: number;
718
+ total_pages: number;
719
+ };
720
+ };
721
+ };
722
+
723
+ export type GetV1EventsByContractAddressResponse = GetV1EventsByContractAddressResponses[keyof GetV1EventsByContractAddressResponses];
724
+
725
+ export type GetV1EventsByContractAddressBySignatureData = {
726
+ body?: never;
727
+ path: {
728
+ contractAddress: string;
729
+ signature: string;
730
+ };
731
+ query?: {
732
+ /**
733
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
734
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
735
+ * Optional, because a single chain can as well be specified as a subdomain
736
+ */
737
+ chain?: Array<number> | (number | null) | unknown;
738
+ /**
739
+ * Filter by block number
740
+ */
741
+ filter_block_number?: number | null;
742
+ /**
743
+ * Filter by block number greater than or equal to
744
+ */
745
+ filter_block_number_gte?: number | null;
746
+ /**
747
+ * Filter by block number greater than
748
+ */
749
+ filter_block_number_gt?: number | null;
750
+ /**
751
+ * Filter by block number less than or equal to
752
+ */
753
+ filter_block_number_lte?: number | null;
754
+ /**
755
+ * Filter by block number less than
756
+ */
757
+ filter_block_number_lt?: number | null;
758
+ /**
759
+ * Filter by block hash
760
+ */
761
+ filter_block_hash?: string;
762
+ /**
763
+ * Filter by block timestamp
764
+ */
765
+ filter_block_timestamp?: number | null;
766
+ /**
767
+ * Filter by block timestamp greater than or equal to
768
+ */
769
+ filter_block_timestamp_gte?: number | null;
770
+ /**
771
+ * Filter by block timestamp greater than
772
+ */
773
+ filter_block_timestamp_gt?: number | null;
774
+ /**
775
+ * Filter by block timestamp less than or equal to
776
+ */
777
+ filter_block_timestamp_lte?: number | null;
778
+ /**
779
+ * Filter by block timestamp less than
780
+ */
781
+ filter_block_timestamp_lt?: number | null;
782
+ /**
783
+ * Field to sort results by
784
+ */
785
+ sort_by?: 'block_number' | string;
786
+ /**
787
+ * Sort order (asc or desc)
788
+ */
789
+ sort_order?: 'asc' | 'desc';
790
+ group_by?: Array<string | null> | (string | null) | unknown;
791
+ aggregate?: Array<string | null> | (string | null) | unknown;
792
+ /**
793
+ * Filter by transaction index
794
+ */
795
+ filter_transaction_index?: number | null;
796
+ /**
797
+ * Filter by transaction index greater than or equal to
798
+ */
799
+ filter_transaction_index_gte?: number | null;
800
+ /**
801
+ * Filter by transaction index greater than
802
+ */
803
+ filter_transaction_index_gt?: number | null;
804
+ /**
805
+ * Filter by transaction index less than or equal to
806
+ */
807
+ filter_transaction_index_lte?: number | null;
808
+ /**
809
+ * Filter by transaction index less than
810
+ */
811
+ filter_transaction_index_lt?: number | null;
812
+ /**
813
+ * Enable ABI decoding of the transactions/events data
814
+ */
815
+ decode?: boolean | null;
816
+ /**
817
+ * Filter by transaction hash
818
+ */
819
+ filter_transaction_hash?: string;
820
+ /**
821
+ * Filter by log index
822
+ */
823
+ filter_log_index?: number | null;
824
+ /**
825
+ * Filter by log index greater than or equal to
826
+ */
827
+ filter_log_index_gte?: number | null;
828
+ /**
829
+ * Filter by log index greater than
830
+ */
831
+ filter_log_index_gt?: number | null;
832
+ /**
833
+ * Filter by log index less than or equal to
834
+ */
835
+ filter_log_index_lte?: number | null;
836
+ /**
837
+ * Filter by log index less than
838
+ */
839
+ filter_log_index_lt?: number | null;
840
+ /**
841
+ * Filter by topic 1
842
+ */
843
+ filter_topic_1?: string;
844
+ /**
845
+ * Filter by topic 2
846
+ */
847
+ filter_topic_2?: string;
848
+ /**
849
+ * Filter by topic 3
850
+ */
851
+ filter_topic_3?: string;
852
+ /**
853
+ * The number of items to return
854
+ */
855
+ limit?: number;
856
+ page?: number | null;
857
+ };
858
+ url: '/v1/events/{contractAddress}/{signature}';
859
+ };
860
+
861
+ export type GetV1EventsByContractAddressBySignatureErrors = {
862
+ /**
863
+ * Bad request
864
+ */
865
+ 400: {
866
+ error: string;
867
+ };
868
+ /**
869
+ * Internal server error
870
+ */
871
+ 500: {
872
+ error: string;
873
+ };
874
+ };
875
+
876
+ export type GetV1EventsByContractAddressBySignatureError = GetV1EventsByContractAddressBySignatureErrors[keyof GetV1EventsByContractAddressBySignatureErrors];
877
+
878
+ export type GetV1EventsByContractAddressBySignatureResponses = {
879
+ /**
880
+ * Successful response
881
+ */
882
+ 200: {
883
+ data?: Array<{
884
+ chain_id: number;
885
+ block_number: string;
886
+ block_hash: string;
887
+ block_timestamp: string;
888
+ transaction_hash: string;
889
+ transaction_index: number;
890
+ log_index: number;
891
+ address: string;
892
+ data: string;
893
+ topics: Array<string>;
894
+ decoded?: {
895
+ name: string;
896
+ signature: string;
897
+ indexed_params: {
898
+ [key: string]: unknown;
899
+ };
900
+ non_indexed_params: {
901
+ [key: string]: unknown;
902
+ };
903
+ };
904
+ }>;
905
+ aggregations?: unknown;
906
+ meta: {
907
+ chain_ids: Array<number>;
908
+ address?: string;
909
+ signature?: string;
910
+ page: number;
911
+ limit_per_chain: number;
912
+ total_items: number;
913
+ total_pages: number;
914
+ };
915
+ };
916
+ };
917
+
918
+ export type GetV1EventsByContractAddressBySignatureResponse = GetV1EventsByContractAddressBySignatureResponses[keyof GetV1EventsByContractAddressBySignatureResponses];
919
+
920
+ export type GetV1TransactionsData = {
921
+ body?: never;
922
+ path?: never;
923
+ query?: {
924
+ /**
925
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
926
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
927
+ * Optional, because a single chain can as well be specified as a subdomain
928
+ */
929
+ chain?: Array<number> | (number | null) | unknown;
930
+ /**
931
+ * Filter by block number
932
+ */
933
+ filter_block_number?: number | null;
934
+ /**
935
+ * Filter by block number greater than or equal to
936
+ */
937
+ filter_block_number_gte?: number | null;
938
+ /**
939
+ * Filter by block number greater than
940
+ */
941
+ filter_block_number_gt?: number | null;
942
+ /**
943
+ * Filter by block number less than or equal to
944
+ */
945
+ filter_block_number_lte?: number | null;
946
+ /**
947
+ * Filter by block number less than
948
+ */
949
+ filter_block_number_lt?: number | null;
950
+ /**
951
+ * Filter by block hash
952
+ */
953
+ filter_block_hash?: string;
954
+ /**
955
+ * Filter by block timestamp
956
+ */
957
+ filter_block_timestamp?: number | null;
958
+ /**
959
+ * Filter by block timestamp greater than or equal to
960
+ */
961
+ filter_block_timestamp_gte?: number | null;
962
+ /**
963
+ * Filter by block timestamp greater than
964
+ */
965
+ filter_block_timestamp_gt?: number | null;
966
+ /**
967
+ * Filter by block timestamp less than or equal to
968
+ */
969
+ filter_block_timestamp_lte?: number | null;
970
+ /**
971
+ * Filter by block timestamp less than
972
+ */
973
+ filter_block_timestamp_lt?: number | null;
974
+ /**
975
+ * Field to sort results by
976
+ */
977
+ sort_by?: 'block_number' | string;
978
+ /**
979
+ * Sort order (asc or desc)
980
+ */
981
+ sort_order?: 'asc' | 'desc';
982
+ group_by?: Array<string | null> | (string | null) | unknown;
983
+ aggregate?: Array<string | null> | (string | null) | unknown;
984
+ /**
985
+ * Filter by transaction index
986
+ */
987
+ filter_transaction_index?: number | null;
988
+ /**
989
+ * Filter by transaction index greater than or equal to
990
+ */
991
+ filter_transaction_index_gte?: number | null;
992
+ /**
993
+ * Filter by transaction index greater than
994
+ */
995
+ filter_transaction_index_gt?: number | null;
996
+ /**
997
+ * Filter by transaction index less than or equal to
998
+ */
999
+ filter_transaction_index_lte?: number | null;
1000
+ /**
1001
+ * Filter by transaction index less than
1002
+ */
1003
+ filter_transaction_index_lt?: number | null;
1004
+ /**
1005
+ * Enable ABI decoding of the transactions/events data
1006
+ */
1007
+ decode?: boolean | null;
1008
+ /**
1009
+ * Filter by transaction hash
1010
+ */
1011
+ filter_hash?: string;
1012
+ /**
1013
+ * Filter by from address
1014
+ */
1015
+ filter_from_address?: string;
1016
+ /**
1017
+ * Filter by value
1018
+ */
1019
+ filter_value?: number | null;
1020
+ /**
1021
+ * Filter by value greater than or equal to
1022
+ */
1023
+ filter_value_gte?: number | null;
1024
+ /**
1025
+ * Filter by value greater than
1026
+ */
1027
+ filter_value_gt?: number | null;
1028
+ /**
1029
+ * Filter by value less than or equal to
1030
+ */
1031
+ filter_value_lte?: number | null;
1032
+ /**
1033
+ * Filter by value less than
1034
+ */
1035
+ filter_value_lt?: number | null;
1036
+ /**
1037
+ * Filter by gas price
1038
+ */
1039
+ filter_gas_price?: number | null;
1040
+ /**
1041
+ * Filter by gas price greater than or equal to
1042
+ */
1043
+ filter_gas_price_gte?: number | null;
1044
+ /**
1045
+ * Filter by gas price greater than
1046
+ */
1047
+ filter_gas_price_gt?: number | null;
1048
+ /**
1049
+ * Filter by gas price less than or equal to
1050
+ */
1051
+ filter_gas_price_lte?: number | null;
1052
+ /**
1053
+ * Filter by gas price less than
1054
+ */
1055
+ filter_gas_price_lt?: number | null;
1056
+ /**
1057
+ * Filter by gas
1058
+ */
1059
+ filter_gas?: number | null;
1060
+ /**
1061
+ * Filter by gas greater than or equal to
1062
+ */
1063
+ filter_gas_gte?: number | null;
1064
+ /**
1065
+ * Filter by gas greater than
1066
+ */
1067
+ filter_gas_gt?: number | null;
1068
+ /**
1069
+ * Filter by gas less than or equal to
1070
+ */
1071
+ filter_gas_lte?: number | null;
1072
+ /**
1073
+ * Filter by gas less than
1074
+ */
1075
+ filter_gas_lt?: number | null;
1076
+ /**
1077
+ * Filter by function selector
1078
+ */
1079
+ filter_function_selector?: string;
1080
+ /**
1081
+ * Filter by to address
1082
+ */
1083
+ filter_to_address?: string;
1084
+ /**
1085
+ * The number of items to return
1086
+ */
1087
+ limit?: number;
1088
+ page?: number | null;
1089
+ };
1090
+ url: '/v1/transactions';
1091
+ };
1092
+
1093
+ export type GetV1TransactionsErrors = {
1094
+ /**
1095
+ * Bad request
1096
+ */
1097
+ 400: {
1098
+ error: string;
1099
+ };
1100
+ /**
1101
+ * Internal server error
1102
+ */
1103
+ 500: {
1104
+ error: string;
1105
+ };
1106
+ };
1107
+
1108
+ export type GetV1TransactionsError = GetV1TransactionsErrors[keyof GetV1TransactionsErrors];
1109
+
1110
+ export type GetV1TransactionsResponses = {
1111
+ /**
1112
+ * Successful response
1113
+ */
1114
+ 200: {
1115
+ data?: Array<{
1116
+ chain_id: number;
1117
+ block_number: string;
1118
+ block_hash: string;
1119
+ block_timestamp: string;
1120
+ hash: string;
1121
+ nonce: number;
1122
+ transaction_index: number;
1123
+ from_address: string;
1124
+ to_address: string;
1125
+ value: number;
1126
+ gas_price: number;
1127
+ gas: number;
1128
+ function_selector: string;
1129
+ data: string;
1130
+ max_fee_per_gas: number;
1131
+ max_priority_fee_per_gas: number;
1132
+ transaction_type: number;
1133
+ r: number;
1134
+ s: number;
1135
+ v: number;
1136
+ access_list_json?: string;
1137
+ contract_address?: string;
1138
+ gas_used?: number;
1139
+ cumulative_gas_used?: number;
1140
+ effective_gas_price?: number;
1141
+ blob_gas_used?: number;
1142
+ blob_gas_price?: number;
1143
+ logs_bloom?: string;
1144
+ status?: number;
1145
+ decoded?: {
1146
+ name: string;
1147
+ signature: string;
1148
+ inputs?: {
1149
+ [key: string]: unknown;
1150
+ };
1151
+ };
1152
+ /**
1153
+ * @deprecated
1154
+ */
1155
+ decodedData?: {
1156
+ name: string;
1157
+ signature: string;
1158
+ inputs?: {
1159
+ [key: string]: unknown;
1160
+ };
1161
+ };
1162
+ }>;
1163
+ aggregations?: unknown;
1164
+ meta: {
1165
+ chain_ids: Array<number>;
1166
+ address?: string;
1167
+ signature?: string;
1168
+ page: number;
1169
+ limit_per_chain: number;
1170
+ total_items: number;
1171
+ total_pages: number;
1172
+ };
1173
+ };
1174
+ };
1175
+
1176
+ export type GetV1TransactionsResponse = GetV1TransactionsResponses[keyof GetV1TransactionsResponses];
1177
+
1178
+ export type GetV1TransactionsByContractAddressData = {
1179
+ body?: never;
1180
+ path: {
1181
+ contractAddress: string;
1182
+ };
1183
+ query?: {
1184
+ /**
1185
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1186
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1187
+ * Optional, because a single chain can as well be specified as a subdomain
1188
+ */
1189
+ chain?: Array<number> | (number | null) | unknown;
1190
+ /**
1191
+ * Filter by block number
1192
+ */
1193
+ filter_block_number?: number | null;
1194
+ /**
1195
+ * Filter by block number greater than or equal to
1196
+ */
1197
+ filter_block_number_gte?: number | null;
1198
+ /**
1199
+ * Filter by block number greater than
1200
+ */
1201
+ filter_block_number_gt?: number | null;
1202
+ /**
1203
+ * Filter by block number less than or equal to
1204
+ */
1205
+ filter_block_number_lte?: number | null;
1206
+ /**
1207
+ * Filter by block number less than
1208
+ */
1209
+ filter_block_number_lt?: number | null;
1210
+ /**
1211
+ * Filter by block hash
1212
+ */
1213
+ filter_block_hash?: string;
1214
+ /**
1215
+ * Filter by block timestamp
1216
+ */
1217
+ filter_block_timestamp?: number | null;
1218
+ /**
1219
+ * Filter by block timestamp greater than or equal to
1220
+ */
1221
+ filter_block_timestamp_gte?: number | null;
1222
+ /**
1223
+ * Filter by block timestamp greater than
1224
+ */
1225
+ filter_block_timestamp_gt?: number | null;
1226
+ /**
1227
+ * Filter by block timestamp less than or equal to
1228
+ */
1229
+ filter_block_timestamp_lte?: number | null;
1230
+ /**
1231
+ * Filter by block timestamp less than
1232
+ */
1233
+ filter_block_timestamp_lt?: number | null;
1234
+ /**
1235
+ * Field to sort results by
1236
+ */
1237
+ sort_by?: 'block_number' | string;
1238
+ /**
1239
+ * Sort order (asc or desc)
1240
+ */
1241
+ sort_order?: 'asc' | 'desc';
1242
+ group_by?: Array<string | null> | (string | null) | unknown;
1243
+ aggregate?: Array<string | null> | (string | null) | unknown;
1244
+ /**
1245
+ * Filter by transaction index
1246
+ */
1247
+ filter_transaction_index?: number | null;
1248
+ /**
1249
+ * Filter by transaction index greater than or equal to
1250
+ */
1251
+ filter_transaction_index_gte?: number | null;
1252
+ /**
1253
+ * Filter by transaction index greater than
1254
+ */
1255
+ filter_transaction_index_gt?: number | null;
1256
+ /**
1257
+ * Filter by transaction index less than or equal to
1258
+ */
1259
+ filter_transaction_index_lte?: number | null;
1260
+ /**
1261
+ * Filter by transaction index less than
1262
+ */
1263
+ filter_transaction_index_lt?: number | null;
1264
+ /**
1265
+ * Enable ABI decoding of the transactions/events data
1266
+ */
1267
+ decode?: boolean | null;
1268
+ /**
1269
+ * Filter by transaction hash
1270
+ */
1271
+ filter_hash?: string;
1272
+ /**
1273
+ * Filter by from address
1274
+ */
1275
+ filter_from_address?: string;
1276
+ /**
1277
+ * Filter by value
1278
+ */
1279
+ filter_value?: number | null;
1280
+ /**
1281
+ * Filter by value greater than or equal to
1282
+ */
1283
+ filter_value_gte?: number | null;
1284
+ /**
1285
+ * Filter by value greater than
1286
+ */
1287
+ filter_value_gt?: number | null;
1288
+ /**
1289
+ * Filter by value less than or equal to
1290
+ */
1291
+ filter_value_lte?: number | null;
1292
+ /**
1293
+ * Filter by value less than
1294
+ */
1295
+ filter_value_lt?: number | null;
1296
+ /**
1297
+ * Filter by gas price
1298
+ */
1299
+ filter_gas_price?: number | null;
1300
+ /**
1301
+ * Filter by gas price greater than or equal to
1302
+ */
1303
+ filter_gas_price_gte?: number | null;
1304
+ /**
1305
+ * Filter by gas price greater than
1306
+ */
1307
+ filter_gas_price_gt?: number | null;
1308
+ /**
1309
+ * Filter by gas price less than or equal to
1310
+ */
1311
+ filter_gas_price_lte?: number | null;
1312
+ /**
1313
+ * Filter by gas price less than
1314
+ */
1315
+ filter_gas_price_lt?: number | null;
1316
+ /**
1317
+ * Filter by gas
1318
+ */
1319
+ filter_gas?: number | null;
1320
+ /**
1321
+ * Filter by gas greater than or equal to
1322
+ */
1323
+ filter_gas_gte?: number | null;
1324
+ /**
1325
+ * Filter by gas greater than
1326
+ */
1327
+ filter_gas_gt?: number | null;
1328
+ /**
1329
+ * Filter by gas less than or equal to
1330
+ */
1331
+ filter_gas_lte?: number | null;
1332
+ /**
1333
+ * Filter by gas less than
1334
+ */
1335
+ filter_gas_lt?: number | null;
1336
+ /**
1337
+ * Filter by function selector
1338
+ */
1339
+ filter_function_selector?: string;
1340
+ /**
1341
+ * The number of items to return
1342
+ */
1343
+ limit?: number;
1344
+ page?: number | null;
1345
+ };
1346
+ url: '/v1/transactions/{contractAddress}';
1347
+ };
1348
+
1349
+ export type GetV1TransactionsByContractAddressErrors = {
1350
+ /**
1351
+ * Bad request
1352
+ */
1353
+ 400: {
1354
+ error: string;
1355
+ };
1356
+ /**
1357
+ * Internal server error
1358
+ */
1359
+ 500: {
1360
+ error: string;
1361
+ };
1362
+ };
1363
+
1364
+ export type GetV1TransactionsByContractAddressError = GetV1TransactionsByContractAddressErrors[keyof GetV1TransactionsByContractAddressErrors];
1365
+
1366
+ export type GetV1TransactionsByContractAddressResponses = {
1367
+ /**
1368
+ * Successful response
1369
+ */
1370
+ 200: {
1371
+ data?: Array<{
1372
+ chain_id: number;
1373
+ block_number: string;
1374
+ block_hash: string;
1375
+ block_timestamp: string;
1376
+ hash: string;
1377
+ nonce: number;
1378
+ transaction_index: number;
1379
+ from_address: string;
1380
+ to_address: string;
1381
+ value: number;
1382
+ gas_price: number;
1383
+ gas: number;
1384
+ function_selector: string;
1385
+ data: string;
1386
+ max_fee_per_gas: number;
1387
+ max_priority_fee_per_gas: number;
1388
+ transaction_type: number;
1389
+ r: number;
1390
+ s: number;
1391
+ v: number;
1392
+ access_list_json?: string;
1393
+ contract_address?: string;
1394
+ gas_used?: number;
1395
+ cumulative_gas_used?: number;
1396
+ effective_gas_price?: number;
1397
+ blob_gas_used?: number;
1398
+ blob_gas_price?: number;
1399
+ logs_bloom?: string;
1400
+ status?: number;
1401
+ }>;
1402
+ aggregations?: unknown;
1403
+ meta: {
1404
+ chain_ids: Array<number>;
1405
+ address?: string;
1406
+ signature?: string;
1407
+ page: number;
1408
+ limit_per_chain: number;
1409
+ total_items: number;
1410
+ total_pages: number;
1411
+ };
1412
+ };
1413
+ };
1414
+
1415
+ export type GetV1TransactionsByContractAddressResponse = GetV1TransactionsByContractAddressResponses[keyof GetV1TransactionsByContractAddressResponses];
1416
+
1417
+ export type GetV1TransactionsByContractAddressBySignatureData = {
1418
+ body?: never;
1419
+ path: {
1420
+ contractAddress: string;
1421
+ signature: string;
1422
+ };
1423
+ query?: {
1424
+ /**
1425
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1426
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1427
+ * Optional, because a single chain can as well be specified as a subdomain
1428
+ */
1429
+ chain?: Array<number> | (number | null) | unknown;
1430
+ /**
1431
+ * Filter by block number
1432
+ */
1433
+ filter_block_number?: number | null;
1434
+ /**
1435
+ * Filter by block number greater than or equal to
1436
+ */
1437
+ filter_block_number_gte?: number | null;
1438
+ /**
1439
+ * Filter by block number greater than
1440
+ */
1441
+ filter_block_number_gt?: number | null;
1442
+ /**
1443
+ * Filter by block number less than or equal to
1444
+ */
1445
+ filter_block_number_lte?: number | null;
1446
+ /**
1447
+ * Filter by block number less than
1448
+ */
1449
+ filter_block_number_lt?: number | null;
1450
+ /**
1451
+ * Filter by block hash
1452
+ */
1453
+ filter_block_hash?: string;
1454
+ /**
1455
+ * Filter by block timestamp
1456
+ */
1457
+ filter_block_timestamp?: number | null;
1458
+ /**
1459
+ * Filter by block timestamp greater than or equal to
1460
+ */
1461
+ filter_block_timestamp_gte?: number | null;
1462
+ /**
1463
+ * Filter by block timestamp greater than
1464
+ */
1465
+ filter_block_timestamp_gt?: number | null;
1466
+ /**
1467
+ * Filter by block timestamp less than or equal to
1468
+ */
1469
+ filter_block_timestamp_lte?: number | null;
1470
+ /**
1471
+ * Filter by block timestamp less than
1472
+ */
1473
+ filter_block_timestamp_lt?: number | null;
1474
+ /**
1475
+ * Field to sort results by
1476
+ */
1477
+ sort_by?: 'block_number' | string;
1478
+ /**
1479
+ * Sort order (asc or desc)
1480
+ */
1481
+ sort_order?: 'asc' | 'desc';
1482
+ group_by?: Array<string | null> | (string | null) | unknown;
1483
+ aggregate?: Array<string | null> | (string | null) | unknown;
1484
+ /**
1485
+ * Filter by transaction index
1486
+ */
1487
+ filter_transaction_index?: number | null;
1488
+ /**
1489
+ * Filter by transaction index greater than or equal to
1490
+ */
1491
+ filter_transaction_index_gte?: number | null;
1492
+ /**
1493
+ * Filter by transaction index greater than
1494
+ */
1495
+ filter_transaction_index_gt?: number | null;
1496
+ /**
1497
+ * Filter by transaction index less than or equal to
1498
+ */
1499
+ filter_transaction_index_lte?: number | null;
1500
+ /**
1501
+ * Filter by transaction index less than
1502
+ */
1503
+ filter_transaction_index_lt?: number | null;
1504
+ /**
1505
+ * Enable ABI decoding of the transactions/events data
1506
+ */
1507
+ decode?: boolean | null;
1508
+ /**
1509
+ * Filter by transaction hash
1510
+ */
1511
+ filter_hash?: string;
1512
+ /**
1513
+ * Filter by from address
1514
+ */
1515
+ filter_from_address?: string;
1516
+ /**
1517
+ * Filter by value
1518
+ */
1519
+ filter_value?: number | null;
1520
+ /**
1521
+ * Filter by value greater than or equal to
1522
+ */
1523
+ filter_value_gte?: number | null;
1524
+ /**
1525
+ * Filter by value greater than
1526
+ */
1527
+ filter_value_gt?: number | null;
1528
+ /**
1529
+ * Filter by value less than or equal to
1530
+ */
1531
+ filter_value_lte?: number | null;
1532
+ /**
1533
+ * Filter by value less than
1534
+ */
1535
+ filter_value_lt?: number | null;
1536
+ /**
1537
+ * Filter by gas price
1538
+ */
1539
+ filter_gas_price?: number | null;
1540
+ /**
1541
+ * Filter by gas price greater than or equal to
1542
+ */
1543
+ filter_gas_price_gte?: number | null;
1544
+ /**
1545
+ * Filter by gas price greater than
1546
+ */
1547
+ filter_gas_price_gt?: number | null;
1548
+ /**
1549
+ * Filter by gas price less than or equal to
1550
+ */
1551
+ filter_gas_price_lte?: number | null;
1552
+ /**
1553
+ * Filter by gas price less than
1554
+ */
1555
+ filter_gas_price_lt?: number | null;
1556
+ /**
1557
+ * Filter by gas
1558
+ */
1559
+ filter_gas?: number | null;
1560
+ /**
1561
+ * Filter by gas greater than or equal to
1562
+ */
1563
+ filter_gas_gte?: number | null;
1564
+ /**
1565
+ * Filter by gas greater than
1566
+ */
1567
+ filter_gas_gt?: number | null;
1568
+ /**
1569
+ * Filter by gas less than or equal to
1570
+ */
1571
+ filter_gas_lte?: number | null;
1572
+ /**
1573
+ * Filter by gas less than
1574
+ */
1575
+ filter_gas_lt?: number | null;
1576
+ /**
1577
+ * The number of items to return
1578
+ */
1579
+ limit?: number;
1580
+ page?: number | null;
1581
+ };
1582
+ url: '/v1/transactions/{contractAddress}/{signature}';
1583
+ };
1584
+
1585
+ export type GetV1TransactionsByContractAddressBySignatureErrors = {
1586
+ /**
1587
+ * Bad request
1588
+ */
1589
+ 400: {
1590
+ error: string;
1591
+ };
1592
+ /**
1593
+ * Internal server error
1594
+ */
1595
+ 500: {
1596
+ error: string;
1597
+ };
1598
+ };
1599
+
1600
+ export type GetV1TransactionsByContractAddressBySignatureError = GetV1TransactionsByContractAddressBySignatureErrors[keyof GetV1TransactionsByContractAddressBySignatureErrors];
1601
+
1602
+ export type GetV1TransactionsByContractAddressBySignatureResponses = {
1603
+ /**
1604
+ * Successful response
1605
+ */
1606
+ 200: {
1607
+ data?: Array<{
1608
+ chain_id: number;
1609
+ block_number: string;
1610
+ block_hash: string;
1611
+ block_timestamp: string;
1612
+ hash: string;
1613
+ nonce: number;
1614
+ transaction_index: number;
1615
+ from_address: string;
1616
+ to_address: string;
1617
+ value: number;
1618
+ gas_price: number;
1619
+ gas: number;
1620
+ function_selector: string;
1621
+ data: string;
1622
+ max_fee_per_gas: number;
1623
+ max_priority_fee_per_gas: number;
1624
+ transaction_type: number;
1625
+ r: number;
1626
+ s: number;
1627
+ v: number;
1628
+ access_list_json?: string;
1629
+ contract_address?: string;
1630
+ gas_used?: number;
1631
+ cumulative_gas_used?: number;
1632
+ effective_gas_price?: number;
1633
+ blob_gas_used?: number;
1634
+ blob_gas_price?: number;
1635
+ logs_bloom?: string;
1636
+ status?: number;
1637
+ decoded?: {
1638
+ name: string;
1639
+ signature: string;
1640
+ inputs?: {
1641
+ [key: string]: unknown;
1642
+ };
1643
+ };
1644
+ /**
1645
+ * @deprecated
1646
+ */
1647
+ decodedData?: {
1648
+ name: string;
1649
+ signature: string;
1650
+ inputs?: {
1651
+ [key: string]: unknown;
1652
+ };
1653
+ };
1654
+ }>;
1655
+ aggregations?: unknown;
1656
+ meta: {
1657
+ chain_ids: Array<number>;
1658
+ address?: string;
1659
+ signature?: string;
1660
+ page: number;
1661
+ limit_per_chain: number;
1662
+ total_items: number;
1663
+ total_pages: number;
1664
+ };
1665
+ };
1666
+ };
1667
+
1668
+ export type GetV1TransactionsByContractAddressBySignatureResponse = GetV1TransactionsByContractAddressBySignatureResponses[keyof GetV1TransactionsByContractAddressBySignatureResponses];
1669
+
1670
+ export type GetV1TokensTransfersTransactionByTransactionHashData = {
1671
+ body?: never;
1672
+ path: {
1673
+ transaction_hash: string;
1674
+ };
1675
+ query?: {
1676
+ /**
1677
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1678
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1679
+ * Optional, because a single chain can as well be specified as a subdomain
1680
+ */
1681
+ chain?: Array<number> | (number | null) | unknown;
1682
+ /**
1683
+ * The number of items to return
1684
+ */
1685
+ limit?: number;
1686
+ page?: number | null;
1687
+ /**
1688
+ * Whether to include metadata for the tokens
1689
+ */
1690
+ metadata?: 'true' | 'false';
1691
+ /**
1692
+ * Whether to include sale details for NFT transfers
1693
+ */
1694
+ sales?: 'true' | 'false';
1695
+ /**
1696
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
1697
+ */
1698
+ include_owners?: 'true' | 'false';
1699
+ /**
1700
+ * Whether to resolve metadata IPFS or Arweave links
1701
+ */
1702
+ resolve_metadata_links?: 'true' | 'false';
1703
+ };
1704
+ url: '/v1/tokens/transfers/transaction/{transaction_hash}';
1705
+ };
1706
+
1707
+ export type GetV1TokensTransfersTransactionByTransactionHashErrors = {
1708
+ /**
1709
+ * Not found
1710
+ */
1711
+ 404: unknown;
1712
+ /**
1713
+ * Internal server error
1714
+ */
1715
+ 500: {
1716
+ data: Array<{
1717
+ block_number: string;
1718
+ block_hash?: string;
1719
+ block_timestamp: string;
1720
+ transaction_hash: string;
1721
+ from_address: string;
1722
+ to_address: string;
1723
+ log_index: number;
1724
+ contract_address: string;
1725
+ transfer_type: 'mint' | 'sale' | 'transfer';
1726
+ token_type: 'erc20';
1727
+ amount: string;
1728
+ chain_id: number;
1729
+ token_metadata?: {
1730
+ name?: string;
1731
+ symbol?: string;
1732
+ decimals?: number;
1733
+ };
1734
+ }>;
1735
+ };
1736
+ };
1737
+
1738
+ export type GetV1TokensTransfersTransactionByTransactionHashError = GetV1TokensTransfersTransactionByTransactionHashErrors[keyof GetV1TokensTransfersTransactionByTransactionHashErrors];
1739
+
1740
+ export type GetV1TokensTransfersTransactionByTransactionHashResponses = {
1741
+ /**
1742
+ * Success
1743
+ */
1744
+ 200: {
1745
+ data: Array<{
1746
+ block_number: string;
1747
+ block_hash?: string;
1748
+ block_timestamp: string;
1749
+ transaction_hash: string;
1750
+ from_address: string;
1751
+ to_address: string;
1752
+ log_index: number;
1753
+ contract_address: string;
1754
+ transfer_type: 'mint' | 'sale' | 'transfer';
1755
+ token_type: 'erc20';
1756
+ amount: string;
1757
+ chain_id: number;
1758
+ token_metadata?: {
1759
+ name?: string;
1760
+ symbol?: string;
1761
+ decimals?: number;
1762
+ };
1763
+ }>;
1764
+ };
1765
+ };
1766
+
1767
+ export type GetV1TokensTransfersTransactionByTransactionHashResponse = GetV1TokensTransfersTransactionByTransactionHashResponses[keyof GetV1TokensTransfersTransactionByTransactionHashResponses];
1768
+
1769
+ export type GetV1TokensTransfersByContractAddressData = {
1770
+ body?: never;
1771
+ path: {
1772
+ contract_address: string;
1773
+ };
1774
+ query?: {
1775
+ /**
1776
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1777
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1778
+ * Optional, because a single chain can as well be specified as a subdomain
1779
+ */
1780
+ chain?: Array<number> | (number | null) | unknown;
1781
+ /**
1782
+ * The number of items to return
1783
+ */
1784
+ limit?: number;
1785
+ page?: number | null;
1786
+ /**
1787
+ * Whether to include metadata for the tokens
1788
+ */
1789
+ metadata?: 'true' | 'false';
1790
+ /**
1791
+ * Whether to include sale details for NFT transfers
1792
+ */
1793
+ sales?: 'true' | 'false';
1794
+ /**
1795
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
1796
+ */
1797
+ include_owners?: 'true' | 'false';
1798
+ /**
1799
+ * Whether to resolve metadata IPFS or Arweave links
1800
+ */
1801
+ resolve_metadata_links?: 'true' | 'false';
1802
+ };
1803
+ url: '/v1/tokens/transfers/{contract_address}';
1804
+ };
1805
+
1806
+ export type GetV1TokensTransfersByContractAddressErrors = {
1807
+ /**
1808
+ * Not found
1809
+ */
1810
+ 404: unknown;
1811
+ /**
1812
+ * Internal server error
1813
+ */
1814
+ 500: {
1815
+ data: Array<{
1816
+ block_number: string;
1817
+ block_hash?: string;
1818
+ block_timestamp: string;
1819
+ transaction_hash: string;
1820
+ from_address: string;
1821
+ to_address: string;
1822
+ log_index: number;
1823
+ contract_address: string;
1824
+ transfer_type: 'mint' | 'sale' | 'transfer';
1825
+ token_type: 'erc20';
1826
+ amount: string;
1827
+ chain_id: number;
1828
+ token_metadata?: {
1829
+ name?: string;
1830
+ symbol?: string;
1831
+ decimals?: number;
1832
+ };
1833
+ }>;
1834
+ };
1835
+ };
1836
+
1837
+ export type GetV1TokensTransfersByContractAddressError = GetV1TokensTransfersByContractAddressErrors[keyof GetV1TokensTransfersByContractAddressErrors];
1838
+
1839
+ export type GetV1TokensTransfersByContractAddressResponses = {
1840
+ /**
1841
+ * Success
1842
+ */
1843
+ 200: {
1844
+ data: Array<{
1845
+ block_number: string;
1846
+ block_hash?: string;
1847
+ block_timestamp: string;
1848
+ transaction_hash: string;
1849
+ from_address: string;
1850
+ to_address: string;
1851
+ log_index: number;
1852
+ contract_address: string;
1853
+ transfer_type: 'mint' | 'sale' | 'transfer';
1854
+ token_type: 'erc20';
1855
+ amount: string;
1856
+ chain_id: number;
1857
+ token_metadata?: {
1858
+ name?: string;
1859
+ symbol?: string;
1860
+ decimals?: number;
1861
+ };
1862
+ }>;
1863
+ };
1864
+ };
1865
+
1866
+ export type GetV1TokensTransfersByContractAddressResponse = GetV1TokensTransfersByContractAddressResponses[keyof GetV1TokensTransfersByContractAddressResponses];
1867
+
1868
+ export type GetV1TokensTransfersData = {
1869
+ body?: never;
1870
+ path?: never;
1871
+ query?: {
1872
+ /**
1873
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1874
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1875
+ * Optional, because a single chain can as well be specified as a subdomain
1876
+ */
1877
+ chain?: Array<number> | (number | null) | unknown;
1878
+ /**
1879
+ * The number of items to return
1880
+ */
1881
+ limit?: number;
1882
+ page?: number | null;
1883
+ /**
1884
+ * Whether to include metadata for the tokens
1885
+ */
1886
+ metadata?: 'true' | 'false';
1887
+ /**
1888
+ * Whether to include sale details for NFT transfers
1889
+ */
1890
+ sales?: 'true' | 'false';
1891
+ /**
1892
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
1893
+ */
1894
+ include_owners?: 'true' | 'false';
1895
+ /**
1896
+ * Whether to resolve metadata IPFS or Arweave links
1897
+ */
1898
+ resolve_metadata_links?: 'true' | 'false';
1899
+ /**
1900
+ * Filter by block number greater than or equal to
1901
+ */
1902
+ block_number_from?: number | string;
1903
+ /**
1904
+ * Filter by block number less than or equal to
1905
+ */
1906
+ block_number_to?: number | string;
1907
+ owner_address?: string;
1908
+ };
1909
+ url: '/v1/tokens/transfers';
1910
+ };
1911
+
1912
+ export type GetV1TokensTransfersErrors = {
1913
+ /**
1914
+ * Not found
1915
+ */
1916
+ 404: unknown;
1917
+ /**
1918
+ * Internal server error
1919
+ */
1920
+ 500: {
1921
+ data: Array<{
1922
+ block_number: string;
1923
+ block_hash?: string;
1924
+ block_timestamp: string;
1925
+ transaction_hash: string;
1926
+ from_address: string;
1927
+ to_address: string;
1928
+ log_index: number;
1929
+ contract_address: string;
1930
+ transfer_type: 'mint' | 'sale' | 'transfer';
1931
+ token_type: 'erc20';
1932
+ amount: string;
1933
+ chain_id: number;
1934
+ token_metadata?: {
1935
+ name?: string;
1936
+ symbol?: string;
1937
+ decimals?: number;
1938
+ };
1939
+ }>;
1940
+ };
1941
+ };
1942
+
1943
+ export type GetV1TokensTransfersError = GetV1TokensTransfersErrors[keyof GetV1TokensTransfersErrors];
1944
+
1945
+ export type GetV1TokensTransfersResponses = {
1946
+ /**
1947
+ * Success
1948
+ */
1949
+ 200: {
1950
+ data: Array<{
1951
+ block_number: string;
1952
+ block_hash?: string;
1953
+ block_timestamp: string;
1954
+ transaction_hash: string;
1955
+ from_address: string;
1956
+ to_address: string;
1957
+ log_index: number;
1958
+ contract_address: string;
1959
+ transfer_type: 'mint' | 'sale' | 'transfer';
1960
+ token_type: 'erc20';
1961
+ amount: string;
1962
+ chain_id: number;
1963
+ token_metadata?: {
1964
+ name?: string;
1965
+ symbol?: string;
1966
+ decimals?: number;
1967
+ };
1968
+ }>;
1969
+ };
1970
+ };
1971
+
1972
+ export type GetV1TokensTransfersResponse = GetV1TokensTransfersResponses[keyof GetV1TokensTransfersResponses];
1973
+
1974
+ export type GetV1TokensErc20ByOwnerAddressData = {
1975
+ body?: never;
1976
+ path: {
1977
+ ownerAddress: string;
1978
+ };
1979
+ query?: {
1980
+ /**
1981
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
1982
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
1983
+ * Optional, because a single chain can as well be specified as a subdomain
1984
+ */
1985
+ chain?: Array<number> | (number | null) | unknown;
1986
+ /**
1987
+ * The number of items to return
1988
+ */
1989
+ limit?: number;
1990
+ page?: number | null;
1991
+ /**
1992
+ * Whether to include metadata for the tokens
1993
+ */
1994
+ metadata?: 'true' | 'false';
1995
+ /**
1996
+ * Whether to resolve metadata IPFS or Arweave links
1997
+ */
1998
+ resolve_metadata_links?: 'true' | 'false';
1999
+ /**
2000
+ * Whether to include spam tokens
2001
+ */
2002
+ include_spam?: 'true' | 'false';
2003
+ };
2004
+ url: '/v1/tokens/erc20/{ownerAddress}';
2005
+ };
2006
+
2007
+ export type GetV1TokensErc20ByOwnerAddressErrors = {
2008
+ /**
2009
+ * Bad request
2010
+ */
2011
+ 400: unknown;
2012
+ /**
2013
+ * Internal server error
2014
+ */
2015
+ 500: unknown;
2016
+ };
2017
+
2018
+ export type GetV1TokensErc20ByOwnerAddressResponses = {
2019
+ /**
2020
+ * Successful response
2021
+ */
2022
+ 200: {
2023
+ data: Array<{
2024
+ /**
2025
+ * The chain ID of a relevant entry
2026
+ */
2027
+ chain_id: number;
2028
+ token_address: string;
2029
+ balance: string;
2030
+ name?: string;
2031
+ symbol?: string;
2032
+ decimals?: number;
2033
+ }>;
2034
+ };
2035
+ };
2036
+
2037
+ export type GetV1TokensErc20ByOwnerAddressResponse = GetV1TokensErc20ByOwnerAddressResponses[keyof GetV1TokensErc20ByOwnerAddressResponses];
2038
+
2039
+ export type GetV1TokensErc721ByOwnerAddressData = {
2040
+ body?: never;
2041
+ path: {
2042
+ ownerAddress: string;
2043
+ };
2044
+ query?: {
2045
+ /**
2046
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2047
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2048
+ * Optional, because a single chain can as well be specified as a subdomain
2049
+ */
2050
+ chain?: Array<number> | (number | null) | unknown;
2051
+ /**
2052
+ * The number of items to return
2053
+ */
2054
+ limit?: number;
2055
+ page?: number | null;
2056
+ /**
2057
+ * Whether to include metadata for the tokens
2058
+ */
2059
+ metadata?: 'true' | 'false';
2060
+ /**
2061
+ * Whether to resolve metadata IPFS or Arweave links
2062
+ */
2063
+ resolve_metadata_links?: 'true' | 'false';
2064
+ };
2065
+ url: '/v1/tokens/erc721/{ownerAddress}';
2066
+ };
2067
+
2068
+ export type GetV1TokensErc721ByOwnerAddressErrors = {
2069
+ /**
2070
+ * Bad request
2071
+ */
2072
+ 400: unknown;
2073
+ /**
2074
+ * Internal server error
2075
+ */
2076
+ 500: unknown;
2077
+ };
2078
+
2079
+ export type GetV1TokensErc721ByOwnerAddressResponses = {
2080
+ /**
2081
+ * Successful response
2082
+ */
2083
+ 200: {
2084
+ data: Array<{
2085
+ /**
2086
+ * The chain ID of a relevant entry
2087
+ */
2088
+ chain_id: number;
2089
+ token_address: string;
2090
+ token_id: string;
2091
+ balance: string;
2092
+ name?: string;
2093
+ description?: string;
2094
+ image_url?: string;
2095
+ video_url?: string;
2096
+ animation_url?: string;
2097
+ background_color?: string;
2098
+ external_url?: string;
2099
+ status?: string;
2100
+ metadata_url?: string;
2101
+ owner_addresses?: Array<string>;
2102
+ extra_metadata?: {
2103
+ [key: string]: unknown;
2104
+ } & {
2105
+ attributes?: Array<{
2106
+ trait_type: string;
2107
+ value: string | number;
2108
+ display_type?: string;
2109
+ }> | {
2110
+ [key: string]: unknown;
2111
+ };
2112
+ properties?: {
2113
+ [key: string]: unknown;
2114
+ };
2115
+ };
2116
+ collection?: {
2117
+ name?: string;
2118
+ description?: string;
2119
+ image_url?: string;
2120
+ banner_image_url?: string;
2121
+ featured_image_url?: string;
2122
+ external_link?: string;
2123
+ };
2124
+ contract?: {
2125
+ /**
2126
+ * The chain ID of a relevant entry
2127
+ */
2128
+ chain_id: number;
2129
+ address: string;
2130
+ name?: string;
2131
+ symbol?: string;
2132
+ type?: 'erc721' | 'erc1155';
2133
+ };
2134
+ }>;
2135
+ };
2136
+ };
2137
+
2138
+ export type GetV1TokensErc721ByOwnerAddressResponse = GetV1TokensErc721ByOwnerAddressResponses[keyof GetV1TokensErc721ByOwnerAddressResponses];
2139
+
2140
+ export type GetV1TokensErc1155ByOwnerAddressData = {
2141
+ body?: never;
2142
+ path: {
2143
+ ownerAddress: string;
2144
+ };
2145
+ query?: {
2146
+ /**
2147
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2148
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2149
+ * Optional, because a single chain can as well be specified as a subdomain
2150
+ */
2151
+ chain?: Array<number> | (number | null) | unknown;
2152
+ /**
2153
+ * The number of items to return
2154
+ */
2155
+ limit?: number;
2156
+ page?: number | null;
2157
+ /**
2158
+ * Whether to include metadata for the tokens
2159
+ */
2160
+ metadata?: 'true' | 'false';
2161
+ /**
2162
+ * Whether to resolve metadata IPFS or Arweave links
2163
+ */
2164
+ resolve_metadata_links?: 'true' | 'false';
2165
+ };
2166
+ url: '/v1/tokens/erc1155/{ownerAddress}';
2167
+ };
2168
+
2169
+ export type GetV1TokensErc1155ByOwnerAddressErrors = {
2170
+ /**
2171
+ * Bad request
2172
+ */
2173
+ 400: unknown;
2174
+ /**
2175
+ * Internal server error
2176
+ */
2177
+ 500: unknown;
2178
+ };
2179
+
2180
+ export type GetV1TokensErc1155ByOwnerAddressResponses = {
2181
+ /**
2182
+ * Successful response
2183
+ */
2184
+ 200: {
2185
+ data: Array<{
2186
+ /**
2187
+ * The chain ID of a relevant entry
2188
+ */
2189
+ chain_id: number;
2190
+ token_address: string;
2191
+ token_id: string;
2192
+ balance: string;
2193
+ name?: string;
2194
+ description?: string;
2195
+ image_url?: string;
2196
+ video_url?: string;
2197
+ animation_url?: string;
2198
+ background_color?: string;
2199
+ external_url?: string;
2200
+ status?: string;
2201
+ metadata_url?: string;
2202
+ owner_addresses?: Array<string>;
2203
+ extra_metadata?: {
2204
+ [key: string]: unknown;
2205
+ } & {
2206
+ attributes?: Array<{
2207
+ trait_type: string;
2208
+ value: string | number;
2209
+ display_type?: string;
2210
+ }> | {
2211
+ [key: string]: unknown;
2212
+ };
2213
+ properties?: {
2214
+ [key: string]: unknown;
2215
+ };
2216
+ };
2217
+ collection?: {
2218
+ name?: string;
2219
+ description?: string;
2220
+ image_url?: string;
2221
+ banner_image_url?: string;
2222
+ featured_image_url?: string;
2223
+ external_link?: string;
2224
+ };
2225
+ contract?: {
2226
+ /**
2227
+ * The chain ID of a relevant entry
2228
+ */
2229
+ chain_id: number;
2230
+ address: string;
2231
+ name?: string;
2232
+ symbol?: string;
2233
+ type?: 'erc721' | 'erc1155';
2234
+ };
2235
+ }>;
2236
+ };
2237
+ };
2238
+
2239
+ export type GetV1TokensErc1155ByOwnerAddressResponse = GetV1TokensErc1155ByOwnerAddressResponses[keyof GetV1TokensErc1155ByOwnerAddressResponses];
2240
+
2241
+ export type GetV1TokensPriceSupportedData = {
2242
+ body?: never;
2243
+ path?: never;
2244
+ query?: {
2245
+ /**
2246
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2247
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2248
+ * Optional, because a single chain can as well be specified as a subdomain
2249
+ */
2250
+ chain?: Array<number> | (number | null) | unknown;
2251
+ };
2252
+ url: '/v1/tokens/price/supported';
2253
+ };
2254
+
2255
+ export type GetV1TokensPriceSupportedErrors = {
2256
+ /**
2257
+ * Bad request
2258
+ */
2259
+ 400: unknown;
2260
+ /**
2261
+ * Internal server error
2262
+ */
2263
+ 500: unknown;
2264
+ };
2265
+
2266
+ export type GetV1TokensPriceSupportedResponses = {
2267
+ /**
2268
+ * Successful response
2269
+ */
2270
+ 200: {
2271
+ data: Array<{
2272
+ /**
2273
+ * The chain ID of a relevant entry
2274
+ */
2275
+ chain_id: number;
2276
+ address: string;
2277
+ symbol?: string;
2278
+ }>;
2279
+ };
2280
+ };
2281
+
2282
+ export type GetV1TokensPriceSupportedResponse = GetV1TokensPriceSupportedResponses[keyof GetV1TokensPriceSupportedResponses];
2283
+
2284
+ export type GetV1TokensPriceData = {
2285
+ body?: never;
2286
+ path?: never;
2287
+ query?: {
2288
+ /**
2289
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2290
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2291
+ * Optional, because a single chain can as well be specified as a subdomain
2292
+ */
2293
+ chain?: Array<number> | (number | null) | unknown;
2294
+ /**
2295
+ * The address of the token to get the price for
2296
+ */
2297
+ address?: Array<string> | string;
2298
+ /**
2299
+ * The symbol of the token to get the price for
2300
+ */
2301
+ symbol?: Array<string> | (string | null) | unknown;
2302
+ /**
2303
+ * Timestamp in seconds or milliseconds
2304
+ */
2305
+ timestamp?: number;
2306
+ /**
2307
+ * Whether to include historical token prices
2308
+ */
2309
+ include_historical_prices?: 'true' | 'false';
2310
+ /**
2311
+ * Whether to include the number of holders
2312
+ */
2313
+ include_holders?: 'true' | 'false';
2314
+ };
2315
+ url: '/v1/tokens/price';
2316
+ };
2317
+
2318
+ export type GetV1TokensPriceErrors = {
2319
+ /**
2320
+ * Bad request
2321
+ */
2322
+ 400: unknown;
2323
+ /**
2324
+ * Internal server error
2325
+ */
2326
+ 500: unknown;
2327
+ };
2328
+
2329
+ export type GetV1TokensPriceResponses = {
2330
+ /**
2331
+ * Successful response
2332
+ */
2333
+ 200: {
2334
+ data: Array<{
2335
+ /**
2336
+ * The chain ID of a relevant entry
2337
+ */
2338
+ chain_id: number;
2339
+ address: string;
2340
+ symbol?: string;
2341
+ /**
2342
+ * Precise price in USD
2343
+ */
2344
+ price_usd: number;
2345
+ /**
2346
+ * Price in USD cents
2347
+ */
2348
+ price_usd_cents: number;
2349
+ /**
2350
+ * Percent change in price over the last 24 hours
2351
+ */
2352
+ percent_change_24h: number;
2353
+ /**
2354
+ * Volume in USD over the last 24 hours
2355
+ */
2356
+ volume_24h_usd: number;
2357
+ /**
2358
+ * Percent change in volume over the last 24 hours
2359
+ */
2360
+ volume_change_24h: number;
2361
+ /**
2362
+ * Market cap in USD
2363
+ */
2364
+ market_cap_usd: number;
2365
+ historical_prices?: Array<{
2366
+ /**
2367
+ * Date of price
2368
+ */
2369
+ date: string;
2370
+ /**
2371
+ * Price in USD
2372
+ */
2373
+ price_usd: number;
2374
+ /**
2375
+ * Price in USD cents
2376
+ */
2377
+ price_usd_cents: number;
2378
+ }>;
2379
+ /**
2380
+ * Number of holders
2381
+ */
2382
+ holders?: number;
2383
+ }>;
2384
+ };
2385
+ };
2386
+
2387
+ export type GetV1TokensPriceResponse = GetV1TokensPriceResponses[keyof GetV1TokensPriceResponses];
2388
+
2389
+ export type GetV1TokensLookupData = {
2390
+ body?: never;
2391
+ path?: never;
2392
+ query: {
2393
+ /**
2394
+ * The symbol(s) of the token to lookup. You can specify multiple symbols, up to a maximum of 10.
2395
+ * Use repeated query parameters, e.g., `?symbol=ETH&symbol=USDC`.
2396
+ */
2397
+ symbol: Array<string> | string;
2398
+ /**
2399
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2400
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2401
+ * Optional, because a single chain can as well be specified as a subdomain
2402
+ */
2403
+ chain?: Array<number> | (number | null) | unknown;
2404
+ };
2405
+ url: '/v1/tokens/lookup';
2406
+ };
2407
+
2408
+ export type GetV1TokensLookupErrors = {
2409
+ /**
2410
+ * Bad request
2411
+ */
2412
+ 400: unknown;
2413
+ /**
2414
+ * Internal server error
2415
+ */
2416
+ 500: unknown;
2417
+ };
2418
+
2419
+ export type GetV1TokensLookupResponses = {
2420
+ /**
2421
+ * Successful response
2422
+ */
2423
+ 200: {
2424
+ data: Array<{
2425
+ /**
2426
+ * The chain ID of a relevant entry
2427
+ */
2428
+ chain_id: number;
2429
+ token_address: string;
2430
+ name?: string;
2431
+ symbol?: string;
2432
+ decimals?: number;
2433
+ }>;
2434
+ };
2435
+ };
2436
+
2437
+ export type GetV1TokensLookupResponse = GetV1TokensLookupResponses[keyof GetV1TokensLookupResponses];
2438
+
2439
+ export type GetV1ResolveByInputData = {
2440
+ body?: never;
2441
+ path: {
2442
+ /**
2443
+ * Can be a block number, transaction or block hash, address, event signature or function selector
2444
+ */
2445
+ input: string;
2446
+ };
2447
+ query?: {
2448
+ /**
2449
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2450
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2451
+ * Optional, because a single chain can as well be specified as a subdomain
2452
+ */
2453
+ chain?: Array<number> | (number | null) | unknown;
2454
+ };
2455
+ url: '/v1/resolve/{input}';
2456
+ };
2457
+
2458
+ export type GetV1ResolveByInputErrors = {
2459
+ /**
2460
+ * Bad request
2461
+ */
2462
+ 400: {
2463
+ error: string;
2464
+ };
2465
+ /**
2466
+ * Internal server error
2467
+ */
2468
+ 500: {
2469
+ error: string;
2470
+ };
2471
+ };
2472
+
2473
+ export type GetV1ResolveByInputError = GetV1ResolveByInputErrors[keyof GetV1ResolveByInputErrors];
2474
+
2475
+ export type GetV1ResolveByInputResponses = {
2476
+ /**
2477
+ * Successful response
2478
+ */
2479
+ 200: {
2480
+ data?: {
2481
+ blocks?: Array<{
2482
+ chain_id: number;
2483
+ block_number: number;
2484
+ block_hash: string;
2485
+ parent_hash: string;
2486
+ block_timestamp: number;
2487
+ nonce: string;
2488
+ sha3_uncles: string;
2489
+ mix_hash: string;
2490
+ miner: string;
2491
+ state_root: string;
2492
+ transactions_root: string;
2493
+ receipts_root: string;
2494
+ logs_bloom: string;
2495
+ size: number;
2496
+ extra_data: string;
2497
+ difficulty: string;
2498
+ total_difficulty: string;
2499
+ transaction_count: number;
2500
+ gas_limit: number;
2501
+ gas_used: number;
2502
+ withdrawals_root: string;
2503
+ base_fee_per_gas: number;
2504
+ }>;
2505
+ transactions?: Array<{
2506
+ chain_id: number;
2507
+ block_number: string;
2508
+ block_hash: string;
2509
+ block_timestamp: string;
2510
+ hash: string;
2511
+ nonce: number;
2512
+ transaction_index: number;
2513
+ from_address: string;
2514
+ to_address: string;
2515
+ value: number;
2516
+ gas_price: number;
2517
+ gas: number;
2518
+ function_selector: string;
2519
+ data: string;
2520
+ max_fee_per_gas: number;
2521
+ max_priority_fee_per_gas: number;
2522
+ transaction_type: number;
2523
+ r: number;
2524
+ s: number;
2525
+ v: number;
2526
+ access_list_json?: string;
2527
+ contract_address?: string;
2528
+ gas_used?: number;
2529
+ cumulative_gas_used?: number;
2530
+ effective_gas_price?: number;
2531
+ blob_gas_used?: number;
2532
+ blob_gas_price?: number;
2533
+ logs_bloom?: string;
2534
+ status?: number;
2535
+ }>;
2536
+ events?: Array<{
2537
+ chain_id: number;
2538
+ block_number: string;
2539
+ block_hash: string;
2540
+ block_timestamp: string;
2541
+ transaction_hash: string;
2542
+ transaction_index: number;
2543
+ log_index: number;
2544
+ address: string;
2545
+ data: string;
2546
+ topics: Array<string>;
2547
+ }>;
2548
+ address?: string;
2549
+ type: 'block' | 'transaction' | 'event_signature' | 'function_signature' | 'address' | 'contract' | 'unknown';
2550
+ };
2551
+ aggregations?: unknown;
2552
+ meta: {
2553
+ chain_ids: Array<number>;
2554
+ address?: string;
2555
+ signature?: string;
2556
+ page: number;
2557
+ limit_per_chain: number;
2558
+ total_items: number;
2559
+ total_pages: number;
2560
+ };
2561
+ };
2562
+ };
2563
+
2564
+ export type GetV1ResolveByInputResponse = GetV1ResolveByInputResponses[keyof GetV1ResolveByInputResponses];
2565
+
2566
+ export type GetV1BlocksData = {
2567
+ body?: never;
2568
+ path?: never;
2569
+ query?: {
2570
+ /**
2571
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2572
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2573
+ * Optional, because a single chain can as well be specified as a subdomain
2574
+ */
2575
+ chain?: Array<number> | (number | null) | unknown;
2576
+ /**
2577
+ * Filter by block number
2578
+ */
2579
+ filter_block_number?: number | null;
2580
+ /**
2581
+ * Filter by block number greater than or equal to
2582
+ */
2583
+ filter_block_number_gte?: number | null;
2584
+ /**
2585
+ * Filter by block number greater than
2586
+ */
2587
+ filter_block_number_gt?: number | null;
2588
+ /**
2589
+ * Filter by block number less than or equal to
2590
+ */
2591
+ filter_block_number_lte?: number | null;
2592
+ /**
2593
+ * Filter by block number less than
2594
+ */
2595
+ filter_block_number_lt?: number | null;
2596
+ /**
2597
+ * Filter by block timestamp
2598
+ */
2599
+ filter_block_timestamp?: number | null;
2600
+ /**
2601
+ * Filter by block timestamp greater than or equal to
2602
+ */
2603
+ filter_block_timestamp_gte?: number | null;
2604
+ /**
2605
+ * Filter by block timestamp greater than
2606
+ */
2607
+ filter_block_timestamp_gt?: number | null;
2608
+ /**
2609
+ * Filter by block timestamp less than or equal to
2610
+ */
2611
+ filter_block_timestamp_lte?: number | null;
2612
+ /**
2613
+ * Filter by block timestamp less than
2614
+ */
2615
+ filter_block_timestamp_lt?: number | null;
2616
+ /**
2617
+ * Field to sort results by
2618
+ */
2619
+ sort_by?: 'block_number' | string;
2620
+ /**
2621
+ * Sort order (asc or desc)
2622
+ */
2623
+ sort_order?: 'asc' | 'desc';
2624
+ group_by?: Array<string | null> | (string | null) | unknown;
2625
+ aggregate?: Array<string | null> | (string | null) | unknown;
2626
+ /**
2627
+ * Filter by hash
2628
+ */
2629
+ filter_hash?: string;
2630
+ /**
2631
+ * The number of items to return
2632
+ */
2633
+ limit?: number;
2634
+ page?: number | null;
2635
+ };
2636
+ url: '/v1/blocks';
2637
+ };
2638
+
2639
+ export type GetV1BlocksErrors = {
2640
+ /**
2641
+ * Bad request
2642
+ */
2643
+ 400: {
2644
+ error: string;
2645
+ };
2646
+ /**
2647
+ * Internal server error
2648
+ */
2649
+ 500: {
2650
+ error: string;
2651
+ };
2652
+ };
2653
+
2654
+ export type GetV1BlocksError = GetV1BlocksErrors[keyof GetV1BlocksErrors];
2655
+
2656
+ export type GetV1BlocksResponses = {
2657
+ /**
2658
+ * Successful response
2659
+ */
2660
+ 200: {
2661
+ data?: Array<{
2662
+ chain_id: number;
2663
+ block_number: number;
2664
+ block_hash: string;
2665
+ parent_hash: string;
2666
+ block_timestamp: number;
2667
+ nonce: string;
2668
+ sha3_uncles: string;
2669
+ mix_hash: string;
2670
+ miner: string;
2671
+ state_root: string;
2672
+ transactions_root: string;
2673
+ receipts_root: string;
2674
+ logs_bloom: string;
2675
+ size: number;
2676
+ extra_data: string;
2677
+ difficulty: string;
2678
+ total_difficulty: string;
2679
+ transaction_count: number;
2680
+ gas_limit: number;
2681
+ gas_used: number;
2682
+ withdrawals_root: string;
2683
+ base_fee_per_gas: number;
2684
+ }>;
2685
+ aggregations?: unknown;
2686
+ meta: {
2687
+ chain_ids: Array<number>;
2688
+ address?: string;
2689
+ signature?: string;
2690
+ page: number;
2691
+ limit_per_chain: number;
2692
+ total_items: number;
2693
+ total_pages: number;
2694
+ };
2695
+ };
2696
+ };
2697
+
2698
+ export type GetV1BlocksResponse = GetV1BlocksResponses[keyof GetV1BlocksResponses];
2699
+
2700
+ export type GetV1ContractsAbiByContractAddressData = {
2701
+ body?: never;
2702
+ path: {
2703
+ contractAddress: string;
2704
+ };
2705
+ query?: {
2706
+ /**
2707
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2708
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2709
+ * Optional, because a single chain can as well be specified as a subdomain
2710
+ */
2711
+ chain?: Array<number> | (number | null) | unknown;
2712
+ };
2713
+ url: '/v1/contracts/abi/{contractAddress}';
2714
+ };
2715
+
2716
+ export type GetV1ContractsAbiByContractAddressErrors = {
2717
+ /**
2718
+ * Bad request
2719
+ */
2720
+ 400: {
2721
+ error: string;
2722
+ };
2723
+ /**
2724
+ * Not found
2725
+ */
2726
+ 404: unknown;
2727
+ /**
2728
+ * Internal server error
2729
+ */
2730
+ 500: {
2731
+ error: string;
2732
+ };
2733
+ };
2734
+
2735
+ export type GetV1ContractsAbiByContractAddressError = GetV1ContractsAbiByContractAddressErrors[keyof GetV1ContractsAbiByContractAddressErrors];
2736
+
2737
+ export type GetV1ContractsAbiByContractAddressResponses = {
2738
+ /**
2739
+ * Success
2740
+ */
2741
+ 200: {
2742
+ [key: string]: unknown;
2743
+ };
2744
+ };
2745
+
2746
+ export type GetV1ContractsAbiByContractAddressResponse = GetV1ContractsAbiByContractAddressResponses[keyof GetV1ContractsAbiByContractAddressResponses];
2747
+
2748
+ export type GetV1ContractsMetadataByContractAddressData = {
2749
+ body?: never;
2750
+ path: {
2751
+ contractAddress: string;
2752
+ };
2753
+ query?: {
2754
+ /**
2755
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2756
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2757
+ * Optional, because a single chain can as well be specified as a subdomain
2758
+ */
2759
+ chain?: Array<number> | (number | null) | unknown;
2760
+ };
2761
+ url: '/v1/contracts/metadata/{contractAddress}';
2762
+ };
2763
+
2764
+ export type GetV1ContractsMetadataByContractAddressErrors = {
2765
+ /**
2766
+ * Not found
2767
+ */
2768
+ 404: unknown;
2769
+ /**
2770
+ * Internal server error
2771
+ */
2772
+ 500: {
2773
+ error: string;
2774
+ };
2775
+ };
2776
+
2777
+ export type GetV1ContractsMetadataByContractAddressError = GetV1ContractsMetadataByContractAddressErrors[keyof GetV1ContractsMetadataByContractAddressErrors];
2778
+
2779
+ export type GetV1ContractsMetadataByContractAddressResponses = {
2780
+ /**
2781
+ * Success
2782
+ */
2783
+ 200: {
2784
+ [key: string]: unknown;
2785
+ };
2786
+ };
2787
+
2788
+ export type GetV1ContractsMetadataByContractAddressResponse = GetV1ContractsMetadataByContractAddressResponses[keyof GetV1ContractsMetadataByContractAddressResponses];
2789
+
2790
+ export type PostV1DecodeByContractAddressData = {
2791
+ body?: {
2792
+ transactions?: Array<{
2793
+ data: string;
2794
+ }>;
2795
+ logs?: Array<{
2796
+ data?: string;
2797
+ topics: Array<string>;
2798
+ }>;
2799
+ };
2800
+ path: {
2801
+ contractAddress: string;
2802
+ };
2803
+ query?: {
2804
+ /**
2805
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2806
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2807
+ * Optional, because a single chain can as well be specified as a subdomain
2808
+ */
2809
+ chain?: Array<number> | (number | null) | unknown;
2810
+ };
2811
+ url: '/v1/decode/{contractAddress}';
2812
+ };
2813
+
2814
+ export type PostV1DecodeByContractAddressErrors = {
2815
+ /**
2816
+ * Bad request
2817
+ */
2818
+ 400: {
2819
+ error: string;
2820
+ };
2821
+ /**
2822
+ * Not found
2823
+ */
2824
+ 404: unknown;
2825
+ /**
2826
+ * Internal server error
2827
+ */
2828
+ 500: {
2829
+ error: string;
2830
+ };
2831
+ };
2832
+
2833
+ export type PostV1DecodeByContractAddressError = PostV1DecodeByContractAddressErrors[keyof PostV1DecodeByContractAddressErrors];
2834
+
2835
+ export type PostV1DecodeByContractAddressResponses = {
2836
+ /**
2837
+ * Success
2838
+ */
2839
+ 200: {
2840
+ data?: {
2841
+ transactions?: Array<{
2842
+ data: string;
2843
+ function_name?: string;
2844
+ args?: Array<unknown>;
2845
+ }>;
2846
+ logs?: Array<{
2847
+ data?: string;
2848
+ topics: Array<string>;
2849
+ event_name?: string;
2850
+ args?: Array<unknown>;
2851
+ }>;
2852
+ };
2853
+ };
2854
+ };
2855
+
2856
+ export type PostV1DecodeByContractAddressResponse = PostV1DecodeByContractAddressResponses[keyof PostV1DecodeByContractAddressResponses];
2857
+
2858
+ export type GetV1NftsBalanceByOwnerAddressData = {
2859
+ body?: never;
2860
+ path: {
2861
+ ownerAddress: string;
2862
+ };
2863
+ query?: {
2864
+ /**
2865
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2866
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2867
+ * Optional, because a single chain can as well be specified as a subdomain
2868
+ */
2869
+ chain?: Array<number> | (number | null) | unknown;
2870
+ /**
2871
+ * The number of items to return
2872
+ */
2873
+ limit?: number;
2874
+ page?: number | null;
2875
+ /**
2876
+ * Whether to include metadata for the tokens
2877
+ */
2878
+ metadata?: 'true' | 'false';
2879
+ /**
2880
+ * Whether to resolve metadata IPFS or Arweave links
2881
+ */
2882
+ resolve_metadata_links?: 'true' | 'false';
2883
+ /**
2884
+ * The types of NFTs to include in the response. Can be an empty array to include all types
2885
+ */
2886
+ token_types?: Array<'erc1155' | 'erc721'>;
2887
+ };
2888
+ url: '/v1/nfts/balance/{ownerAddress}';
2889
+ };
2890
+
2891
+ export type GetV1NftsBalanceByOwnerAddressErrors = {
2892
+ /**
2893
+ * Bad request
2894
+ */
2895
+ 400: unknown;
2896
+ /**
2897
+ * Internal server error
2898
+ */
2899
+ 500: unknown;
2900
+ };
2901
+
2902
+ export type GetV1NftsBalanceByOwnerAddressResponses = {
2903
+ /**
2904
+ * Success
2905
+ */
2906
+ 200: {
2907
+ data: Array<{
2908
+ /**
2909
+ * The chain ID of a relevant entry
2910
+ */
2911
+ chain_id: number;
2912
+ token_address: string;
2913
+ token_id: string;
2914
+ balance: string;
2915
+ name?: string;
2916
+ description?: string;
2917
+ image_url?: string;
2918
+ video_url?: string;
2919
+ animation_url?: string;
2920
+ background_color?: string;
2921
+ external_url?: string;
2922
+ status?: string;
2923
+ metadata_url?: string;
2924
+ owner_addresses?: Array<string>;
2925
+ extra_metadata?: {
2926
+ [key: string]: unknown;
2927
+ } & {
2928
+ attributes?: Array<{
2929
+ trait_type: string;
2930
+ value: string | number;
2931
+ display_type?: string;
2932
+ }> | {
2933
+ [key: string]: unknown;
2934
+ };
2935
+ properties?: {
2936
+ [key: string]: unknown;
2937
+ };
2938
+ };
2939
+ collection?: {
2940
+ name?: string;
2941
+ description?: string;
2942
+ image_url?: string;
2943
+ banner_image_url?: string;
2944
+ featured_image_url?: string;
2945
+ external_link?: string;
2946
+ };
2947
+ contract?: {
2948
+ /**
2949
+ * The chain ID of a relevant entry
2950
+ */
2951
+ chain_id: number;
2952
+ address: string;
2953
+ name?: string;
2954
+ symbol?: string;
2955
+ type?: 'erc721' | 'erc1155';
2956
+ };
2957
+ }>;
2958
+ };
2959
+ };
2960
+
2961
+ export type GetV1NftsBalanceByOwnerAddressResponse = GetV1NftsBalanceByOwnerAddressResponses[keyof GetV1NftsBalanceByOwnerAddressResponses];
2962
+
2963
+ export type GetV1NftsCollectionsByContractAddressData = {
2964
+ body?: never;
2965
+ path: {
2966
+ contract_address: string;
2967
+ };
2968
+ query?: {
2969
+ /**
2970
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
2971
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
2972
+ * Optional, because a single chain can as well be specified as a subdomain
2973
+ */
2974
+ chain?: Array<number> | (number | null) | unknown;
2975
+ /**
2976
+ * Whether to include stats for the collection
2977
+ */
2978
+ include_stats?: 'true' | 'false';
2979
+ /**
2980
+ * Whether to resolve metadata IPFS or Arweave links
2981
+ */
2982
+ resolve_metadata_links?: 'true' | 'false';
2983
+ };
2984
+ url: '/v1/nfts/collections/{contract_address}';
2985
+ };
2986
+
2987
+ export type GetV1NftsCollectionsByContractAddressErrors = {
2988
+ /**
2989
+ * Bad request
2990
+ */
2991
+ 400: {
2992
+ error: string;
2993
+ };
2994
+ /**
2995
+ * Internal server error
2996
+ */
2997
+ 500: {
2998
+ error: string;
2999
+ };
3000
+ };
3001
+
3002
+ export type GetV1NftsCollectionsByContractAddressError = GetV1NftsCollectionsByContractAddressErrors[keyof GetV1NftsCollectionsByContractAddressErrors];
3003
+
3004
+ export type GetV1NftsCollectionsByContractAddressResponses = {
3005
+ /**
3006
+ * Success
3007
+ */
3008
+ 200: {
3009
+ data: Array<{
3010
+ name?: string;
3011
+ description?: string;
3012
+ image_url?: string;
3013
+ banner_image_url?: string;
3014
+ featured_image_url?: string;
3015
+ external_link?: string;
3016
+ stats?: {
3017
+ owner_count: number;
3018
+ token_count: number;
3019
+ mint_count: number;
3020
+ total_quantity: number;
3021
+ };
3022
+ }>;
3023
+ };
3024
+ };
3025
+
3026
+ export type GetV1NftsCollectionsByContractAddressResponse = GetV1NftsCollectionsByContractAddressResponses[keyof GetV1NftsCollectionsByContractAddressResponses];
3027
+
3028
+ export type GetV1NftsData = {
3029
+ body?: never;
3030
+ path?: never;
3031
+ query: {
3032
+ /**
3033
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3034
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3035
+ * Optional, because a single chain can as well be specified as a subdomain
3036
+ */
3037
+ chain?: Array<number> | (number | null) | unknown;
3038
+ /**
3039
+ * The number of items to return
3040
+ */
3041
+ limit?: number;
3042
+ page?: number | null;
3043
+ /**
3044
+ * Whether to resolve metadata IPFS or Arweave links
3045
+ */
3046
+ resolve_metadata_links?: 'true' | 'false';
3047
+ owner_address: string;
3048
+ };
3049
+ url: '/v1/nfts';
3050
+ };
3051
+
3052
+ export type GetV1NftsErrors = {
3053
+ /**
3054
+ * Not found
3055
+ */
3056
+ 404: unknown;
3057
+ /**
3058
+ * Internal server error
3059
+ */
3060
+ 500: {
3061
+ error: string;
3062
+ };
3063
+ };
3064
+
3065
+ export type GetV1NftsError = GetV1NftsErrors[keyof GetV1NftsErrors];
3066
+
3067
+ export type GetV1NftsResponses = {
3068
+ /**
3069
+ * Success
3070
+ */
3071
+ 200: {
3072
+ data: Array<{
3073
+ name?: string;
3074
+ description?: string;
3075
+ image_url?: string;
3076
+ video_url?: string;
3077
+ animation_url?: string;
3078
+ background_color?: string;
3079
+ external_url?: string;
3080
+ status?: string;
3081
+ metadata_url?: string;
3082
+ extra_metadata?: {
3083
+ [key: string]: unknown;
3084
+ } & {
3085
+ attributes?: Array<{
3086
+ trait_type: string;
3087
+ value: string | number;
3088
+ display_type?: string;
3089
+ }> | {
3090
+ [key: string]: unknown;
3091
+ };
3092
+ properties?: {
3093
+ [key: string]: unknown;
3094
+ };
3095
+ };
3096
+ collection?: {
3097
+ name?: string;
3098
+ description?: string;
3099
+ image_url?: string;
3100
+ banner_image_url?: string;
3101
+ featured_image_url?: string;
3102
+ external_link?: string;
3103
+ };
3104
+ contract?: {
3105
+ /**
3106
+ * The chain ID of a relevant entry
3107
+ */
3108
+ chain_id: number;
3109
+ address: string;
3110
+ name?: string;
3111
+ symbol?: string;
3112
+ type?: 'erc721' | 'erc1155';
3113
+ };
3114
+ chain_id: number;
3115
+ contract_address: string;
3116
+ token_id: string;
3117
+ token_type: string;
3118
+ balance?: string;
3119
+ }>;
3120
+ };
3121
+ };
3122
+
3123
+ export type GetV1NftsResponse = GetV1NftsResponses[keyof GetV1NftsResponses];
3124
+
3125
+ export type GetV1NftsOwnersByContractAddressData = {
3126
+ body?: never;
3127
+ path: {
3128
+ contract_address: string;
3129
+ };
3130
+ query?: {
3131
+ /**
3132
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3133
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3134
+ * Optional, because a single chain can as well be specified as a subdomain
3135
+ */
3136
+ chain?: Array<number> | (number | null) | unknown;
3137
+ /**
3138
+ * The number of items to return
3139
+ */
3140
+ limit?: number;
3141
+ page?: number | null;
3142
+ };
3143
+ url: '/v1/nfts/owners/{contract_address}';
3144
+ };
3145
+
3146
+ export type GetV1NftsOwnersByContractAddressErrors = {
3147
+ /**
3148
+ * Not found
3149
+ */
3150
+ 404: unknown;
3151
+ /**
3152
+ * Internal server error
3153
+ */
3154
+ 500: {
3155
+ error: string;
3156
+ };
3157
+ };
3158
+
3159
+ export type GetV1NftsOwnersByContractAddressError = GetV1NftsOwnersByContractAddressErrors[keyof GetV1NftsOwnersByContractAddressErrors];
3160
+
3161
+ export type GetV1NftsOwnersByContractAddressResponses = {
3162
+ /**
3163
+ * Success
3164
+ */
3165
+ 200: Array<{
3166
+ chain_id: string;
3167
+ owner_addresses: Array<string>;
3168
+ }>;
3169
+ };
3170
+
3171
+ export type GetV1NftsOwnersByContractAddressResponse = GetV1NftsOwnersByContractAddressResponses[keyof GetV1NftsOwnersByContractAddressResponses];
3172
+
3173
+ export type GetV1NftsOwnersByContractAddressByTokenIdData = {
3174
+ body?: never;
3175
+ path: {
3176
+ contract_address: string;
3177
+ token_id: string;
3178
+ };
3179
+ query?: {
3180
+ /**
3181
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3182
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3183
+ * Optional, because a single chain can as well be specified as a subdomain
3184
+ */
3185
+ chain?: Array<number> | (number | null) | unknown;
3186
+ /**
3187
+ * The number of items to return
3188
+ */
3189
+ limit?: number;
3190
+ page?: number | null;
3191
+ };
3192
+ url: '/v1/nfts/owners/{contract_address}/{token_id}';
3193
+ };
3194
+
3195
+ export type GetV1NftsOwnersByContractAddressByTokenIdErrors = {
3196
+ /**
3197
+ * Not found
3198
+ */
3199
+ 404: unknown;
3200
+ /**
3201
+ * Internal server error
3202
+ */
3203
+ 500: {
3204
+ error: string;
3205
+ };
3206
+ };
3207
+
3208
+ export type GetV1NftsOwnersByContractAddressByTokenIdError = GetV1NftsOwnersByContractAddressByTokenIdErrors[keyof GetV1NftsOwnersByContractAddressByTokenIdErrors];
3209
+
3210
+ export type GetV1NftsOwnersByContractAddressByTokenIdResponses = {
3211
+ /**
3212
+ * Success
3213
+ */
3214
+ 200: Array<{
3215
+ chain_id: string;
3216
+ owner_addresses: Array<string>;
3217
+ }>;
3218
+ };
3219
+
3220
+ export type GetV1NftsOwnersByContractAddressByTokenIdResponse = GetV1NftsOwnersByContractAddressByTokenIdResponses[keyof GetV1NftsOwnersByContractAddressByTokenIdResponses];
3221
+
3222
+ export type GetV1NftsTransfersData = {
3223
+ body?: never;
3224
+ path?: never;
3225
+ query?: {
3226
+ /**
3227
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3228
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3229
+ * Optional, because a single chain can as well be specified as a subdomain
3230
+ */
3231
+ chain?: Array<number> | (number | null) | unknown;
3232
+ /**
3233
+ * The number of items to return
3234
+ */
3235
+ limit?: number;
3236
+ page?: number | null;
3237
+ /**
3238
+ * Whether to include metadata for the tokens
3239
+ */
3240
+ metadata?: 'true' | 'false';
3241
+ /**
3242
+ * Whether to include sale details for NFT transfers
3243
+ */
3244
+ sales?: 'true' | 'false';
3245
+ /**
3246
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3247
+ */
3248
+ include_owners?: 'true' | 'false';
3249
+ /**
3250
+ * Whether to resolve metadata IPFS or Arweave links
3251
+ */
3252
+ resolve_metadata_links?: 'true' | 'false';
3253
+ /**
3254
+ * Filter by block number greater than or equal to
3255
+ */
3256
+ block_number_from?: number | string;
3257
+ /**
3258
+ * Filter by block number less than or equal to
3259
+ */
3260
+ block_number_to?: number | string;
3261
+ owner_address?: string;
3262
+ };
3263
+ url: '/v1/nfts/transfers';
3264
+ };
3265
+
3266
+ export type GetV1NftsTransfersErrors = {
3267
+ /**
3268
+ * Not found
3269
+ */
3270
+ 404: unknown;
3271
+ /**
3272
+ * Internal server error
3273
+ */
3274
+ 500: {
3275
+ error: string;
3276
+ };
3277
+ };
3278
+
3279
+ export type GetV1NftsTransfersError = GetV1NftsTransfersErrors[keyof GetV1NftsTransfersErrors];
3280
+
3281
+ export type GetV1NftsTransfersResponses = {
3282
+ /**
3283
+ * Success
3284
+ */
3285
+ 200: {
3286
+ data: Array<{
3287
+ token_id: string;
3288
+ chain_id: number;
3289
+ block_number: string;
3290
+ block_hash?: string;
3291
+ block_timestamp: string;
3292
+ transaction_hash: string;
3293
+ from_address: string;
3294
+ to_address: string;
3295
+ log_index: number;
3296
+ contract_address: string;
3297
+ transfer_type: 'mint' | 'sale' | 'transfer';
3298
+ token_type: string;
3299
+ amount: string;
3300
+ nft_metadata?: {
3301
+ name?: string;
3302
+ description?: string;
3303
+ image_url?: string;
3304
+ video_url?: string;
3305
+ animation_url?: string;
3306
+ background_color?: string;
3307
+ external_url?: string;
3308
+ status?: string;
3309
+ metadata_url?: string;
3310
+ owner_addresses?: Array<string>;
3311
+ extra_metadata?: {
3312
+ [key: string]: unknown;
3313
+ } & {
3314
+ attributes?: Array<{
3315
+ trait_type: string;
3316
+ value: string | number;
3317
+ display_type?: string;
3318
+ }> | {
3319
+ [key: string]: unknown;
3320
+ };
3321
+ properties?: {
3322
+ [key: string]: unknown;
3323
+ };
3324
+ };
3325
+ collection?: {
3326
+ name?: string;
3327
+ description?: string;
3328
+ image_url?: string;
3329
+ banner_image_url?: string;
3330
+ featured_image_url?: string;
3331
+ external_link?: string;
3332
+ };
3333
+ contract?: {
3334
+ /**
3335
+ * The chain ID of a relevant entry
3336
+ */
3337
+ chain_id: number;
3338
+ address: string;
3339
+ name?: string;
3340
+ symbol?: string;
3341
+ type?: 'erc721' | 'erc1155';
3342
+ };
3343
+ };
3344
+ nft_sale?: {
3345
+ transaction_hash: string;
3346
+ items_sold: Array<{
3347
+ token_address: string;
3348
+ token_id: string;
3349
+ amount: string;
3350
+ token_type: string;
3351
+ from_address?: string;
3352
+ to_address?: string;
3353
+ }>;
3354
+ payment: Array<{
3355
+ token_address: string;
3356
+ token_id: string;
3357
+ amount: string;
3358
+ token_type: string;
3359
+ from_address?: string;
3360
+ to_address?: string;
3361
+ }>;
3362
+ marketplace_address: string;
3363
+ marketplace_name: string;
3364
+ };
3365
+ }>;
3366
+ };
3367
+ };
3368
+
3369
+ export type GetV1NftsTransfersResponse = GetV1NftsTransfersResponses[keyof GetV1NftsTransfersResponses];
3370
+
3371
+ export type GetV1NftsTransfersTransactionByTransactionHashData = {
3372
+ body?: never;
3373
+ path: {
3374
+ transaction_hash: string;
3375
+ };
3376
+ query?: {
3377
+ /**
3378
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3379
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3380
+ * Optional, because a single chain can as well be specified as a subdomain
3381
+ */
3382
+ chain?: Array<number> | (number | null) | unknown;
3383
+ /**
3384
+ * The number of items to return
3385
+ */
3386
+ limit?: number;
3387
+ page?: number | null;
3388
+ /**
3389
+ * Whether to include metadata for the tokens
3390
+ */
3391
+ metadata?: 'true' | 'false';
3392
+ /**
3393
+ * Whether to include sale details for NFT transfers
3394
+ */
3395
+ sales?: 'true' | 'false';
3396
+ /**
3397
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3398
+ */
3399
+ include_owners?: 'true' | 'false';
3400
+ /**
3401
+ * Whether to resolve metadata IPFS or Arweave links
3402
+ */
3403
+ resolve_metadata_links?: 'true' | 'false';
3404
+ };
3405
+ url: '/v1/nfts/transfers/transaction/{transaction_hash}';
3406
+ };
3407
+
3408
+ export type GetV1NftsTransfersTransactionByTransactionHashErrors = {
3409
+ /**
3410
+ * Not found
3411
+ */
3412
+ 404: unknown;
3413
+ /**
3414
+ * Internal server error
3415
+ */
3416
+ 500: {
3417
+ error: string;
3418
+ };
3419
+ };
3420
+
3421
+ export type GetV1NftsTransfersTransactionByTransactionHashError = GetV1NftsTransfersTransactionByTransactionHashErrors[keyof GetV1NftsTransfersTransactionByTransactionHashErrors];
3422
+
3423
+ export type GetV1NftsTransfersTransactionByTransactionHashResponses = {
3424
+ /**
3425
+ * Success
3426
+ */
3427
+ 200: {
3428
+ data: Array<{
3429
+ token_id: string;
3430
+ chain_id: number;
3431
+ block_number: string;
3432
+ block_hash?: string;
3433
+ block_timestamp: string;
3434
+ transaction_hash: string;
3435
+ from_address: string;
3436
+ to_address: string;
3437
+ log_index: number;
3438
+ contract_address: string;
3439
+ transfer_type: 'mint' | 'sale' | 'transfer';
3440
+ token_type: string;
3441
+ amount: string;
3442
+ nft_metadata?: {
3443
+ name?: string;
3444
+ description?: string;
3445
+ image_url?: string;
3446
+ video_url?: string;
3447
+ animation_url?: string;
3448
+ background_color?: string;
3449
+ external_url?: string;
3450
+ status?: string;
3451
+ metadata_url?: string;
3452
+ owner_addresses?: Array<string>;
3453
+ extra_metadata?: {
3454
+ [key: string]: unknown;
3455
+ } & {
3456
+ attributes?: Array<{
3457
+ trait_type: string;
3458
+ value: string | number;
3459
+ display_type?: string;
3460
+ }> | {
3461
+ [key: string]: unknown;
3462
+ };
3463
+ properties?: {
3464
+ [key: string]: unknown;
3465
+ };
3466
+ };
3467
+ collection?: {
3468
+ name?: string;
3469
+ description?: string;
3470
+ image_url?: string;
3471
+ banner_image_url?: string;
3472
+ featured_image_url?: string;
3473
+ external_link?: string;
3474
+ };
3475
+ contract?: {
3476
+ /**
3477
+ * The chain ID of a relevant entry
3478
+ */
3479
+ chain_id: number;
3480
+ address: string;
3481
+ name?: string;
3482
+ symbol?: string;
3483
+ type?: 'erc721' | 'erc1155';
3484
+ };
3485
+ };
3486
+ nft_sale?: {
3487
+ transaction_hash: string;
3488
+ items_sold: Array<{
3489
+ token_address: string;
3490
+ token_id: string;
3491
+ amount: string;
3492
+ token_type: string;
3493
+ from_address?: string;
3494
+ to_address?: string;
3495
+ }>;
3496
+ payment: Array<{
3497
+ token_address: string;
3498
+ token_id: string;
3499
+ amount: string;
3500
+ token_type: string;
3501
+ from_address?: string;
3502
+ to_address?: string;
3503
+ }>;
3504
+ marketplace_address: string;
3505
+ marketplace_name: string;
3506
+ };
3507
+ }>;
3508
+ };
3509
+ };
3510
+
3511
+ export type GetV1NftsTransfersTransactionByTransactionHashResponse = GetV1NftsTransfersTransactionByTransactionHashResponses[keyof GetV1NftsTransfersTransactionByTransactionHashResponses];
3512
+
3513
+ export type GetV1NftsTransfersByContractAddressData = {
3514
+ body?: never;
3515
+ path: {
3516
+ contract_address: string;
3517
+ };
3518
+ query?: {
3519
+ /**
3520
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3521
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3522
+ * Optional, because a single chain can as well be specified as a subdomain
3523
+ */
3524
+ chain?: Array<number> | (number | null) | unknown;
3525
+ /**
3526
+ * The number of items to return
3527
+ */
3528
+ limit?: number;
3529
+ page?: number | null;
3530
+ /**
3531
+ * Whether to include metadata for the tokens
3532
+ */
3533
+ metadata?: 'true' | 'false';
3534
+ /**
3535
+ * Whether to include sale details for NFT transfers
3536
+ */
3537
+ sales?: 'true' | 'false';
3538
+ /**
3539
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3540
+ */
3541
+ include_owners?: 'true' | 'false';
3542
+ /**
3543
+ * Whether to resolve metadata IPFS or Arweave links
3544
+ */
3545
+ resolve_metadata_links?: 'true' | 'false';
3546
+ };
3547
+ url: '/v1/nfts/transfers/{contract_address}';
3548
+ };
3549
+
3550
+ export type GetV1NftsTransfersByContractAddressErrors = {
3551
+ /**
3552
+ * Not found
3553
+ */
3554
+ 404: unknown;
3555
+ /**
3556
+ * Internal server error
3557
+ */
3558
+ 500: {
3559
+ error: string;
3560
+ };
3561
+ };
3562
+
3563
+ export type GetV1NftsTransfersByContractAddressError = GetV1NftsTransfersByContractAddressErrors[keyof GetV1NftsTransfersByContractAddressErrors];
3564
+
3565
+ export type GetV1NftsTransfersByContractAddressResponses = {
3566
+ /**
3567
+ * Success
3568
+ */
3569
+ 200: {
3570
+ data: Array<{
3571
+ token_id: string;
3572
+ chain_id: number;
3573
+ block_number: string;
3574
+ block_hash?: string;
3575
+ block_timestamp: string;
3576
+ transaction_hash: string;
3577
+ from_address: string;
3578
+ to_address: string;
3579
+ log_index: number;
3580
+ contract_address: string;
3581
+ transfer_type: 'mint' | 'sale' | 'transfer';
3582
+ token_type: string;
3583
+ amount: string;
3584
+ nft_metadata?: {
3585
+ name?: string;
3586
+ description?: string;
3587
+ image_url?: string;
3588
+ video_url?: string;
3589
+ animation_url?: string;
3590
+ background_color?: string;
3591
+ external_url?: string;
3592
+ status?: string;
3593
+ metadata_url?: string;
3594
+ owner_addresses?: Array<string>;
3595
+ extra_metadata?: {
3596
+ [key: string]: unknown;
3597
+ } & {
3598
+ attributes?: Array<{
3599
+ trait_type: string;
3600
+ value: string | number;
3601
+ display_type?: string;
3602
+ }> | {
3603
+ [key: string]: unknown;
3604
+ };
3605
+ properties?: {
3606
+ [key: string]: unknown;
3607
+ };
3608
+ };
3609
+ collection?: {
3610
+ name?: string;
3611
+ description?: string;
3612
+ image_url?: string;
3613
+ banner_image_url?: string;
3614
+ featured_image_url?: string;
3615
+ external_link?: string;
3616
+ };
3617
+ contract?: {
3618
+ /**
3619
+ * The chain ID of a relevant entry
3620
+ */
3621
+ chain_id: number;
3622
+ address: string;
3623
+ name?: string;
3624
+ symbol?: string;
3625
+ type?: 'erc721' | 'erc1155';
3626
+ };
3627
+ };
3628
+ nft_sale?: {
3629
+ transaction_hash: string;
3630
+ items_sold: Array<{
3631
+ token_address: string;
3632
+ token_id: string;
3633
+ amount: string;
3634
+ token_type: string;
3635
+ from_address?: string;
3636
+ to_address?: string;
3637
+ }>;
3638
+ payment: Array<{
3639
+ token_address: string;
3640
+ token_id: string;
3641
+ amount: string;
3642
+ token_type: string;
3643
+ from_address?: string;
3644
+ to_address?: string;
3645
+ }>;
3646
+ marketplace_address: string;
3647
+ marketplace_name: string;
3648
+ };
3649
+ }>;
3650
+ };
3651
+ };
3652
+
3653
+ export type GetV1NftsTransfersByContractAddressResponse = GetV1NftsTransfersByContractAddressResponses[keyof GetV1NftsTransfersByContractAddressResponses];
3654
+
3655
+ export type GetV1NftsByContractAddressData = {
3656
+ body?: never;
3657
+ path: {
3658
+ contract_address: string;
3659
+ };
3660
+ query?: {
3661
+ /**
3662
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3663
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3664
+ * Optional, because a single chain can as well be specified as a subdomain
3665
+ */
3666
+ chain?: Array<number> | (number | null) | unknown;
3667
+ /**
3668
+ * The number of items to return
3669
+ */
3670
+ limit?: number;
3671
+ page?: number | null;
3672
+ /**
3673
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3674
+ */
3675
+ include_owners?: 'true' | 'false';
3676
+ /**
3677
+ * Whether to resolve metadata IPFS or Arweave links
3678
+ */
3679
+ resolve_metadata_links?: 'true' | 'false';
3680
+ };
3681
+ url: '/v1/nfts/{contract_address}';
3682
+ };
3683
+
3684
+ export type GetV1NftsByContractAddressErrors = {
3685
+ /**
3686
+ * Not found
3687
+ */
3688
+ 404: unknown;
3689
+ /**
3690
+ * Internal server error
3691
+ */
3692
+ 500: {
3693
+ error: string;
3694
+ };
3695
+ };
3696
+
3697
+ export type GetV1NftsByContractAddressError = GetV1NftsByContractAddressErrors[keyof GetV1NftsByContractAddressErrors];
3698
+
3699
+ export type GetV1NftsByContractAddressResponses = {
3700
+ /**
3701
+ * Success
3702
+ */
3703
+ 200: {
3704
+ data: Array<{
3705
+ name?: string;
3706
+ description?: string;
3707
+ image_url?: string;
3708
+ video_url?: string;
3709
+ animation_url?: string;
3710
+ background_color?: string;
3711
+ external_url?: string;
3712
+ status?: string;
3713
+ metadata_url?: string;
3714
+ owner_addresses: Array<string>;
3715
+ extra_metadata?: {
3716
+ [key: string]: unknown;
3717
+ } & {
3718
+ attributes?: Array<{
3719
+ trait_type: string;
3720
+ value: string | number;
3721
+ display_type?: string;
3722
+ }> | {
3723
+ [key: string]: unknown;
3724
+ };
3725
+ properties?: {
3726
+ [key: string]: unknown;
3727
+ };
3728
+ };
3729
+ collection?: {
3730
+ name?: string;
3731
+ description?: string;
3732
+ image_url?: string;
3733
+ banner_image_url?: string;
3734
+ featured_image_url?: string;
3735
+ external_link?: string;
3736
+ };
3737
+ contract?: {
3738
+ /**
3739
+ * The chain ID of a relevant entry
3740
+ */
3741
+ chain_id: number;
3742
+ address: string;
3743
+ name?: string;
3744
+ symbol?: string;
3745
+ type?: 'erc721' | 'erc1155';
3746
+ };
3747
+ chain_id: number;
3748
+ contract_address: string;
3749
+ token_id: string;
3750
+ token_type: string;
3751
+ balance?: string;
3752
+ }>;
3753
+ };
3754
+ };
3755
+
3756
+ export type GetV1NftsByContractAddressResponse = GetV1NftsByContractAddressResponses[keyof GetV1NftsByContractAddressResponses];
3757
+
3758
+ export type GetV1NftsTransfersByContractAddressByTokenIdData = {
3759
+ body?: never;
3760
+ path: {
3761
+ contract_address: string;
3762
+ token_id: string;
3763
+ };
3764
+ query?: {
3765
+ /**
3766
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3767
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3768
+ * Optional, because a single chain can as well be specified as a subdomain
3769
+ */
3770
+ chain?: Array<number> | (number | null) | unknown;
3771
+ /**
3772
+ * The number of items to return
3773
+ */
3774
+ limit?: number;
3775
+ page?: number | null;
3776
+ /**
3777
+ * Whether to include metadata for the tokens
3778
+ */
3779
+ metadata?: 'true' | 'false';
3780
+ /**
3781
+ * Whether to include sale details for NFT transfers
3782
+ */
3783
+ sales?: 'true' | 'false';
3784
+ /**
3785
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3786
+ */
3787
+ include_owners?: 'true' | 'false';
3788
+ /**
3789
+ * Whether to resolve metadata IPFS or Arweave links
3790
+ */
3791
+ resolve_metadata_links?: 'true' | 'false';
3792
+ };
3793
+ url: '/v1/nfts/transfers/{contract_address}/{token_id}';
3794
+ };
3795
+
3796
+ export type GetV1NftsTransfersByContractAddressByTokenIdErrors = {
3797
+ /**
3798
+ * Not found
3799
+ */
3800
+ 404: unknown;
3801
+ /**
3802
+ * Internal server error
3803
+ */
3804
+ 500: {
3805
+ error: string;
3806
+ };
3807
+ };
3808
+
3809
+ export type GetV1NftsTransfersByContractAddressByTokenIdError = GetV1NftsTransfersByContractAddressByTokenIdErrors[keyof GetV1NftsTransfersByContractAddressByTokenIdErrors];
3810
+
3811
+ export type GetV1NftsTransfersByContractAddressByTokenIdResponses = {
3812
+ /**
3813
+ * Success
3814
+ */
3815
+ 200: {
3816
+ data: Array<{
3817
+ token_id: string;
3818
+ chain_id: number;
3819
+ block_number: string;
3820
+ block_hash?: string;
3821
+ block_timestamp: string;
3822
+ transaction_hash: string;
3823
+ from_address: string;
3824
+ to_address: string;
3825
+ log_index: number;
3826
+ contract_address: string;
3827
+ transfer_type: 'mint' | 'sale' | 'transfer';
3828
+ token_type: string;
3829
+ amount: string;
3830
+ nft_metadata?: {
3831
+ name?: string;
3832
+ description?: string;
3833
+ image_url?: string;
3834
+ video_url?: string;
3835
+ animation_url?: string;
3836
+ background_color?: string;
3837
+ external_url?: string;
3838
+ status?: string;
3839
+ metadata_url?: string;
3840
+ owner_addresses?: Array<string>;
3841
+ extra_metadata?: {
3842
+ [key: string]: unknown;
3843
+ } & {
3844
+ attributes?: Array<{
3845
+ trait_type: string;
3846
+ value: string | number;
3847
+ display_type?: string;
3848
+ }> | {
3849
+ [key: string]: unknown;
3850
+ };
3851
+ properties?: {
3852
+ [key: string]: unknown;
3853
+ };
3854
+ };
3855
+ collection?: {
3856
+ name?: string;
3857
+ description?: string;
3858
+ image_url?: string;
3859
+ banner_image_url?: string;
3860
+ featured_image_url?: string;
3861
+ external_link?: string;
3862
+ };
3863
+ contract?: {
3864
+ /**
3865
+ * The chain ID of a relevant entry
3866
+ */
3867
+ chain_id: number;
3868
+ address: string;
3869
+ name?: string;
3870
+ symbol?: string;
3871
+ type?: 'erc721' | 'erc1155';
3872
+ };
3873
+ };
3874
+ nft_sale?: {
3875
+ transaction_hash: string;
3876
+ items_sold: Array<{
3877
+ token_address: string;
3878
+ token_id: string;
3879
+ amount: string;
3880
+ token_type: string;
3881
+ from_address?: string;
3882
+ to_address?: string;
3883
+ }>;
3884
+ payment: Array<{
3885
+ token_address: string;
3886
+ token_id: string;
3887
+ amount: string;
3888
+ token_type: string;
3889
+ from_address?: string;
3890
+ to_address?: string;
3891
+ }>;
3892
+ marketplace_address: string;
3893
+ marketplace_name: string;
3894
+ };
3895
+ }>;
3896
+ };
3897
+ };
3898
+
3899
+ export type GetV1NftsTransfersByContractAddressByTokenIdResponse = GetV1NftsTransfersByContractAddressByTokenIdResponses[keyof GetV1NftsTransfersByContractAddressByTokenIdResponses];
3900
+
3901
+ export type GetV1NftsByContractAddressByTokenIdData = {
3902
+ body?: never;
3903
+ path: {
3904
+ contract_address: string;
3905
+ token_id: string;
3906
+ };
3907
+ query?: {
3908
+ /**
3909
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
3910
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
3911
+ * Optional, because a single chain can as well be specified as a subdomain
3912
+ */
3913
+ chain?: Array<number> | (number | null) | unknown;
3914
+ /**
3915
+ * Whether to include owner addresses in the response (only if NFT metadata is requested)
3916
+ */
3917
+ include_owners?: 'true' | 'false';
3918
+ /**
3919
+ * Whether to resolve metadata IPFS or Arweave links
3920
+ */
3921
+ resolve_metadata_links?: 'true' | 'false';
3922
+ };
3923
+ url: '/v1/nfts/{contract_address}/{token_id}';
3924
+ };
3925
+
3926
+ export type GetV1NftsByContractAddressByTokenIdErrors = {
3927
+ /**
3928
+ * Not found
3929
+ */
3930
+ 404: unknown;
3931
+ /**
3932
+ * Internal server error
3933
+ */
3934
+ 500: {
3935
+ error: string;
3936
+ };
3937
+ };
3938
+
3939
+ export type GetV1NftsByContractAddressByTokenIdError = GetV1NftsByContractAddressByTokenIdErrors[keyof GetV1NftsByContractAddressByTokenIdErrors];
3940
+
3941
+ export type GetV1NftsByContractAddressByTokenIdResponses = {
3942
+ /**
3943
+ * Success
3944
+ */
3945
+ 200: {
3946
+ data: Array<{
3947
+ name?: string;
3948
+ description?: string;
3949
+ image_url?: string;
3950
+ video_url?: string;
3951
+ animation_url?: string;
3952
+ background_color?: string;
3953
+ external_url?: string;
3954
+ status?: string;
3955
+ metadata_url?: string;
3956
+ owner_addresses: Array<string>;
3957
+ extra_metadata?: {
3958
+ [key: string]: unknown;
3959
+ } & {
3960
+ attributes?: Array<{
3961
+ trait_type: string;
3962
+ value: string | number;
3963
+ display_type?: string;
3964
+ }> | {
3965
+ [key: string]: unknown;
3966
+ };
3967
+ properties?: {
3968
+ [key: string]: unknown;
3969
+ };
3970
+ };
3971
+ collection?: {
3972
+ name?: string;
3973
+ description?: string;
3974
+ image_url?: string;
3975
+ banner_image_url?: string;
3976
+ featured_image_url?: string;
3977
+ external_link?: string;
3978
+ };
3979
+ contract?: {
3980
+ /**
3981
+ * The chain ID of a relevant entry
3982
+ */
3983
+ chain_id: number;
3984
+ address: string;
3985
+ name?: string;
3986
+ symbol?: string;
3987
+ type?: 'erc721' | 'erc1155';
3988
+ };
3989
+ chain_id: number;
3990
+ contract_address: string;
3991
+ token_id: string;
3992
+ token_type: string;
3993
+ balance?: string;
3994
+ }>;
3995
+ };
3996
+ };
3997
+
3998
+ export type GetV1NftsByContractAddressByTokenIdResponse = GetV1NftsByContractAddressByTokenIdResponses[keyof GetV1NftsByContractAddressByTokenIdResponses];
3999
+
4000
+ export type GetV1NftsMetadataRefreshByContractAddressData = {
4001
+ body?: never;
4002
+ path: {
4003
+ contract_address: string;
4004
+ };
4005
+ query?: {
4006
+ /**
4007
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
4008
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
4009
+ * Optional, because a single chain can as well be specified as a subdomain
4010
+ */
4011
+ chain?: Array<number> | (number | null) | unknown;
4012
+ };
4013
+ url: '/v1/nfts/metadata/refresh/{contract_address}';
4014
+ };
4015
+
4016
+ export type GetV1NftsMetadataRefreshByContractAddressErrors = {
4017
+ /**
4018
+ * Bad request
4019
+ */
4020
+ 400: {
4021
+ error: string;
4022
+ };
4023
+ /**
4024
+ * Internal server error
4025
+ */
4026
+ 500: {
4027
+ error: string;
4028
+ };
4029
+ };
4030
+
4031
+ export type GetV1NftsMetadataRefreshByContractAddressError = GetV1NftsMetadataRefreshByContractAddressErrors[keyof GetV1NftsMetadataRefreshByContractAddressErrors];
4032
+
4033
+ export type GetV1NftsMetadataRefreshByContractAddressResponses = {
4034
+ /**
4035
+ * Success
4036
+ */
4037
+ 200: {
4038
+ data: {
4039
+ success: boolean;
4040
+ message: string;
4041
+ };
4042
+ };
4043
+ };
4044
+
4045
+ export type GetV1NftsMetadataRefreshByContractAddressResponse = GetV1NftsMetadataRefreshByContractAddressResponses[keyof GetV1NftsMetadataRefreshByContractAddressResponses];
4046
+
4047
+ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdData = {
4048
+ body?: never;
4049
+ path: {
4050
+ contract_address: string;
4051
+ token_id: string;
4052
+ };
4053
+ query?: {
4054
+ /**
4055
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
4056
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
4057
+ * Optional, because a single chain can as well be specified as a subdomain
4058
+ */
4059
+ chain?: Array<number> | (number | null) | unknown;
4060
+ };
4061
+ url: '/v1/nfts/metadata/refresh/{contract_address}/{token_id}';
4062
+ };
4063
+
4064
+ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdErrors = {
4065
+ /**
4066
+ * Bad request
4067
+ */
4068
+ 400: {
4069
+ error: string;
4070
+ };
4071
+ /**
4072
+ * Internal server error
4073
+ */
4074
+ 500: {
4075
+ error: string;
4076
+ };
4077
+ };
4078
+
4079
+ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdError = GetV1NftsMetadataRefreshByContractAddressByTokenIdErrors[keyof GetV1NftsMetadataRefreshByContractAddressByTokenIdErrors];
4080
+
4081
+ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdResponses = {
4082
+ /**
4083
+ * Success
4084
+ */
4085
+ 200: {
4086
+ data: {
4087
+ success: boolean;
4088
+ message: string;
4089
+ };
4090
+ };
4091
+ };
4092
+
4093
+ export type GetV1NftsMetadataRefreshByContractAddressByTokenIdResponse = GetV1NftsMetadataRefreshByContractAddressByTokenIdResponses[keyof GetV1NftsMetadataRefreshByContractAddressByTokenIdResponses];
4094
+
4095
+ export type GetV1WalletsByWalletAddressTransactionsData = {
4096
+ body?: never;
4097
+ path: {
4098
+ wallet_address: string;
4099
+ };
4100
+ query?: {
4101
+ /**
4102
+ * The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 50.
4103
+ * Use repeated query parameters, e.g., `?chain=20&chain=56`.
4104
+ * Optional, because a single chain can as well be specified as a subdomain
4105
+ */
4106
+ chain?: Array<number> | (number | null) | unknown;
4107
+ /**
4108
+ * Filter by block number
4109
+ */
4110
+ filter_block_number?: number | null;
4111
+ /**
4112
+ * Filter by block number greater than or equal to
4113
+ */
4114
+ filter_block_number_gte?: number | null;
4115
+ /**
4116
+ * Filter by block number greater than
4117
+ */
4118
+ filter_block_number_gt?: number | null;
4119
+ /**
4120
+ * Filter by block number less than or equal to
4121
+ */
4122
+ filter_block_number_lte?: number | null;
4123
+ /**
4124
+ * Filter by block number less than
4125
+ */
4126
+ filter_block_number_lt?: number | null;
4127
+ /**
4128
+ * Filter by block hash
4129
+ */
4130
+ filter_block_hash?: string;
4131
+ /**
4132
+ * Filter by block timestamp
4133
+ */
4134
+ filter_block_timestamp?: number | null;
4135
+ /**
4136
+ * Filter by block timestamp greater than or equal to
4137
+ */
4138
+ filter_block_timestamp_gte?: number | null;
4139
+ /**
4140
+ * Filter by block timestamp greater than
4141
+ */
4142
+ filter_block_timestamp_gt?: number | null;
4143
+ /**
4144
+ * Filter by block timestamp less than or equal to
4145
+ */
4146
+ filter_block_timestamp_lte?: number | null;
4147
+ /**
4148
+ * Filter by block timestamp less than
4149
+ */
4150
+ filter_block_timestamp_lt?: number | null;
4151
+ /**
4152
+ * Field to sort results by
4153
+ */
4154
+ sort_by?: 'block_number' | string;
4155
+ /**
4156
+ * Sort order (asc or desc)
4157
+ */
4158
+ sort_order?: 'asc' | 'desc';
4159
+ group_by?: Array<string | null> | (string | null) | unknown;
4160
+ aggregate?: Array<string | null> | (string | null) | unknown;
4161
+ /**
4162
+ * Filter by transaction index
4163
+ */
4164
+ filter_transaction_index?: number | null;
4165
+ /**
4166
+ * Filter by transaction index greater than or equal to
4167
+ */
4168
+ filter_transaction_index_gte?: number | null;
4169
+ /**
4170
+ * Filter by transaction index greater than
4171
+ */
4172
+ filter_transaction_index_gt?: number | null;
4173
+ /**
4174
+ * Filter by transaction index less than or equal to
4175
+ */
4176
+ filter_transaction_index_lte?: number | null;
4177
+ /**
4178
+ * Filter by transaction index less than
4179
+ */
4180
+ filter_transaction_index_lt?: number | null;
4181
+ /**
4182
+ * Enable ABI decoding of the transactions/events data
4183
+ */
4184
+ decode?: boolean | null;
4185
+ /**
4186
+ * Filter by transaction hash
4187
+ */
4188
+ filter_hash?: string;
4189
+ /**
4190
+ * Filter by value
4191
+ */
4192
+ filter_value?: number | null;
4193
+ /**
4194
+ * Filter by value greater than or equal to
4195
+ */
4196
+ filter_value_gte?: number | null;
4197
+ /**
4198
+ * Filter by value greater than
4199
+ */
4200
+ filter_value_gt?: number | null;
4201
+ /**
4202
+ * Filter by value less than or equal to
4203
+ */
4204
+ filter_value_lte?: number | null;
4205
+ /**
4206
+ * Filter by value less than
4207
+ */
4208
+ filter_value_lt?: number | null;
4209
+ /**
4210
+ * Filter by gas price
4211
+ */
4212
+ filter_gas_price?: number | null;
4213
+ /**
4214
+ * Filter by gas price greater than or equal to
4215
+ */
4216
+ filter_gas_price_gte?: number | null;
4217
+ /**
4218
+ * Filter by gas price greater than
4219
+ */
4220
+ filter_gas_price_gt?: number | null;
4221
+ /**
4222
+ * Filter by gas price less than or equal to
4223
+ */
4224
+ filter_gas_price_lte?: number | null;
4225
+ /**
4226
+ * Filter by gas price less than
4227
+ */
4228
+ filter_gas_price_lt?: number | null;
4229
+ /**
4230
+ * Filter by gas
4231
+ */
4232
+ filter_gas?: number | null;
4233
+ /**
4234
+ * Filter by gas greater than or equal to
4235
+ */
4236
+ filter_gas_gte?: number | null;
4237
+ /**
4238
+ * Filter by gas greater than
4239
+ */
4240
+ filter_gas_gt?: number | null;
4241
+ /**
4242
+ * Filter by gas less than or equal to
4243
+ */
4244
+ filter_gas_lte?: number | null;
4245
+ /**
4246
+ * Filter by gas less than
4247
+ */
4248
+ filter_gas_lt?: number | null;
4249
+ /**
4250
+ * Filter by function selector
4251
+ */
4252
+ filter_function_selector?: string;
4253
+ /**
4254
+ * The number of items to return
4255
+ */
4256
+ limit?: number;
4257
+ page?: number | null;
4258
+ };
4259
+ url: '/v1/wallets/{wallet_address}/transactions';
4260
+ };
4261
+
4262
+ export type GetV1WalletsByWalletAddressTransactionsErrors = {
4263
+ /**
4264
+ * Bad request
4265
+ */
4266
+ 400: {
4267
+ error: string;
4268
+ };
4269
+ /**
4270
+ * Internal server error
4271
+ */
4272
+ 500: {
4273
+ error: string;
4274
+ };
4275
+ };
4276
+
4277
+ export type GetV1WalletsByWalletAddressTransactionsError = GetV1WalletsByWalletAddressTransactionsErrors[keyof GetV1WalletsByWalletAddressTransactionsErrors];
4278
+
4279
+ export type GetV1WalletsByWalletAddressTransactionsResponses = {
4280
+ /**
4281
+ * Successful response
4282
+ */
4283
+ 200: {
4284
+ data?: Array<{
4285
+ chain_id: number;
4286
+ block_number: string;
4287
+ block_hash: string;
4288
+ block_timestamp: string;
4289
+ hash: string;
4290
+ nonce: number;
4291
+ transaction_index: number;
4292
+ from_address: string;
4293
+ to_address: string;
4294
+ value: number;
4295
+ gas_price: number;
4296
+ gas: number;
4297
+ function_selector: string;
4298
+ data: string;
4299
+ max_fee_per_gas: number;
4300
+ max_priority_fee_per_gas: number;
4301
+ transaction_type: number;
4302
+ r: number;
4303
+ s: number;
4304
+ v: number;
4305
+ access_list_json?: string;
4306
+ contract_address?: string;
4307
+ gas_used?: number;
4308
+ cumulative_gas_used?: number;
4309
+ effective_gas_price?: number;
4310
+ blob_gas_used?: number;
4311
+ blob_gas_price?: number;
4312
+ logs_bloom?: string;
4313
+ status?: number;
4314
+ decoded?: {
4315
+ name: string;
4316
+ signature: string;
4317
+ inputs?: {
4318
+ [key: string]: unknown;
4319
+ };
4320
+ };
4321
+ /**
4322
+ * @deprecated
4323
+ */
4324
+ decodedData?: {
4325
+ name: string;
4326
+ signature: string;
4327
+ inputs?: {
4328
+ [key: string]: unknown;
4329
+ };
4330
+ };
4331
+ }>;
4332
+ aggregations?: unknown;
4333
+ meta: {
4334
+ chain_ids: Array<number>;
4335
+ address?: string;
4336
+ signature?: string;
4337
+ page: number;
4338
+ limit_per_chain: number;
4339
+ total_items: number;
4340
+ total_pages: number;
4341
+ };
4342
+ };
4343
+ };
4344
+
4345
+ export type GetV1WalletsByWalletAddressTransactionsResponse = GetV1WalletsByWalletAddressTransactionsResponses[keyof GetV1WalletsByWalletAddressTransactionsResponses];
4346
+
4347
+ export type ClientOptions = {
4348
+ baseUrl: 'https://{chainId}.insight.thirdweb.com/' | (string & {});
4349
+ };