@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.
- package/README.md +345 -0
- package/constants/chains/b3Chain.js +2 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/cjs/anyspend/abis/abi-usdc-base.js +602 -0
- package/dist/cjs/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/cjs/anyspend/abis/erc20-staking.js +301 -0
- package/dist/cjs/anyspend/constants/index.d.ts +28 -0
- package/dist/cjs/anyspend/constants/index.js +72 -0
- package/dist/cjs/anyspend/index.d.ts +13 -0
- package/dist/cjs/anyspend/index.js +35 -0
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpend.js +700 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/cjs/anyspend/react/components/AnySpendBuySpin.js +333 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +399 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFT.js +31 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/AnySpendNFTButton.js +19 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/AnySpendStakeB3.js +269 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/cjs/anyspend/react/components/AnySpendTournament.js +21 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/cjs/anyspend/react/components/common/ChainTokenIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/cjs/anyspend/react/components/common/HowItWorks.js +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +391 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistory.js +24 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/OrderHistoryItem.js +38 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/OrderStatus.js +14 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/cjs/anyspend/react/components/common/OrderToken.js +59 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +50 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +46 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +124 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentMethodIcons.js +15 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOneClick.js +27 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/PaymentOptions.js +7 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentStripeWeb2.js +153 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/PaymentVendorUI.js +23 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/common/TokenBalance.js +21 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/EthIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/SolIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/cjs/anyspend/react/components/icons/USDCIcon.js +7 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/cjs/anyspend/react/components/modals/EnterRecipientModal.js +21 -0
- package/dist/cjs/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/cjs/anyspend/react/hooks/index.js +29 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +83 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.js +68 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +37 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.js +20 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendQuote.js +52 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendSendPermitData.js +39 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendTokens.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/cjs/anyspend/react/hooks/useCoinbaseOnrampOptions.js +19 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/cjs/anyspend/react/hooks/useGeoOnrampOptions.js +53 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/cjs/anyspend/react/hooks/useGetGeo.js +15 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/cjs/anyspend/react/hooks/usePermitData.js +158 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/cjs/anyspend/react/hooks/useStripeClientSecret.js +18 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useStripeSupport.js +20 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/cjs/anyspend/react/providers/AnyspendProvider.js +42 -0
- package/dist/cjs/anyspend/services/anyspend.d.ts +372 -0
- package/dist/cjs/anyspend/services/anyspend.js +126 -0
- package/dist/cjs/anyspend/types/chain.d.ts +26 -0
- package/dist/cjs/anyspend/types/chain.js +8 -0
- package/dist/cjs/anyspend/types/custom.d.ts +130 -0
- package/dist/cjs/anyspend/types/custom.js +19 -0
- package/dist/cjs/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/cjs/anyspend/types/globalWallet.js +10 -0
- package/dist/cjs/anyspend/types/index.d.ts +13 -0
- package/dist/cjs/anyspend/types/index.js +29 -0
- package/dist/cjs/anyspend/types/nft.d.ts +267 -0
- package/dist/cjs/anyspend/types/nft.js +36 -0
- package/dist/cjs/anyspend/types/onramp.d.ts +25 -0
- package/dist/cjs/anyspend/types/onramp.js +17 -0
- package/dist/cjs/anyspend/types/order.d.ts +1771 -0
- package/dist/cjs/anyspend/types/order.js +85 -0
- package/dist/cjs/anyspend/types/permit.d.ts +21 -0
- package/dist/cjs/anyspend/types/permit.js +11 -0
- package/dist/cjs/anyspend/types/relay.d.ts +10 -0
- package/dist/cjs/anyspend/types/relay.js +12 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.js +60 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/cjs/anyspend/types/req-res/getCoinbaseOnrampOptions.js +31 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.js +23 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/cjs/anyspend/types/req-res/getOrderByCreator.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.js +11 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +46 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/cjs/anyspend/types/req-res/getTokenList.js +18 -0
- package/dist/cjs/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/cjs/anyspend/types/req-res/index.js +24 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/cjs/anyspend/types/req-res/sendPermitData.js +11 -0
- package/dist/cjs/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/cjs/anyspend/types/req-res/stripe.js +1 -0
- package/dist/cjs/anyspend/types/swap.d.ts +119 -0
- package/dist/cjs/anyspend/types/swap.js +13 -0
- package/dist/cjs/anyspend/types/token.d.ts +34 -0
- package/dist/cjs/anyspend/types/token.js +14 -0
- package/dist/cjs/anyspend/types/tournament.d.ts +174 -0
- package/dist/cjs/anyspend/types/tournament.js +24 -0
- package/dist/cjs/anyspend/types/transaction.d.ts +84 -0
- package/dist/cjs/anyspend/types/transaction.js +34 -0
- package/dist/cjs/anyspend/utils/address.d.ts +4 -0
- package/dist/cjs/anyspend/utils/address.js +29 -0
- package/dist/cjs/anyspend/utils/chain.d.ts +25 -0
- package/dist/cjs/anyspend/utils/chain.js +294 -0
- package/dist/cjs/anyspend/utils/format.d.ts +6 -0
- package/dist/cjs/anyspend/utils/format.js +59 -0
- package/dist/cjs/anyspend/utils/index.d.ts +8 -0
- package/dist/cjs/anyspend/utils/index.js +24 -0
- package/dist/cjs/anyspend/utils/json.d.ts +1 -0
- package/dist/cjs/anyspend/utils/json.js +6 -0
- package/dist/cjs/anyspend/utils/number.d.ts +13 -0
- package/dist/cjs/anyspend/utils/number.js +90 -0
- package/dist/cjs/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/cjs/anyspend/utils/orderPayload.js +56 -0
- package/dist/cjs/anyspend/utils/string.d.ts +1 -0
- package/dist/cjs/anyspend/utils/string.js +9 -0
- package/dist/cjs/anyspend/utils/token.d.ts +7 -0
- package/dist/cjs/anyspend/utils/token.js +73 -0
- package/dist/cjs/generated/chain-networks.json +483 -0
- package/dist/cjs/global-account/app.d.ts +4 -0
- package/dist/cjs/global-account/app.js +65 -0
- package/dist/cjs/global-account/app.native.d.ts +5 -0
- package/dist/cjs/global-account/app.native.js +90 -0
- package/dist/cjs/global-account/bsmnt.d.ts +4 -0
- package/dist/cjs/global-account/bsmnt.js +69 -0
- package/dist/cjs/global-account/bsmnt.native.d.ts +5 -0
- package/dist/cjs/global-account/bsmnt.native.js +93 -0
- package/dist/cjs/global-account/index.d.ts +9 -0
- package/dist/cjs/global-account/index.js +27 -0
- package/dist/cjs/global-account/index.native.d.ts +3 -0
- package/dist/cjs/global-account/index.native.js +18 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/cjs/global-account/react/components/AccountAssets/AccountAssets.js +13 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/B3DynamicModal.js +92 -0
- package/dist/cjs/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/cjs/global-account/react/components/B3Provider.js +118 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/cjs/global-account/react/components/B3Provider.native.js +76 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ManageAccount/ManageAccount.js +85 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/cjs/global-account/react/components/MintButton/MintButton.js +51 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/cjs/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/cjs/global-account/react/components/RelayKitProviderWrapper.js +29 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissions.js +83 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/cjs/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +26 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3.js +45 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +203 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +51 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/AuthButton.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/PermissionItem.js +8 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/components/WalletRow.js +9 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStep.js +89 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +76 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +56 -0
- package/dist/cjs/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/cjs/global-account/react/components/StyleRoot.js +10 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/cjs/global-account/react/components/Transak/TransakModal.js +113 -0
- package/dist/cjs/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/cjs/global-account/react/components/custom/Button.js +36 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/ClientOnly.js +13 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/cjs/global-account/react/components/custom/CopyToClipboard.js +21 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/StaggeredFadeLoader.js +24 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/cjs/global-account/react/components/custom/WalletConnectorIcon.js +27 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/cjs/global-account/react/components/magicui/AnimatedLottie.js +93 -0
- package/dist/cjs/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/Loading.js +18 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/ShinyButton.js +29 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/TabSystem.js +86 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/Tabs.js +53 -0
- package/dist/cjs/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/cjs/global-account/react/components/ui/badge.js +24 -0
- package/dist/cjs/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/button.js +72 -0
- package/dist/cjs/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/cjs/global-account/react/components/ui/command.js +74 -0
- package/dist/cjs/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/cjs/global-account/react/components/ui/dialog.js +71 -0
- package/dist/cjs/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/cjs/global-account/react/components/ui/drawer.js +71 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card-rounded.js +146 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/cjs/global-account/react/components/ui/glare-card.js +108 -0
- package/dist/cjs/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/input.js +46 -0
- package/dist/cjs/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/cjs/global-account/react/components/ui/popover.js +52 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/cjs/global-account/react/components/ui/scroll-area.js +47 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/cjs/global-account/react/components/ui/skeleton.js +8 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/cjs/global-account/react/components/ui/text-loop.js +29 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/cjs/global-account/react/components/ui/text-shimmer.js +22 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/cjs/global-account/react/components/ui/tooltip.js +50 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/cjs/global-account/react/components/ui/transition-panel.js +10 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/cjs/global-account/react/hooks/useAccountAssets.js +35 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/cjs/global-account/react/hooks/useAccountWallet.js +70 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/cjs/global-account/react/hooks/useAddTWSessionKey.js +56 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/cjs/global-account/react/hooks/useAuthentication.js +123 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useB3BalanceFromAddresses.js +70 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/cjs/global-account/react/hooks/useBestTransactionPath.js +150 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useBsmntProfile.js +13 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/cjs/global-account/react/hooks/useChainSwitchWithAction.js +73 -0
- package/dist/cjs/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useClaim.js +50 -0
- package/dist/cjs/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useConnect.js +52 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useExchangeRate.js +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/cjs/global-account/react/hooks/useGetAllTWSigners.js +77 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useGetGeo.js +20 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +69 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/cjs/global-account/react/hooks/useHasMounted.js +11 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsMobile.js +8 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useIsomorphicLayoutEffect.js +5 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/cjs/global-account/react/hooks/useMediaQuery.js +47 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useNativeBalance.js +76 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/cjs/global-account/react/hooks/useOnchainName.js +193 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/cjs/global-account/react/hooks/useOneBalance.js +69 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryB3.js +40 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/cjs/global-account/react/hooks/useQueryBSMNT.js +40 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/cjs/global-account/react/hooks/useRemoveSessionKey.js +49 -0
- package/dist/cjs/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/cjs/global-account/react/hooks/useRouter.js +78 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/cjs/global-account/react/hooks/useSearchParamsSSR.js +31 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/cjs/global-account/react/hooks/useSiwe.js +38 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalance.js +64 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/cjs/global-account/react/hooks/useTokenBalancesByChain.js +58 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/cjs/global-account/react/hooks/useTokenData.js +47 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +30 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/cjs/global-account/react/hooks/useTokenPrice.js +48 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/cjs/global-account/react/hooks/useTokenPriceWithFallback.js +34 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/cjs/global-account/react/hooks/useTokensFromAddress.js +51 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/cjs/global-account/react/hooks/useURLParams.js +38 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/cjs/global-account/react/stores/useAuthStore.js +39 -0
- package/dist/cjs/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/cjs/global-account/react/stores/useModalStore.js +36 -0
- package/dist/cjs/global-account/server.d.ts +8 -0
- package/dist/cjs/global-account/server.js +26 -0
- package/dist/cjs/global-account/types/b3-api.d.ts +3 -0
- package/dist/cjs/global-account/types/b3-api.js +41 -0
- package/dist/cjs/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/cjs/global-account/types/b3-api.types.js +4 -0
- package/dist/cjs/global-account/types/chain-networks.d.ts +44 -0
- package/dist/cjs/global-account/types/chain-networks.js +48 -0
- package/dist/cjs/global-account/types/feature-flags.d.ts +8 -0
- package/dist/cjs/global-account/types/feature-flags.js +10 -0
- package/dist/cjs/global-account/types/permissions.d.ts +21 -0
- package/dist/cjs/global-account/types/permissions.js +2 -0
- package/dist/cjs/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/cjs/global-account/types/reservoir.types.js +2 -0
- package/dist/cjs/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/cjs/global-account/types/simplehash.types.js +2 -0
- package/dist/cjs/global-account/types.d.ts +19 -0
- package/dist/cjs/global-account/types.js +2 -0
- package/dist/cjs/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/cjs/shared/constants/chains/b3Chain.js +167 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/cjs/shared/constants/chains/chainPlatformMap.js +47 -0
- package/dist/cjs/shared/constants/chains/supported.d.ts +53 -0
- package/dist/cjs/shared/constants/chains/supported.js +31 -0
- package/dist/cjs/shared/constants/index.d.ts +15 -0
- package/dist/cjs/shared/constants/index.js +21 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/cjs/shared/thirdweb/generated/@tanstack/react-query.gen.js +1355 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/cjs/shared/thirdweb/generated/client.gen.js +6 -0
- package/dist/cjs/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/generated/index.js +19 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/cjs/shared/thirdweb/generated/sdk.gen.js +1037 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/cjs/shared/thirdweb/generated/types.gen.js +3 -0
- package/dist/cjs/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/cjs/shared/thirdweb/initiateClient.js +27 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/cjs/shared/thirdweb/openapi-ts.config.js +8 -0
- package/dist/cjs/shared/utils/b3Ens.d.ts +5 -0
- package/dist/cjs/shared/utils/b3Ens.js +27 -0
- package/dist/cjs/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/cjs/shared/utils/centerTruncate.js +14 -0
- package/dist/cjs/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/cjs/shared/utils/chain-transformers.js +50 -0
- package/dist/cjs/shared/utils/chains.d.ts +6 -0
- package/dist/cjs/shared/utils/chains.js +38 -0
- package/dist/cjs/shared/utils/cn.d.ts +2 -0
- package/dist/cjs/shared/utils/cn.js +8 -0
- package/dist/cjs/shared/utils/colors.d.ts +2 -0
- package/dist/cjs/shared/utils/colors.js +33 -0
- package/dist/cjs/shared/utils/cookies.d.ts +3 -0
- package/dist/cjs/shared/utils/cookies.js +17 -0
- package/dist/cjs/shared/utils/debug.d.ts +4 -0
- package/dist/cjs/shared/utils/debug.js +20 -0
- package/dist/cjs/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/cjs/shared/utils/fetchBalances.js +64 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/cjs/shared/utils/fetchBsmntProfile.js +26 -0
- package/dist/cjs/shared/utils/formatAddress.d.ts +2 -0
- package/dist/cjs/shared/utils/formatAddress.js +19 -0
- package/dist/cjs/shared/utils/formatNumber.d.ts +7 -0
- package/dist/cjs/shared/utils/formatNumber.js +49 -0
- package/dist/cjs/shared/utils/index.d.ts +2 -0
- package/dist/cjs/shared/utils/index.js +23 -0
- package/dist/cjs/shared/utils/insights.d.ts +7 -0
- package/dist/cjs/shared/utils/insights.js +388 -0
- package/dist/cjs/shared/utils/ipfs.d.ts +12 -0
- package/dist/cjs/shared/utils/ipfs.js +32 -0
- package/dist/cjs/shared/utils/number.d.ts +11 -0
- package/dist/cjs/shared/utils/number.js +110 -0
- package/dist/cjs/shared/utils/payment.utils.d.ts +5 -0
- package/dist/cjs/shared/utils/payment.utils.js +36 -0
- package/dist/cjs/shared/utils/simplehash.d.ts +12 -0
- package/dist/cjs/shared/utils/simplehash.js +308 -0
- package/dist/cjs/shared/utils/sprinter.d.ts +1 -0
- package/dist/cjs/shared/utils/sprinter.js +15 -0
- package/dist/cjs/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/cjs/shared/utils/thirdweb-insights.js +200 -0
- package/dist/cjs/shared/utils/thirdweb.d.ts +1 -0
- package/dist/cjs/shared/utils/thirdweb.js +11 -0
- package/dist/cjs/styles/index.d.ts +20 -0
- package/dist/cjs/styles/index.js +22 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/esm/anyspend/abis/abi-usdc-base.js +599 -0
- package/dist/esm/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/esm/anyspend/abis/erc20-staking.js +298 -0
- package/dist/esm/anyspend/constants/index.d.ts +28 -0
- package/dist/esm/anyspend/constants/index.js +69 -0
- package/dist/esm/anyspend/index.d.ts +13 -0
- package/dist/esm/anyspend/index.js +19 -0
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpend.js +693 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/esm/anyspend/react/components/AnySpendBuySpin.js +327 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +393 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendNFT.js +25 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/esm/anyspend/react/components/AnySpendNFTButton.js +16 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/esm/anyspend/react/components/AnySpendStakeB3.js +263 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/esm/anyspend/react/components/AnySpendTournament.js +15 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/esm/anyspend/react/components/common/ChainTokenIcon.js +4 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/esm/anyspend/react/components/common/HowItWorks.js +4 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +385 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/OrderHistory.js +18 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/OrderHistoryItem.js +32 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/OrderStatus.js +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/esm/anyspend/react/components/common/OrderToken.js +56 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +47 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/esm/anyspend/react/components/common/PanelOnramp.js +40 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +118 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentMethodIcons.js +12 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/esm/anyspend/react/components/common/PaymentOneClick.js +21 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/PaymentOptions.js +4 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentStripeWeb2.js +147 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/PaymentVendorUI.js +17 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/esm/anyspend/react/components/common/TokenBalance.js +18 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/EthIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/SolIcon.js +4 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/esm/anyspend/react/components/icons/USDCIcon.js +4 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/esm/anyspend/react/components/modals/EnterRecipientModal.js +15 -0
- package/dist/esm/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/esm/anyspend/react/hooks/index.js +13 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +80 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.js +65 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.js +31 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.js +17 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendQuote.js +49 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendSendPermitData.js +36 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendTokens.js +15 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/esm/anyspend/react/hooks/useCoinbaseOnrampOptions.js +16 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/esm/anyspend/react/hooks/useGeoOnrampOptions.js +50 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/esm/anyspend/react/hooks/useGetGeo.js +12 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/esm/anyspend/react/hooks/usePermitData.js +154 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/esm/anyspend/react/hooks/useStripeClientSecret.js +15 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useStripeSupport.js +17 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/esm/anyspend/react/providers/AnyspendProvider.js +38 -0
- package/dist/esm/anyspend/services/anyspend.d.ts +372 -0
- package/dist/esm/anyspend/services/anyspend.js +120 -0
- package/dist/esm/anyspend/types/chain.d.ts +26 -0
- package/dist/esm/anyspend/types/chain.js +5 -0
- package/dist/esm/anyspend/types/custom.d.ts +130 -0
- package/dist/esm/anyspend/types/custom.js +13 -0
- package/dist/esm/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/esm/anyspend/types/globalWallet.js +7 -0
- package/dist/esm/anyspend/types/index.d.ts +13 -0
- package/dist/esm/anyspend/types/index.js +13 -0
- package/dist/esm/anyspend/types/nft.d.ts +267 -0
- package/dist/esm/anyspend/types/nft.js +33 -0
- package/dist/esm/anyspend/types/onramp.d.ts +25 -0
- package/dist/esm/anyspend/types/onramp.js +14 -0
- package/dist/esm/anyspend/types/order.d.ts +1771 -0
- package/dist/esm/anyspend/types/order.js +82 -0
- package/dist/esm/anyspend/types/permit.d.ts +21 -0
- package/dist/esm/anyspend/types/permit.js +8 -0
- package/dist/esm/anyspend/types/relay.d.ts +10 -0
- package/dist/esm/anyspend/types/relay.js +9 -0
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/esm/anyspend/types/req-res/createOrder.js +57 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/esm/anyspend/types/req-res/getCoinbaseOnrampOptions.js +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.js +20 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/esm/anyspend/types/req-res/getOrderByCreator.js +8 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.js +8 -0
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +43 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/esm/anyspend/types/req-res/getTokenList.js +15 -0
- package/dist/esm/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/esm/anyspend/types/req-res/index.js +8 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/esm/anyspend/types/req-res/sendPermitData.js +8 -0
- package/dist/esm/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/esm/anyspend/types/req-res/stripe.js +1 -0
- package/dist/esm/anyspend/types/swap.d.ts +119 -0
- package/dist/esm/anyspend/types/swap.js +10 -0
- package/dist/esm/anyspend/types/token.d.ts +34 -0
- package/dist/esm/anyspend/types/token.js +11 -0
- package/dist/esm/anyspend/types/tournament.d.ts +174 -0
- package/dist/esm/anyspend/types/tournament.js +21 -0
- package/dist/esm/anyspend/types/transaction.d.ts +84 -0
- package/dist/esm/anyspend/types/transaction.js +31 -0
- package/dist/esm/anyspend/utils/address.d.ts +4 -0
- package/dist/esm/anyspend/utils/address.js +23 -0
- package/dist/esm/anyspend/utils/chain.d.ts +25 -0
- package/dist/esm/anyspend/utils/chain.js +271 -0
- package/dist/esm/anyspend/utils/format.d.ts +6 -0
- package/dist/esm/anyspend/utils/format.js +54 -0
- package/dist/esm/anyspend/utils/index.d.ts +8 -0
- package/dist/esm/anyspend/utils/index.js +8 -0
- package/dist/esm/anyspend/utils/json.d.ts +1 -0
- package/dist/esm/anyspend/utils/json.js +3 -0
- package/dist/esm/anyspend/utils/number.d.ts +13 -0
- package/dist/esm/anyspend/utils/number.js +79 -0
- package/dist/esm/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/esm/anyspend/utils/orderPayload.js +51 -0
- package/dist/esm/anyspend/utils/string.d.ts +1 -0
- package/dist/esm/anyspend/utils/string.js +5 -0
- package/dist/esm/anyspend/utils/token.d.ts +7 -0
- package/dist/esm/anyspend/utils/token.js +65 -0
- package/dist/esm/generated/chain-networks.json +483 -0
- package/dist/esm/global-account/app.d.ts +4 -0
- package/dist/esm/global-account/app.js +57 -0
- package/dist/esm/global-account/app.native.d.ts +5 -0
- package/dist/esm/global-account/app.native.js +83 -0
- package/dist/esm/global-account/bsmnt.d.ts +4 -0
- package/dist/esm/global-account/bsmnt.js +61 -0
- package/dist/esm/global-account/bsmnt.native.d.ts +5 -0
- package/dist/esm/global-account/bsmnt.native.js +86 -0
- package/dist/esm/global-account/index.d.ts +9 -0
- package/dist/esm/global-account/index.js +11 -0
- package/dist/esm/global-account/index.native.d.ts +3 -0
- package/dist/esm/global-account/index.native.js +11 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/esm/global-account/react/components/AccountAssets/AccountAssets.js +10 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/B3DynamicModal.js +86 -0
- package/dist/esm/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/esm/global-account/react/components/B3Provider.js +109 -0
- package/dist/esm/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/esm/global-account/react/components/B3Provider.native.js +70 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/esm/global-account/react/components/ManageAccount/ManageAccount.js +79 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/esm/global-account/react/components/MintButton/MintButton.js +48 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/esm/global-account/react/components/ProfileAvatar.js +127 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/esm/global-account/react/components/RelayKitProviderWrapper.js +26 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissions.js +77 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/esm/global-account/react/components/RequestPermissions/RequestPermissionsButton.js +23 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3.js +39 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +200 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +45 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/AuthButton.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/PermissionItem.js +5 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/components/WalletRow.js +6 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStep.js +82 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/esm/global-account/react/components/SignInWithB3/steps/LoginStepCustom.js +70 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +50 -0
- package/dist/esm/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/esm/global-account/react/components/StyleRoot.js +7 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/esm/global-account/react/components/Transak/TransakModal.js +107 -0
- package/dist/esm/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/esm/global-account/react/components/custom/Button.js +32 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/ClientOnly.js +10 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/esm/global-account/react/components/custom/CopyToClipboard.js +18 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/StaggeredFadeLoader.js +21 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/esm/global-account/react/components/custom/WalletConnectorIcon.js +24 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/esm/global-account/react/components/magicui/AnimatedLottie.js +58 -0
- package/dist/esm/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/Loading.js +15 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/ShinyButton.js +24 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/TabSystem.js +46 -0
- package/dist/esm/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/Tabs.js +13 -0
- package/dist/esm/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/esm/global-account/react/components/ui/badge.js +20 -0
- package/dist/esm/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/button.js +35 -0
- package/dist/esm/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/esm/global-account/react/components/ui/command.js +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/esm/global-account/react/components/ui/dialog.js +26 -0
- package/dist/esm/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/esm/global-account/react/components/ui/drawer.js +26 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card-rounded.js +142 -0
- package/dist/esm/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/esm/global-account/react/components/ui/glare-card.js +104 -0
- package/dist/esm/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/input.js +10 -0
- package/dist/esm/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/esm/global-account/react/components/ui/popover.js +11 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/esm/global-account/react/components/ui/scroll-area.js +10 -0
- package/dist/esm/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/esm/global-account/react/components/ui/skeleton.js +6 -0
- package/dist/esm/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/esm/global-account/react/components/ui/text-loop.js +26 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/esm/global-account/react/components/ui/text-shimmer.js +19 -0
- package/dist/esm/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/esm/global-account/react/components/ui/tooltip.js +11 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/esm/global-account/react/components/ui/transition-panel.js +7 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/esm/global-account/react/hooks/useAccountAssets.js +32 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/esm/global-account/react/hooks/useAccountWallet.js +67 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/esm/global-account/react/hooks/useAddTWSessionKey.js +50 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/esm/global-account/react/hooks/useAuthentication.js +117 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useB3BalanceFromAddresses.js +67 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/esm/global-account/react/hooks/useBestTransactionPath.js +147 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useBsmntProfile.js +9 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/esm/global-account/react/hooks/useChainSwitchWithAction.js +70 -0
- package/dist/esm/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useClaim.js +46 -0
- package/dist/esm/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useConnect.js +49 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useExchangeRate.js +27 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/esm/global-account/react/hooks/useGetAllTWSigners.js +71 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useGetGeo.js +18 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +66 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/esm/global-account/react/hooks/useHasMounted.js +8 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsMobile.js +6 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useIsomorphicLayoutEffect.js +2 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/esm/global-account/react/hooks/useMediaQuery.js +44 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useNativeBalance.js +72 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/esm/global-account/react/hooks/useOnchainName.js +187 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/esm/global-account/react/hooks/useOneBalance.js +65 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryB3.js +34 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/esm/global-account/react/hooks/useQueryBSMNT.js +34 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/esm/global-account/react/hooks/useRemoveSessionKey.js +43 -0
- package/dist/esm/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/esm/global-account/react/hooks/useRouter.js +75 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/esm/global-account/react/hooks/useSearchParamsSSR.js +27 -0
- package/dist/esm/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/esm/global-account/react/hooks/useSiwe.js +32 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/esm/global-account/react/hooks/useTokenBalance.js +61 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/esm/global-account/react/hooks/useTokenBalancesByChain.js +55 -0
- package/dist/esm/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/esm/global-account/react/hooks/useTokenData.js +44 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +27 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/esm/global-account/react/hooks/useTokenPrice.js +45 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/esm/global-account/react/hooks/useTokenPriceWithFallback.js +31 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/esm/global-account/react/hooks/useTokensFromAddress.js +45 -0
- package/dist/esm/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/esm/global-account/react/hooks/useURLParams.js +32 -0
- package/dist/esm/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/esm/global-account/react/stores/useAuthStore.js +36 -0
- package/dist/esm/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/esm/global-account/react/stores/useModalStore.js +33 -0
- package/dist/esm/global-account/server.d.ts +8 -0
- package/dist/esm/global-account/server.js +22 -0
- package/dist/esm/global-account/types/b3-api.d.ts +3 -0
- package/dist/esm/global-account/types/b3-api.js +3 -0
- package/dist/esm/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/esm/global-account/types/b3-api.types.js +3 -0
- package/dist/esm/global-account/types/chain-networks.d.ts +44 -0
- package/dist/esm/global-account/types/chain-networks.js +45 -0
- package/dist/esm/global-account/types/feature-flags.d.ts +8 -0
- package/dist/esm/global-account/types/feature-flags.js +7 -0
- package/dist/esm/global-account/types/permissions.d.ts +21 -0
- package/dist/esm/global-account/types/permissions.js +1 -0
- package/dist/esm/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/esm/global-account/types/reservoir.types.js +1 -0
- package/dist/esm/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/esm/global-account/types/simplehash.types.js +1 -0
- package/dist/esm/global-account/types.d.ts +19 -0
- package/dist/esm/global-account/types.js +1 -0
- package/dist/esm/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/esm/shared/constants/chains/b3Chain.js +161 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/esm/shared/constants/chains/chainPlatformMap.js +43 -0
- package/dist/esm/shared/constants/chains/supported.d.ts +53 -0
- package/dist/esm/shared/constants/chains/supported.js +25 -0
- package/dist/esm/shared/constants/index.d.ts +15 -0
- package/dist/esm/shared/constants/index.js +18 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/esm/shared/thirdweb/generated/@tanstack/react-query.gen.js +1225 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/esm/shared/thirdweb/generated/client.gen.js +3 -0
- package/dist/esm/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/esm/shared/thirdweb/generated/index.js +3 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/esm/shared/thirdweb/generated/sdk.gen.js +995 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/esm/shared/thirdweb/generated/types.gen.js +2 -0
- package/dist/esm/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/esm/shared/thirdweb/initiateClient.js +25 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/esm/shared/thirdweb/openapi-ts.config.js +6 -0
- package/dist/esm/shared/utils/b3Ens.d.ts +5 -0
- package/dist/esm/shared/utils/b3Ens.js +23 -0
- package/dist/esm/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/esm/shared/utils/centerTruncate.js +11 -0
- package/dist/esm/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/esm/shared/utils/chain-transformers.js +46 -0
- package/dist/esm/shared/utils/chains.d.ts +6 -0
- package/dist/esm/shared/utils/chains.js +31 -0
- package/dist/esm/shared/utils/cn.d.ts +2 -0
- package/dist/esm/shared/utils/cn.js +5 -0
- package/dist/esm/shared/utils/colors.d.ts +2 -0
- package/dist/esm/shared/utils/colors.js +29 -0
- package/dist/esm/shared/utils/cookies.d.ts +3 -0
- package/dist/esm/shared/utils/cookies.js +12 -0
- package/dist/esm/shared/utils/debug.d.ts +4 -0
- package/dist/esm/shared/utils/debug.js +13 -0
- package/dist/esm/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/esm/shared/utils/fetchBalances.js +60 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/esm/shared/utils/fetchBsmntProfile.js +23 -0
- package/dist/esm/shared/utils/formatAddress.d.ts +2 -0
- package/dist/esm/shared/utils/formatAddress.js +14 -0
- package/dist/esm/shared/utils/formatNumber.d.ts +7 -0
- package/dist/esm/shared/utils/formatNumber.js +45 -0
- package/dist/esm/shared/utils/index.d.ts +2 -0
- package/dist/esm/shared/utils/index.js +6 -0
- package/dist/esm/shared/utils/insights.d.ts +7 -0
- package/dist/esm/shared/utils/insights.js +381 -0
- package/dist/esm/shared/utils/ipfs.d.ts +12 -0
- package/dist/esm/shared/utils/ipfs.js +29 -0
- package/dist/esm/shared/utils/number.d.ts +11 -0
- package/dist/esm/shared/utils/number.js +102 -0
- package/dist/esm/shared/utils/payment.utils.d.ts +5 -0
- package/dist/esm/shared/utils/payment.utils.js +30 -0
- package/dist/esm/shared/utils/simplehash.d.ts +12 -0
- package/dist/esm/shared/utils/simplehash.js +286 -0
- package/dist/esm/shared/utils/sprinter.d.ts +1 -0
- package/dist/esm/shared/utils/sprinter.js +11 -0
- package/dist/esm/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/esm/shared/utils/thirdweb-insights.js +192 -0
- package/dist/esm/shared/utils/thirdweb.d.ts +1 -0
- package/dist/esm/shared/utils/thirdweb.js +8 -0
- package/dist/esm/styles/index.d.ts +20 -0
- package/dist/esm/styles/index.js +20 -0
- package/dist/styles/index.css +1 -0
- package/dist/types/anyspend/abis/abi-usdc-base.d.ts +1074 -0
- package/dist/types/anyspend/abis/erc20-staking.d.ts +540 -0
- package/dist/types/anyspend/constants/index.d.ts +28 -0
- package/dist/types/anyspend/index.d.ts +13 -0
- package/dist/types/anyspend/react/components/AnySpend.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendBuySpin.d.ts +9 -0
- package/dist/types/anyspend/react/components/AnySpendCustom.d.ts +22 -0
- package/dist/types/anyspend/react/components/AnySpendNFT.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendNFTButton.d.ts +7 -0
- package/dist/types/anyspend/react/components/AnySpendStakeB3.d.ts +8 -0
- package/dist/types/anyspend/react/components/AnySpendTournament.d.ts +27 -0
- package/dist/types/anyspend/react/components/common/ChainTokenIcon.d.ts +5 -0
- package/dist/types/anyspend/react/components/common/HowItWorks.d.ts +10 -0
- package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +14 -0
- package/dist/types/anyspend/react/components/common/OrderHistory.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/OrderHistoryItem.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/OrderStatus.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/OrderToken.d.ts +11 -0
- package/dist/types/anyspend/react/components/common/OrderTokenAmount.d.ts +18 -0
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +4 -0
- package/dist/types/anyspend/react/components/common/PanelOnrampPayment.d.ts +29 -0
- package/dist/types/anyspend/react/components/common/PaymentMethodIcons.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentOneClick.d.ts +7 -0
- package/dist/types/anyspend/react/components/common/PaymentOptions.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PaymentStripeWeb2.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/PaymentVendorUI.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/TokenBalance.d.ts +6 -0
- package/dist/types/anyspend/react/components/icons/EthIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/SolIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/icons/USDCIcon.d.ts +3 -0
- package/dist/types/anyspend/react/components/modals/EnterRecipientModal.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/index.d.ts +13 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +39 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +34 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +706 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +634 -0
- package/dist/types/anyspend/react/hooks/useAnyspendQuote.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useAnyspendSendPermitData.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/useAnyspendTokens.d.ts +23 -0
- package/dist/types/anyspend/react/hooks/useCoinbaseOnrampOptions.d.ts +48 -0
- package/dist/types/anyspend/react/hooks/useGeoOnrampOptions.d.ts +40 -0
- package/dist/types/anyspend/react/hooks/useGetGeo.d.ts +16 -0
- package/dist/types/anyspend/react/hooks/usePermitData.d.ts +92 -0
- package/dist/types/anyspend/react/hooks/useStripeClientSecret.d.ts +6 -0
- package/dist/types/anyspend/react/hooks/useStripeSupport.d.ts +10 -0
- package/dist/types/anyspend/react/providers/AnyspendProvider.d.ts +27 -0
- package/dist/types/anyspend/services/anyspend.d.ts +372 -0
- package/dist/types/anyspend/types/chain.d.ts +26 -0
- package/dist/types/anyspend/types/custom.d.ts +130 -0
- package/dist/types/anyspend/types/globalWallet.d.ts +18 -0
- package/dist/types/anyspend/types/index.d.ts +13 -0
- package/dist/types/anyspend/types/nft.d.ts +267 -0
- package/dist/types/anyspend/types/onramp.d.ts +25 -0
- package/dist/types/anyspend/types/order.d.ts +1771 -0
- package/dist/types/anyspend/types/permit.d.ts +21 -0
- package/dist/types/anyspend/types/relay.d.ts +10 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +4113 -0
- package/dist/types/anyspend/types/req-res/getCoinbaseOnrampOptions.d.ts +120 -0
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +3129 -0
- package/dist/types/anyspend/types/req-res/getOrderByCreator.d.ts +28 -0
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +2278 -0
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +253 -0
- package/dist/types/anyspend/types/req-res/getTokenList.d.ts +63 -0
- package/dist/types/anyspend/types/req-res/index.d.ts +8 -0
- package/dist/types/anyspend/types/req-res/sendPermitData.d.ts +66 -0
- package/dist/types/anyspend/types/req-res/stripe.d.ts +0 -0
- package/dist/types/anyspend/types/swap.d.ts +119 -0
- package/dist/types/anyspend/types/token.d.ts +34 -0
- package/dist/types/anyspend/types/tournament.d.ts +174 -0
- package/dist/types/anyspend/types/transaction.d.ts +84 -0
- package/dist/types/anyspend/utils/address.d.ts +4 -0
- package/dist/types/anyspend/utils/chain.d.ts +25 -0
- package/dist/types/anyspend/utils/format.d.ts +6 -0
- package/dist/types/anyspend/utils/index.d.ts +8 -0
- package/dist/types/anyspend/utils/json.d.ts +1 -0
- package/dist/types/anyspend/utils/number.d.ts +13 -0
- package/dist/types/anyspend/utils/orderPayload.d.ts +127 -0
- package/dist/types/anyspend/utils/string.d.ts +1 -0
- package/dist/types/anyspend/utils/token.d.ts +7 -0
- package/dist/types/global-account/app.d.ts +4 -0
- package/dist/types/global-account/app.native.d.ts +5 -0
- package/dist/types/global-account/bsmnt.d.ts +4 -0
- package/dist/types/global-account/bsmnt.native.d.ts +5 -0
- package/dist/types/global-account/index.d.ts +9 -0
- package/dist/types/global-account/index.native.d.ts +3 -0
- package/dist/types/global-account/react/components/AccountAssets/AccountAssets.d.ts +7 -0
- package/dist/types/global-account/react/components/B3DynamicModal.d.ts +1 -0
- package/dist/types/global-account/react/components/B3Provider.d.ts +53 -0
- package/dist/types/global-account/react/components/B3Provider.native.d.ts +46 -0
- package/dist/types/global-account/react/components/ManageAccount/ManageAccount.d.ts +11 -0
- package/dist/types/global-account/react/components/MintButton/MintButton.d.ts +17 -0
- package/dist/types/global-account/react/components/ProfileAvatar.d.ts +0 -0
- package/dist/types/global-account/react/components/RelayKitProviderWrapper.d.ts +4 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissions.d.ts +6 -0
- package/dist/types/global-account/react/components/RequestPermissions/RequestPermissionsButton.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Flow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +11 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/AuthButton.d.ts +5 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/PermissionItem.d.ts +10 -0
- package/dist/types/global-account/react/components/SignInWithB3/components/WalletRow.d.ts +6 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStep.d.ts +24 -0
- package/dist/types/global-account/react/components/SignInWithB3/steps/LoginStepCustom.d.ts +14 -0
- package/dist/types/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +17 -0
- package/dist/types/global-account/react/components/StyleRoot.d.ts +4 -0
- package/dist/types/global-account/react/components/Transak/TransakModal.d.ts +1 -0
- package/dist/types/global-account/react/components/custom/Button.d.ts +12 -0
- package/dist/types/global-account/react/components/custom/ClientOnly.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/CopyToClipboard.d.ts +7 -0
- package/dist/types/global-account/react/components/custom/StaggeredFadeLoader.d.ts +4 -0
- package/dist/types/global-account/react/components/custom/WalletConnectorIcon.d.ts +4 -0
- package/dist/types/global-account/react/components/magicui/AnimatedLottie.d.ts +13 -0
- package/dist/types/global-account/react/components/ui/Loading.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/ShinyButton.d.ts +14 -0
- package/dist/types/global-account/react/components/ui/TabSystem.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/Tabs.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/badge.d.ts +9 -0
- package/dist/types/global-account/react/components/ui/button.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/command.d.ts +82 -0
- package/dist/types/global-account/react/components/ui/dialog.d.ts +30 -0
- package/dist/types/global-account/react/components/ui/drawer.d.ts +22 -0
- package/dist/types/global-account/react/components/ui/glare-card-rounded.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/glare-card.d.ts +4 -0
- package/dist/types/global-account/react/components/ui/input.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/popover.d.ts +6 -0
- package/dist/types/global-account/react/components/ui/scroll-area.d.ts +5 -0
- package/dist/types/global-account/react/components/ui/skeleton.d.ts +2 -0
- package/dist/types/global-account/react/components/ui/text-loop.d.ts +11 -0
- package/dist/types/global-account/react/components/ui/text-shimmer.d.ts +10 -0
- package/dist/types/global-account/react/components/ui/tooltip.d.ts +7 -0
- package/dist/types/global-account/react/components/ui/transition-panel.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useAccountAssets.d.ts +3 -0
- package/dist/types/global-account/react/hooks/useAccountWallet.d.ts +18 -0
- package/dist/types/global-account/react/hooks/useAddTWSessionKey.d.ts +21 -0
- package/dist/types/global-account/react/hooks/useAuthentication.d.ts +10 -0
- package/dist/types/global-account/react/hooks/useB3BalanceFromAddresses.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useBestTransactionPath.d.ts +41 -0
- package/dist/types/global-account/react/hooks/useBsmntProfile.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useChainSwitchWithAction.d.ts +5 -0
- package/dist/types/global-account/react/hooks/useClaim.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useConnect.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useExchangeRate.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useGetAllTWSigners.d.ts +30 -0
- package/dist/types/global-account/react/hooks/useGetGeo.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +11 -0
- package/dist/types/global-account/react/hooks/useHasMounted.d.ts +1 -0
- package/dist/types/global-account/react/hooks/useIsMobile.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useMediaQuery.d.ts +6 -0
- package/dist/types/global-account/react/hooks/useNativeBalance.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useOnchainName.d.ts +19 -0
- package/dist/types/global-account/react/hooks/useOneBalance.d.ts +26 -0
- package/dist/types/global-account/react/hooks/useQueryB3.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useQueryBSMNT.d.ts +25 -0
- package/dist/types/global-account/react/hooks/useRemoveSessionKey.d.ts +16 -0
- package/dist/types/global-account/react/hooks/useRouter.d.ts +14 -0
- package/dist/types/global-account/react/hooks/useSearchParamsSSR.d.ts +2 -0
- package/dist/types/global-account/react/hooks/useSiwe.d.ts +4 -0
- package/dist/types/global-account/react/hooks/useTokenBalance.d.ts +12 -0
- package/dist/types/global-account/react/hooks/useTokenBalancesByChain.d.ts +22 -0
- package/dist/types/global-account/react/hooks/useTokenData.d.ts +9 -0
- package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPrice.d.ts +17 -0
- package/dist/types/global-account/react/hooks/useTokenPriceWithFallback.d.ts +15 -0
- package/dist/types/global-account/react/hooks/useTokensFromAddress.d.ts +54 -0
- package/dist/types/global-account/react/hooks/useURLParams.d.ts +8 -0
- package/dist/types/global-account/react/stores/useAuthStore.d.ts +26 -0
- package/dist/types/global-account/react/stores/useModalStore.d.ts +267 -0
- package/dist/types/global-account/server.d.ts +8 -0
- package/dist/types/global-account/types/b3-api.d.ts +3 -0
- package/dist/types/global-account/types/b3-api.types.d.ts +51 -0
- package/dist/types/global-account/types/chain-networks.d.ts +44 -0
- package/dist/types/global-account/types/feature-flags.d.ts +8 -0
- package/dist/types/global-account/types/permissions.d.ts +21 -0
- package/dist/types/global-account/types/reservoir.types.d.ts +89 -0
- package/dist/types/global-account/types/simplehash.types.d.ts +292 -0
- package/dist/types/global-account/types.d.ts +19 -0
- package/dist/types/shared/constants/chains/b3Chain.d.ts +144 -0
- package/dist/types/shared/constants/chains/chainPlatformMap.d.ts +24 -0
- package/dist/types/shared/constants/chains/supported.d.ts +53 -0
- package/dist/types/shared/constants/index.d.ts +15 -0
- package/dist/types/shared/thirdweb/generated/@tanstack/react-query.gen.d.ts +11494 -0
- package/dist/types/shared/thirdweb/generated/client.gen.d.ts +12 -0
- package/dist/types/shared/thirdweb/generated/index.d.ts +2 -0
- package/dist/types/shared/thirdweb/generated/sdk.gen.d.ts +1448 -0
- package/dist/types/shared/thirdweb/generated/types.gen.d.ts +4159 -0
- package/dist/types/shared/thirdweb/initiateClient.d.ts +1 -0
- package/dist/types/shared/thirdweb/openapi-ts.config.d.ts +2 -0
- package/dist/types/shared/utils/b3Ens.d.ts +5 -0
- package/dist/types/shared/utils/centerTruncate.d.ts +1 -0
- package/dist/types/shared/utils/chain-transformers.d.ts +5 -0
- package/dist/types/shared/utils/chains.d.ts +6 -0
- package/dist/types/shared/utils/cn.d.ts +2 -0
- package/dist/types/shared/utils/colors.d.ts +2 -0
- package/dist/types/shared/utils/cookies.d.ts +3 -0
- package/dist/types/shared/utils/debug.d.ts +4 -0
- package/dist/types/shared/utils/fetchBalances.d.ts +16 -0
- package/dist/types/shared/utils/fetchBsmntProfile.d.ts +1 -0
- package/dist/types/shared/utils/formatAddress.d.ts +2 -0
- package/dist/types/shared/utils/formatNumber.d.ts +7 -0
- package/dist/types/shared/utils/index.d.ts +2 -0
- package/dist/types/shared/utils/insights.d.ts +7 -0
- package/dist/types/shared/utils/ipfs.d.ts +12 -0
- package/dist/types/shared/utils/number.d.ts +11 -0
- package/dist/types/shared/utils/payment.utils.d.ts +5 -0
- package/dist/types/shared/utils/simplehash.d.ts +12 -0
- package/dist/types/shared/utils/sprinter.d.ts +1 -0
- package/dist/types/shared/utils/thirdweb-insights.d.ts +105 -0
- package/dist/types/shared/utils/thirdweb.d.ts +1 -0
- package/dist/types/styles/index.d.ts +20 -0
- package/package.json +340 -0
- package/src/anyspend/abis/abi-usdc-base.ts +600 -0
- package/src/anyspend/abis/erc20-staking.ts +299 -0
- package/src/anyspend/constants/index.ts +88 -0
- package/src/anyspend/index.ts +24 -0
- package/src/anyspend/react/components/AnySpend.tsx +1144 -0
- package/src/anyspend/react/components/AnySpendBuySpin.tsx +623 -0
- package/src/anyspend/react/components/AnySpendCustom.tsx +812 -0
- package/src/anyspend/react/components/AnySpendNFT.tsx +134 -0
- package/src/anyspend/react/components/AnySpendNFTButton.tsx +33 -0
- package/src/anyspend/react/components/AnySpendStakeB3.tsx +491 -0
- package/src/anyspend/react/components/AnySpendTournament.tsx +109 -0
- package/src/anyspend/react/components/common/ChainTokenIcon.tsx +18 -0
- package/src/anyspend/react/components/common/HowItWorks.tsx +37 -0
- package/src/anyspend/react/components/common/OrderDetails.tsx +1195 -0
- package/src/anyspend/react/components/common/OrderHistory.tsx +64 -0
- package/src/anyspend/react/components/common/OrderHistoryItem.tsx +189 -0
- package/src/anyspend/react/components/common/OrderStatus.tsx +39 -0
- package/src/anyspend/react/components/common/OrderToken.tsx +132 -0
- package/src/anyspend/react/components/common/OrderTokenAmount.tsx +168 -0
- package/src/anyspend/react/components/common/PanelOnramp.tsx +108 -0
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +354 -0
- package/src/anyspend/react/components/common/PaymentMethodIcons.tsx +22 -0
- package/src/anyspend/react/components/common/PaymentOneClick.tsx +42 -0
- package/src/anyspend/react/components/common/PaymentOptions.tsx +36 -0
- package/src/anyspend/react/components/common/PaymentStripeWeb2.tsx +368 -0
- package/src/anyspend/react/components/common/PaymentVendorUI.tsx +26 -0
- package/src/anyspend/react/components/common/TokenBalance.tsx +63 -0
- package/src/anyspend/react/components/icons/EthIcon.tsx +31 -0
- package/src/anyspend/react/components/icons/SolIcon.tsx +39 -0
- package/src/anyspend/react/components/icons/USDCIcon.tsx +19 -0
- package/src/anyspend/react/components/modals/EnterRecipientModal.tsx +50 -0
- package/src/anyspend/react/hooks/index.ts +13 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +131 -0
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +102 -0
- package/src/anyspend/react/hooks/useAnyspendOrderAndTransactions.ts +36 -0
- package/src/anyspend/react/hooks/useAnyspendOrderHistory.ts +29 -0
- package/src/anyspend/react/hooks/useAnyspendQuote.ts +58 -0
- package/src/anyspend/react/hooks/useAnyspendSendPermitData.ts +38 -0
- package/src/anyspend/react/hooks/useAnyspendTokens.ts +24 -0
- package/src/anyspend/react/hooks/useCoinbaseOnrampOptions.ts +21 -0
- package/src/anyspend/react/hooks/useGeoOnrampOptions.ts +58 -0
- package/src/anyspend/react/hooks/useGetGeo.ts +31 -0
- package/src/anyspend/react/hooks/usePermitData.ts +183 -0
- package/src/anyspend/react/hooks/useStripeClientSecret.ts +20 -0
- package/src/anyspend/react/hooks/useStripeSupport.ts +22 -0
- package/src/anyspend/react/providers/AnyspendProvider.tsx +45 -0
- package/src/anyspend/services/anyspend.ts +191 -0
- package/src/anyspend/types/chain.ts +30 -0
- package/src/anyspend/types/custom.ts +17 -0
- package/src/anyspend/types/globalWallet.ts +9 -0
- package/src/anyspend/types/index.ts +14 -0
- package/src/anyspend/types/nft.ts +50 -0
- package/src/anyspend/types/onramp.ts +15 -0
- package/src/anyspend/types/order.ts +94 -0
- package/src/anyspend/types/permit.ts +10 -0
- package/src/anyspend/types/relay.ts +13 -0
- package/src/anyspend/types/req-res/createOrder.ts +66 -0
- package/src/anyspend/types/req-res/getCoinbaseOnrampOptions.ts +34 -0
- package/src/anyspend/types/req-res/getOrderAndTransactions.ts +23 -0
- package/src/anyspend/types/req-res/getOrderByCreator.ts +9 -0
- package/src/anyspend/types/req-res/getOrderHistory.ts +9 -0
- package/src/anyspend/types/req-res/getQuote.ts +60 -0
- package/src/anyspend/types/req-res/getTokenList.ts +18 -0
- package/src/anyspend/types/req-res/index.ts +8 -0
- package/src/anyspend/types/req-res/sendPermitData.ts +10 -0
- package/src/anyspend/types/req-res/stripe.ts +0 -0
- package/src/anyspend/types/swap.ts +12 -0
- package/src/anyspend/types/token.ts +13 -0
- package/src/anyspend/types/tournament.ts +26 -0
- package/src/anyspend/types/transaction.ts +39 -0
- package/src/anyspend/utils/address.ts +25 -0
- package/src/anyspend/utils/chain.ts +342 -0
- package/src/anyspend/utils/format.ts +64 -0
- package/src/anyspend/utils/index.ts +8 -0
- package/src/anyspend/utils/json.ts +3 -0
- package/src/anyspend/utils/number.ts +93 -0
- package/src/anyspend/utils/orderPayload.ts +63 -0
- package/src/anyspend/utils/string.ts +4 -0
- package/src/anyspend/utils/token.ts +72 -0
- package/src/generated/chain-networks.json +483 -0
- package/src/global-account/app.native.ts +105 -0
- package/src/global-account/app.ts +68 -0
- package/src/global-account/bsmnt.native.ts +108 -0
- package/src/global-account/bsmnt.ts +73 -0
- package/src/global-account/index.native.ts +17 -0
- package/src/global-account/index.ts +17 -0
- package/src/global-account/react/components/AccountAssets/AccountAssets.tsx +48 -0
- package/src/global-account/react/components/B3DynamicModal.tsx +118 -0
- package/src/global-account/react/components/B3Provider.native.tsx +141 -0
- package/src/global-account/react/components/B3Provider.tsx +201 -0
- package/src/global-account/react/components/ManageAccount/ManageAccount.tsx +242 -0
- package/src/global-account/react/components/MintButton/MintButton.tsx +83 -0
- package/src/global-account/react/components/ProfileAvatar.tsx +138 -0
- package/src/global-account/react/components/RelayKitProviderWrapper.tsx +34 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissions.tsx +167 -0
- package/src/global-account/react/components/RequestPermissions/RequestPermissionsButton.tsx +51 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3.tsx +93 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +255 -0
- package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +60 -0
- package/src/global-account/react/components/SignInWithB3/components/AuthButton.tsx +23 -0
- package/src/global-account/react/components/SignInWithB3/components/PermissionItem.tsx +22 -0
- package/src/global-account/react/components/SignInWithB3/components/WalletRow.tsx +32 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStep.tsx +135 -0
- package/src/global-account/react/components/SignInWithB3/steps/LoginStepCustom.tsx +148 -0
- package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +70 -0
- package/src/global-account/react/components/StyleRoot.tsx +12 -0
- package/src/global-account/react/components/Transak/TransakModal.tsx +134 -0
- package/src/global-account/react/components/custom/Button.tsx +54 -0
- package/src/global-account/react/components/custom/ClientOnly.tsx +20 -0
- package/src/global-account/react/components/custom/CopyToClipboard.tsx +47 -0
- package/src/global-account/react/components/custom/StaggeredFadeLoader.tsx +43 -0
- package/src/global-account/react/components/custom/WalletConnectorIcon.tsx +32 -0
- package/src/global-account/react/components/magicui/AnimatedLottie.tsx +106 -0
- package/src/global-account/react/components/ui/Loading.tsx +27 -0
- package/src/global-account/react/components/ui/ShinyButton.tsx +82 -0
- package/src/global-account/react/components/ui/TabSystem.tsx +157 -0
- package/src/global-account/react/components/ui/Tabs.tsx +56 -0
- package/src/global-account/react/components/ui/badge.tsx +30 -0
- package/src/global-account/react/components/ui/button.tsx +57 -0
- package/src/global-account/react/components/ui/command.tsx +140 -0
- package/src/global-account/react/components/ui/dialog.tsx +131 -0
- package/src/global-account/react/components/ui/drawer.tsx +97 -0
- package/src/global-account/react/components/ui/glare-card-rounded.tsx +182 -0
- package/src/global-account/react/components/ui/glare-card.tsx +138 -0
- package/src/global-account/react/components/ui/input.tsx +25 -0
- package/src/global-account/react/components/ui/popover.tsx +34 -0
- package/src/global-account/react/components/ui/scroll-area.tsx +40 -0
- package/src/global-account/react/components/ui/skeleton.tsx +7 -0
- package/src/global-account/react/components/ui/text-loop.tsx +61 -0
- package/src/global-account/react/components/ui/text-shimmer.tsx +47 -0
- package/src/global-account/react/components/ui/tooltip.tsx +34 -0
- package/src/global-account/react/components/ui/transition-panel.tsx +38 -0
- package/src/global-account/react/hooks/useAccountAssets.ts +34 -0
- package/src/global-account/react/hooks/useAccountWallet.tsx +110 -0
- package/src/global-account/react/hooks/useAddTWSessionKey.tsx +85 -0
- package/src/global-account/react/hooks/useAuthentication.ts +127 -0
- package/src/global-account/react/hooks/useB3BalanceFromAddresses.ts +91 -0
- package/src/global-account/react/hooks/useBestTransactionPath.tsx +202 -0
- package/src/global-account/react/hooks/useBsmntProfile.ts +14 -0
- package/src/global-account/react/hooks/useChainSwitchWithAction.ts +79 -0
- package/src/global-account/react/hooks/useClaim.tsx +66 -0
- package/src/global-account/react/hooks/useConnect.tsx +60 -0
- package/src/global-account/react/hooks/useExchangeRate.tsx +43 -0
- package/src/global-account/react/hooks/useGetAllTWSigners.tsx +139 -0
- package/src/global-account/react/hooks/useGetGeo.tsx +40 -0
- package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +78 -0
- package/src/global-account/react/hooks/useHasMounted.ts +11 -0
- package/src/global-account/react/hooks/useIsMobile.tsx +9 -0
- package/src/global-account/react/hooks/useIsomorphicLayoutEffect.tsx +3 -0
- package/src/global-account/react/hooks/useMediaQuery.tsx +60 -0
- package/src/global-account/react/hooks/useNativeBalance.tsx +90 -0
- package/src/global-account/react/hooks/useOnchainName.tsx +198 -0
- package/src/global-account/react/hooks/useOneBalance.tsx +95 -0
- package/src/global-account/react/hooks/useQueryB3.ts +72 -0
- package/src/global-account/react/hooks/useQueryBSMNT.ts +72 -0
- package/src/global-account/react/hooks/useRemoveSessionKey.tsx +69 -0
- package/src/global-account/react/hooks/useRouter.tsx +103 -0
- package/src/global-account/react/hooks/useSearchParamsSSR.tsx +34 -0
- package/src/global-account/react/hooks/useSiwe.tsx +39 -0
- package/src/global-account/react/hooks/useTokenBalance.tsx +85 -0
- package/src/global-account/react/hooks/useTokenBalancesByChain.tsx +93 -0
- package/src/global-account/react/hooks/useTokenData.ts +56 -0
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +46 -0
- package/src/global-account/react/hooks/useTokenPrice.tsx +85 -0
- package/src/global-account/react/hooks/useTokenPriceWithFallback.tsx +58 -0
- package/src/global-account/react/hooks/useTokensFromAddress.ts +118 -0
- package/src/global-account/react/hooks/useURLParams.ts +43 -0
- package/src/global-account/react/stores/useAuthStore.ts +64 -0
- package/src/global-account/react/stores/useModalStore.ts +325 -0
- package/src/global-account/server.ts +23 -0
- package/src/global-account/types/b3-api.ts +4 -0
- package/src/global-account/types/b3-api.types.ts +83 -0
- package/src/global-account/types/chain-networks.ts +54 -0
- package/src/global-account/types/feature-flags.ts +13 -0
- package/src/global-account/types/permissions.ts +24 -0
- package/src/global-account/types/react-timeago.d.ts +18 -0
- package/src/global-account/types/reservoir.types.ts +94 -0
- package/src/global-account/types/simplehash.types.ts +301 -0
- package/src/global-account/types.ts +24 -0
- package/src/shared/constants/chains/b3Chain.ts +177 -0
- package/src/shared/constants/chains/chainPlatformMap.ts +47 -0
- package/src/shared/constants/chains/supported.ts +33 -0
- package/src/shared/constants/index.ts +26 -0
- package/src/shared/thirdweb/generated/@tanstack/react-query.gen.ts +1363 -0
- package/src/shared/thirdweb/generated/client.gen.ts +16 -0
- package/src/shared/thirdweb/generated/index.ts +3 -0
- package/src/shared/thirdweb/generated/sdk.gen.ts +1051 -0
- package/src/shared/thirdweb/generated/types.gen.ts +4349 -0
- package/src/shared/thirdweb/initiateClient.ts +30 -0
- package/src/shared/thirdweb/insight-service.json +12664 -0
- package/src/shared/thirdweb/openapi-ts.config.ts +7 -0
- package/src/shared/utils/b3Ens.ts +28 -0
- package/src/shared/utils/centerTruncate.ts +12 -0
- package/src/shared/utils/chain-transformers.ts +51 -0
- package/src/shared/utils/chains.ts +38 -0
- package/src/shared/utils/cn.ts +6 -0
- package/src/shared/utils/colors.ts +33 -0
- package/src/shared/utils/cookies.ts +13 -0
- package/src/shared/utils/debug.ts +17 -0
- package/src/shared/utils/fetchBalances.ts +89 -0
- package/src/shared/utils/fetchBsmntProfile.ts +29 -0
- package/src/shared/utils/formatAddress.ts +16 -0
- package/src/shared/utils/formatNumber.ts +43 -0
- package/src/shared/utils/index.ts +7 -0
- package/src/shared/utils/insights.ts +409 -0
- package/src/shared/utils/ipfs.ts +33 -0
- package/src/shared/utils/number.ts +142 -0
- package/src/shared/utils/payment.utils.ts +34 -0
- package/src/shared/utils/simplehash.ts +372 -0
- package/src/shared/utils/sprinter.ts +14 -0
- package/src/shared/utils/thirdweb-insights.ts +338 -0
- package/src/shared/utils/thirdweb.ts +11 -0
- package/src/styles/index.css +279 -0
- 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
|
+
};
|