Moon Docs
  • Introduction
    • What Can Moon Do?
    • What are Moon’s Use Cases?
    • What Features Come with Moon?
    • Supported Networks
  • Getting started with moon
  • Authentication
    • Email and password
    • OAuth 2.0
    • Login with Moon
    • API Key
    • Sign in with Ethereum
    • Passkey
    • Embedded accounts
    • Token Refreshing
  • Interacting with the blockchain
    • EVM
    • Solana
    • Bitcoin
    • Bitcoin cash
    • Litecoin
    • Dogecoin
    • EOS
    • Ripple
    • Tron
  • AI
    • Langchain
    • Whisper
    • Chat GPT
  • Moon Packages
    • @moonup/moon-sdk
    • @moonup/ethers
      • MoonProvider
      • MoonSigner
    • @moonup/wagmi-connector
    • @moonup/viem
    • @moonup/moon-rainbowkit
    • @moonup/moon-react
      • Context
      • hooks
      • Components
    • @moonup/moon-react-native
      • Context
      • Hooks
    • @moonup/moon-api
      • Aave
      • Accounts
      • Bitcoin
      • Bitcoin Cash
      • ConveyorFinance
      • Cosmos
      • Dogecoin
      • Ens
      • EOS
      • Erc20
      • Erc721
      • Erc1155
      • Litecoin
      • OneInch
      • OnRamper
      • Ripple
      • Solana
      • Tron
      • Uniswap
      • Yearn
  • SDKs
    • Flutter
      • AaveApi
      • moonsdk.model.AaveInput
      • moonsdk.model.AaveReservesAPIResponse
      • moonsdk.model.AaveReservesData
      • openapi.model.AbiInput
      • openapi.model.AbiItem
      • openapi.model.AbiOutput
      • moonsdk.model.AccountAPIResponse
      • openapi.model.AccountControllerResponse
      • openapi.model.AccountControllerResponseData
      • moonsdk.model.AccountData
      • moonsdk.model.AccountResponse
      • AccountsApi
      • moonsdk.model.AvailablePaymentMethod
      • moonsdk.model.BalanceAPIResponse
      • moonsdk.model.BalanceResponse
      • moonsdk.model.BitcoinAPIResponse
      • BitcoinApi
      • moonsdk.model.BitcoinCashAPIResponse
      • moonsdk.model.BitcoinCashInput
      • moonsdk.model.BitcoinCashTransactionInput
      • moonsdk.model.BitcoinCashTransactionOutput
      • moonsdk.model.BitcoinInput
      • moonsdk.model.BitcoinTransactionInput
      • moonsdk.model.BitcoinTransactionOutput
      • BitcoincashApi
      • openapi.model.Block
      • moonsdk.model.BroadCastRawTransactionAPIResponse
      • moonsdk.model.BroadCastRawTransactionResponse
      • moonsdk.model.BroadcastInput
      • ConveyorFinanceApi
      • moonsdk.model.ConveyorFinanceControllerResponse
      • moonsdk.model.CosmosAPIResponse
      • CosmosApi
      • moonsdk.model.CosmosInput
      • moonsdk.model.CosmosTransactionInput
      • moonsdk.model.CosmosTransactionOutput
      • moonsdk.model.CreateAccountInput
      • openapi.model.CreatePaymentIntentInput
      • moonsdk.model.CryptoCurrency
      • DefaultApi
      • moonsdk.model.DeployInput
      • moonsdk.model.DogeCoinAPIResponse
      • DogeCoinApi
      • moonsdk.model.DogeCoinInput
      • moonsdk.model.DogeCoinTransactionInput
      • moonsdk.model.DogeCoinTransactionOutput
      • ENSApi
      • openapi.model.ENSReverseResolveResponse
      • ERC1155Api
      • moonsdk.model.EnsResolveAPIResponse
      • moonsdk.model.EnsResolveInput
      • moonsdk.model.EnsResolveResponse
      • moonsdk.model.EosAPIResponse
      • EosApi
      • moonsdk.model.EosInput
      • moonsdk.model.EosTransactionInput
      • moonsdk.model.EosTransactionOutput
      • moonsdk.model.Erc1155Request
      • openapi.model.Erc1155Response
      • Erc20Api
      • openapi.model.Erc20Response
      • Erc4337Api
      • Erc721Api
      • moonsdk.model.Erc721Request
      • openapi.model.Erc721Response
      • moonsdk.model.FiatCurrency
      • moonsdk.model.GetSupportedOnRampsResponse
      • moonsdk.model.GetSupportedOnRampsResponseMessageInner
      • moonsdk.model.GetSupportedOnRampsResponseMessageInnerIcons
      • moonsdk.model.GetSupportedOnRampsResponseMessageInnerIconsPng
      • moonsdk.model.GetSwapDto
      • openapi.model.IERC20Approval
      • openapi.model.IERC20Transfer
      • openapi.model.INFTApproval
      • openapi.model.INFTApprovalERC1155
      • openapi.model.INFTApprovalERC721
      • openapi.model.INFTTransfer
      • openapi.model.INativeBalance
      • openapi.model.IOldNFTApproval
      • openapi.model.IWebhook
      • moonsdk.model.InputBody
      • openapi.model.InternalTransaction
      • moonsdk.model.LitecoinAPIResponse
      • LitecoinApi
      • moonsdk.model.LitecoinInput
      • moonsdk.model.LitecoinTransactionInput
      • moonsdk.model.LitecoinTransactionOutput
      • openapi.model.Log
      • moonsdk.model.Message
      • moonsdk.model.NonceAPIResponse
      • moonsdk.model.NonceResponse
      • OneinchApi
      • OnramperApi
      • PaymentApi
      • openapi.model.PaymentIntentResponse
      • moonsdk.model.PaymentType
      • moonsdk.model.PingResponse
      • moonsdk.model.Quote
      • moonsdk.model.RippleAPIResponse
      • RippleApi
      • moonsdk.model.RippleInput
      • moonsdk.model.RippleTransactionInput
      • moonsdk.model.RippleTransactionOutput
      • moonsdk.model.SellQuote
      • moonsdk.model.SignMessage
      • moonsdk.model.SignMessageAPIResponse
      • moonsdk.model.SignTypedData
      • moonsdk.model.SolanaAPIResponse
      • SolanaApi
      • moonsdk.model.SolanaInput
      • moonsdk.model.SolanaTransactionInput
      • moonsdk.model.SolanaTransactionOutput
      • moonsdk.model.SupportedAssetResponse
      • moonsdk.model.SupportedAssetResponseAssetsInner
      • moonsdk.model.SupportedCurrenciesResponse
      • moonsdk.model.SupportedDefaultResponse
      • moonsdk.model.SupportedDefaultResponseDefaults
      • moonsdk.model.SupportedDefaultResponseDefaultsId
      • moonsdk.model.SupportedPaymentTypesCurrencyResponse
      • moonsdk.model.SupportedPaymentTypesMessage
      • openapi.model.TatumTransactionEvent
      • moonsdk.model.TokenSwapParams
      • moonsdk.model.Transaction
      • moonsdk.model.TransactionAPIResponse
      • moonsdk.model.TransactionData
      • moonsdk.model.TransactionInput
      • moonsdk.model.TransactionInputMetaData
      • moonsdk.model.TransactionInputSupportedParams
      • moonsdk.model.TransactionInputSupportedParamsPartnerData
      • moonsdk.model.TransactionInputSupportedParamsPartnerDataRedirectUrl
      • moonsdk.model.TransactionInputSupportedParamsTheme
      • moonsdk.model.TransactionInputWallet
      • moonsdk.model.TransactionRequest
      • moonsdk.model.TransactionResponse
      • moonsdk.model.TransactionResponseInfo
      • moonsdk.model.TransactionResponseTx
      • openapi.model.TriggerOutput
      • moonsdk.model.TronAPIResponse
      • TronApi
      • moonsdk.model.TronInput
      • moonsdk.model.TronTransactionInput
      • moonsdk.model.TronTransactionOutput
      • moonsdk.model.Tx
      • UniSwapApi
      • moonsdk.model.UniswapInput
      • YearnApi
    • Java
      • AaveApi
      • AaveInput
      • AaveReservesAPIResponse
      • AaveReservesData
      • AbiInput
      • AbiItem
      • AbiOutput
      • AccountAPIResponse
      • AccountControllerResponse
      • AccountControllerResponseData
      • AccountData
      • AccountResponse
      • AccountsApi
      • AvailablePaymentMethod
      • BalanceAPIResponse
      • BalanceResponse
      • BitcoinAPIResponse
      • BitcoinApi
      • BitcoinCashAPIResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • BitcoincashApi
      • Block
      • BroadCastRawTransactionAPIResponse
      • BroadCastRawTransactionResponse
      • BroadcastInput
      • ConveyorFinanceApi
      • ConveyorFinanceControllerResponse
      • CosmosAPIResponse
      • CosmosApi
      • CosmosInput
      • CosmosTransactionInput
      • CosmosTransactionOutput
      • CreateAccountInput
      • CreatePaymentIntentInput
      • CryptoCurrency
      • DefaultApi
      • DeployInput
      • DogeCoinAPIResponse
      • DogeCoinApi
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • ENSReverseResolveResponse
      • EnsApi
      • EnsResolveAPIResponse
      • EnsResolveInput
      • EnsResolveResponse
      • EosAPIResponse
      • EosApi
      • EosInput
      • EosTransactionInput
      • EosTransactionOutput
      • Erc1155Api
      • Erc1155Request
      • Erc1155Response
      • Erc20Api
      • Erc20Response
      • Erc4337Api
      • Erc721Api
      • Erc721Request
      • Erc721Response
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSwapDto
      • IERC20Approval
      • IERC20Transfer
      • INFTApproval
      • INFTApprovalERC1155
      • INFTApprovalERC721
      • INFTTransfer
      • INativeBalance
      • IOldNFTApproval
      • IWebhook
      • InputBody
      • InternalTransaction
      • LitecoinAPIResponse
      • LitecoinApi
      • LitecoinInput
      • LitecoinTransactionInput
      • LitecoinTransactionOutput
      • Log
      • Message
      • NonceAPIResponse
      • NonceResponse
      • OneinchApi
      • OnramperApi
      • PaymentApi
      • PaymentIntentResponse
      • PaymentType
      • PingResponse
      • Quote
      • RippleAPIResponse
      • RippleApi
      • RippleInput
      • RippleTransactionInput
      • RippleTransactionOutput
      • SellQuote
      • SignMessage
      • SignMessageAPIResponse
      • SignTypedData
      • SolanaAPIResponse
      • SolanaApi
      • SolanaInput
      • SolanaTransactionInput
      • SolanaTransactionOutput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedCurrenciesResponse
      • SupportedDefaultResponse
      • SupportedDefaultResponseDefaults
      • SupportedDefaultResponseDefaultsId
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TatumTransactionEvent
      • TokenSwapParams
      • Transaction
      • TransactionAPIResponse
      • TransactionData
      • TransactionInput
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerData
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • TriggerOutput
      • TronAPIResponse
      • TronApi
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • UniSwapApi
      • UniswapInput
      • YearnApi
    • Kotlin
      • AaveApi
      • AaveInput
      • AaveReservesAPIResponse
      • AaveReservesData
      • AbiInput
      • AbiItem
      • AbiOutput
      • AccountAPIResponse
      • AccountControllerResponse
      • AccountControllerResponseData
      • AccountData
      • AccountResponse
      • AccountsApi
      • AvailablePaymentMethod
      • BalanceAPIResponse
      • BalanceResponse
      • BitcoinAPIResponse
      • BitcoinApi
      • BitcoinCashAPIResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • BitcoincashApi
      • Block
      • BroadCastRawTransactionAPIResponse
      • BroadCastRawTransactionResponse
      • BroadcastInput
      • ConveyorFinanceApi
      • ConveyorFinanceControllerResponse
      • CosmosAPIResponse
      • CosmosApi
      • CosmosInput
      • CosmosTransactionInput
      • CosmosTransactionOutput
      • CreateAccountInput
      • CreatePaymentIntentInput
      • CryptoCurrency
      • DefaultApi
      • DeployInput
      • DogeCoinAPIResponse
      • DogeCoinApi
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • ENSApi
      • ENSReverseResolveResponse
      • ERC1155Api
      • EnsResolveAPIResponse
      • EnsResolveInput
      • EnsResolveResponse
      • EosAPIResponse
      • EosApi
      • EosInput
      • EosTransactionInput
      • EosTransactionOutput
      • Erc1155Request
      • Erc1155Response
      • Erc20Api
      • Erc20Response
      • Erc4337Api
      • Erc721Api
      • Erc721Request
      • Erc721Response
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSwapDto
      • IERC20Approval
      • IERC20Transfer
      • INFTApproval
      • INFTApprovalERC1155
      • INFTApprovalERC721
      • INFTTransfer
      • INativeBalance
      • IOldNFTApproval
      • IWebhook
      • InputBody
      • InternalTransaction
      • LitecoinAPIResponse
      • LitecoinApi
      • LitecoinInput
      • LitecoinTransactionInput
      • LitecoinTransactionOutput
      • Log
      • Message
      • NonceAPIResponse
      • NonceResponse
      • OneinchApi
      • OnramperApi
      • PaymentApi
      • PaymentIntentResponse
      • PaymentType
      • PingResponse
      • Quote
      • RippleAPIResponse
      • RippleApi
      • RippleInput
      • RippleTransactionInput
      • RippleTransactionOutput
      • SellQuote
      • SignMessage
      • SignMessageAPIResponse
      • SignTypedData
      • SolanaAPIResponse
      • SolanaApi
      • SolanaInput
      • SolanaTransactionInput
      • SolanaTransactionOutput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedCurrenciesResponse
      • SupportedDefaultResponse
      • SupportedDefaultResponseDefaults
      • SupportedDefaultResponseDefaultsId
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TatumTransactionEvent
      • TokenSwapParams
      • Transaction
      • TransactionAPIResponse
      • TransactionData
      • TransactionInput
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerData
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • TriggerOutput
      • TronAPIResponse
      • TronApi
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • UniSwapApi
      • UniswapInput
      • YearnApi
    • Python
      • AaveApi
      • AaveInput
      • AaveReservesAPIResponse
      • AaveReservesData
      • AbiInput
      • AbiItem
      • AbiOutput
      • AccountAPIResponse
      • AccountControllerResponse
      • AccountControllerResponseData
      • AccountData
      • AccountResponse
      • AccountsApi
      • AvailablePaymentMethod
      • BalanceAPIResponse
      • BalanceResponse
      • BitcoinAPIResponse
      • BitcoinApi
      • BitcoinCashAPIResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • BitcoincashApi
      • Block
      • BroadCastRawTransactionAPIResponse
      • BroadCastRawTransactionResponse
      • BroadcastInput
      • ConveyorFinanceApi
      • ConveyorFinanceControllerResponse
      • CosmosAPIResponse
      • CosmosApi
      • CosmosInput
      • CosmosTransactionInput
      • CosmosTransactionOutput
      • CreateAccountInput
      • CreatePaymentIntentInput
      • CryptoCurrency
      • DefaultApi
      • DeployInput
      • DogeCoinAPIResponse
      • DogeCoinApi
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • ENSApi
      • ENSReverseResolveResponse
      • ERC1155Api
      • EnsResolveAPIResponse
      • EnsResolveInput
      • EnsResolveResponse
      • EosAPIResponse
      • EosApi
      • EosInput
      • EosTransactionInput
      • EosTransactionOutput
      • Erc1155Request
      • Erc1155Response
      • Erc20Api
      • Erc20Response
      • Erc4337Api
      • Erc721Api
      • Erc721Request
      • Erc721Response
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSwapDto
      • IERC20Approval
      • IERC20Transfer
      • INFTApproval
      • INFTApprovalERC1155
      • INFTApprovalERC721
      • INFTTransfer
      • INativeBalance
      • IOldNFTApproval
      • IWebhook
      • InputBody
      • InternalTransaction
      • LitecoinAPIResponse
      • LitecoinApi
      • LitecoinInput
      • LitecoinTransactionInput
      • LitecoinTransactionOutput
      • Log
      • Message
      • NonceAPIResponse
      • NonceResponse
      • OneinchApi
      • OnramperApi
      • PaymentApi
      • PaymentIntentResponse
      • PaymentType
      • PingResponse
      • Quote
      • RippleAPIResponse
      • RippleApi
      • RippleInput
      • RippleTransactionInput
      • RippleTransactionOutput
      • SellQuote
      • SignMessage
      • SignMessageAPIResponse
      • SignTypedData
      • SolanaAPIResponse
      • SolanaApi
      • SolanaInput
      • SolanaTransactionInput
      • SolanaTransactionOutput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedCurrenciesResponse
      • SupportedDefaultResponse
      • SupportedDefaultResponseDefaults
      • SupportedDefaultResponseDefaultsId
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TatumTransactionEvent
      • TokenSwapParams
      • Transaction
      • TransactionAPIResponse
      • TransactionData
      • TransactionInput
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerData
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • TriggerOutput
      • TronAPIResponse
      • TronApi
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • UniSwapApi
      • UniswapInput
      • YearnApi
    • Rust
      • \AaveApi
      • AaveInput
      • AaveReservesApiResponse
      • AaveReservesData
      • AbiInput
      • AbiItem
      • AbiOutput
      • AccountApiResponse
      • AccountControllerResponse
      • AccountControllerResponseData
      • AccountData
      • AccountResponse
      • \AccountsApi
      • AvailablePaymentMethod
      • BalanceApiResponse
      • BalanceResponse
      • \BitcoinApi
      • BitcoinApiResponse
      • BitcoinCashApiResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • \BitcoincashApi
      • Block
      • BroadCastRawTransactionApiResponse
      • BroadCastRawTransactionResponse
      • BroadcastInput
      • \ConveyorFinanceApi
      • ConveyorFinanceControllerResponse
      • \CosmosApi
      • CosmosApiResponse
      • CosmosInput
      • CosmosTransactionInput
      • CosmosTransactionOutput
      • CreateAccountInput
      • CreatePaymentIntentInput
      • CryptoCurrency
      • \DefaultApi
      • DeployInput
      • \DogeCoinApi
      • DogeCoinApiResponse
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • \EnsApi
      • EnsResolveApiResponse
      • EnsResolveInput
      • EnsResolveResponse
      • EnsReverseResolveResponse
      • \EosApi
      • EosApiResponse
      • EosInput
      • EosTransactionInput
      • EosTransactionOutput
      • \Erc1155Api
      • Erc1155Request
      • Erc1155Response
      • \Erc20Api
      • Erc20Response
      • \Erc4337Api
      • \Erc721Api
      • Erc721Request
      • Erc721Response
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSwapDto
      • INativeBalance
      • IOldNftApproval
      • IWebhook
      • Ierc20Approval
      • Ierc20Transfer
      • InftApproval
      • InftApprovalErc1155
      • InftApprovalErc721
      • InftTransfer
      • InputBody
      • InternalTransaction
      • \LitecoinApi
      • LitecoinApiResponse
      • LitecoinInput
      • LitecoinTransactionInput
      • LitecoinTransactionOutput
      • Log
      • Message
      • NonceApiResponse
      • NonceResponse
      • \OneinchApi
      • \OnramperApi
      • \PaymentApi
      • PaymentIntentResponse
      • PaymentType
      • PingResponse
      • Quote
      • \RippleApi
      • RippleApiResponse
      • RippleInput
      • RippleTransactionInput
      • RippleTransactionOutput
      • SellQuote
      • SignMessage
      • SignMessageApiResponse
      • SignTypedData
      • \SolanaApi
      • SolanaApiResponse
      • SolanaInput
      • SolanaTransactionInput
      • SolanaTransactionOutput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedCurrenciesResponse
      • SupportedDefaultResponse
      • SupportedDefaultResponseDefaults
      • SupportedDefaultResponseDefaultsId
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TatumTransactionEvent
      • TokenSwapParams
      • Transaction
      • TransactionApiResponse
      • TransactionData
      • TransactionInput
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerData
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • TriggerOutput
      • \TronApi
      • TronApiResponse
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • \UniSwapApi
      • UniswapInput
      • \YearnApi
    • Swift
      • AaveInput
      • AaveReservesAPIResponse
      • AaveReservesData
      • AccountAPIResponse
      • AccountData
      • AccountsAPI
      • AvailablePaymentMethod
      • BalanceAPIResponse
      • BitcoinAPI
      • BalanceResponse
      • BitcoincashAPI
      • BitcoinCashAPIResponse
      • BitcoinAPIResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • BroadcastInput
      • BroadCastRawTransactionAPIResponse
      • BroadCastRawTransactionResponse
      • ConveyorFinanceAPI
      • ConveyorFinanceControllerResponse
      • CosmosAPI
      • CosmosInput
      • CosmosAPIResponse
      • CosmosTransactionInput
      • CreateAccountInput
      • DefaultAPI
      • CryptoCurrency
      • DeployInput
      • DogeCoinAPI
      • DogeCoinTransactionInput
      • DogeCoinAPIResponse
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • ENSAPI
      • EnsResolveAPIResponse
      • EnsResolveInput
      • EnsResolveResponse
      • EosAPIResponse
      • EosAPI
      • EosTransactionInput
      • EosTransactionOutput
      • Erc20API
      • Erc721Request
      • Erc721API
      • Erc1155Request
      • Erc4337API
      • ERC1155API
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSwapDto
      • LitecoinAPI
      • LitecoinAPIResponse
      • LitecoinTransactionInput
      • LitecoinInput
      • LitecoinTransactionOutput
      • Message
      • NonceAPIResponse
      • NonceResponse
      • OneinchAPI
      • OnramperAPI
      • PaymentType
      • PingResponse
      • RippleAPI
      • Quote
      • RippleAPIResponse
      • RippleTransactionOutput
      • RippleInput
      • SellQuote
      • SignMessage
      • SignMessageAPIResponse
      • SignTypedData
      • SolanaAPI
      • SolanaAPIResponse
      • SolanaTransactionInput
      • SolanaInput
      • SolanaTransactionOutput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedDefaultResponse
      • SupportedCurrenciesResponse
      • SupportedDefaultResponseDefaultsId
      • SupportedDefaultResponseDefaults
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TokenSwapParams
      • Transaction
      • TransactionAPIResponse
      • TransactionData
      • TransactionInput
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • TronAPIResponse
      • TronAPI
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • UniSwapAPI
      • UniswapInput
      • YearnAPI
    • Golang
      • \AaveAPI
      • AaveInput
      • AaveReservesData
      • AaveReservesAPIResponse
      • AccountAPIResponse
      • AccountData
      • AccountResponse
      • AvailablePaymentMethod
      • \AccountsAPI
      • BalanceResponse
      • BalanceAPIResponse
      • \BitcoinAPI
      • BitcoinAPIResponse
      • BitcoinAPIResponse
      • \BitcoincashAPI
      • BitcoinCashAPIResponse
      • BitcoinCashInput
      • BitcoinCashTransactionInput
      • BitcoinCashTransactionOutput
      • BitcoinInput
      • BitcoinInput
      • BitcoinTransactionInput
      • BitcoinTransactionOutput
      • BroadcastInput
      • BroadCastRawTransactionAPIResponse
      • BroadCastRawTransactionResponse
      • \ConveyorFinanceAPI
      • ConveyorFinanceControllerResponse
      • \CosmosAPI
      • CosmosAPIResponse
      • CosmosInput
      • \AaveAPI
      • CosmosTransactionInput
      • CreateAccountInput
      • CosmosTransactionOutput
      • CryptoCurrency
      • \DefaultAPI
      • \DogeCoinAPI
      • DeployInput
      • DogeCoinAPIResponse
      • DogeCoinInput
      • DogeCoinTransactionInput
      • DogeCoinTransactionOutput
      • \ENSAPI
      • EnsResolveAPIResponse
      • \EosAPI
      • EnsResolveResponse
      • EosAPIResponse
      • EosInput
      • EosTransactionInput
      • EosTransactionOutput
      • \Erc721API
      • \Erc20API
      • Erc721Request
      • Erc1155Request
      • \ERC1155API
      • FiatCurrency
      • GetSupportedOnRampsResponse
      • GetSupportedOnRampsResponseMessageInner
      • GetSupportedOnRampsResponseMessageInnerIcons
      • GetSupportedOnRampsResponseMessageInnerIconsPng
      • GetSwapDto
      • InputBody
      • \LitecoinAPI
      • LitecoinAPIResponse
      • LitecoinAPIResponse
      • LitecoinInput
      • LitecoinTransactionOutput
      • Message
      • LitecoinTransactionInput
      • NonceAPIResponse
      • NonceResponse
      • \OneinchAPI
      • \OnramperAPI
      • PaymentType
      • PingResponse
      • Quote
      • \RippleAPI
      • RippleTransactionInput
      • RippleAPIResponse
      • RippleInput
      • RippleTransactionOutput
      • SellQuote
      • SignMessage
      • SignMessageAPIResponse
      • SignTypedData
      • \SolanaAPI
      • SolanaAPIResponse
      • SolanaInput
      • SolanaTransactionOutput
      • SolanaTransactionInput
      • SupportedAssetResponse
      • SupportedAssetResponseAssetsInner
      • SupportedCurrenciesResponse
      • SupportedDefaultResponseDefaults
      • SupportedDefaultResponseDefaultsId
      • SupportedPaymentTypesCurrencyResponse
      • SupportedPaymentTypesMessage
      • TokenSwapParams
      • TransactionAPIResponse
      • Transaction
      • TransactionInputMetaData
      • TransactionInputSupportedParams
      • TransactionInputSupportedParamsPartnerData
      • TransactionInputSupportedParamsPartnerDataRedirectUrl
      • TransactionInputSupportedParamsTheme
      • TransactionInputWallet
      • TransactionRequest
      • TransactionResponse
      • TransactionResponseInfo
      • TransactionResponseTx
      • \TronAPI
      • TronAPIResponse
      • TronInput
      • TronTransactionInput
      • TronTransactionOutput
      • Tx
      • \UniSwapAPI
      • UniswapInput
      • \YearnAPI
    • Unity
      • AaveApi
      • com.usemoon.MoonSDK.Model.AaveInput
      • com.usemoon.MoonSDK.Model.AaveReservesAPIResponse
      • com.usemoon.MoonSDK.Model.AaveReservesData
      • com.usemoon.MoonSDK.Model.AbiInput
      • com.usemoon.MoonSDK.Model.AbiItem
      • com.usemoon.MoonSDK.Model.AbiOutput
      • com.usemoon.MoonSDK.Model.AccountControllerResponse
      • com.usemoon.MoonSDK.Model.AccountControllerResponseData
      • com.usemoon.MoonSDK.Model.AccountData
      • com.usemoon.MoonSDK.Model.AccountResponse
      • com.usemoon.MoonSDK.Model.AvailablePaymentMethod
      • com.usemoon.MoonSDK.Model.BalanceAPIResponse
      • AccountsApi
      • BitcoinApi
      • com.usemoon.MoonSDK.Model.BitcoinAPIResponse
      • BitcoincashApi
      • com.usemoon.MoonSDK.Model.BitcoinCashAPIResponse
      • com.usemoon.MoonSDK.Model.BitcoinCashTransactionInput
      • com.usemoon.MoonSDK.Model.BitcoinCashTransactionOutput
      • com.usemoon.MoonSDK.Model.BitcoinCashInput
      • com.usemoon.MoonSDK.Model.BitcoinInput
      • com.usemoon.MoonSDK.Model.BitcoinTransactionInput
      • com.usemoon.MoonSDK.Model.BitcoinTransactionOutput
      • com.usemoon.MoonSDK.Model.BroadcastInput
      • com.usemoon.MoonSDK.Model.Block
      • com.usemoon.MoonSDK.Model.BroadCastRawTransactionAPIResponse
      • com.usemoon.MoonSDK.Model.BroadCastRawTransactionResponse
      • com.usemoon.MoonSDK.Model.ConveyorFinanceControllerResponse
      • ConveyorFinanceApi
      • com.usemoon.MoonSDK.Model.CosmosInput
      • CosmosApi
      • com.usemoon.MoonSDK.Model.CosmosAPIResponse
      • com.usemoon.MoonSDK.Model.CosmosTransactionOutput
      • com.usemoon.MoonSDK.Model.CreateAccountInput
      • com.usemoon.MoonSDK.Model.CreatePaymentIntentInput
      • com.usemoon.MoonSDK.Model.CryptoCurrency
      • DefaultApi
      • com.usemoon.MoonSDK.Model.DeployInput
      • DogeCoinApi
      • com.usemoon.MoonSDK.Model.DogeCoinAPIResponse
      • com.usemoon.MoonSDK.Model.DogeCoinTransactionInput
      • com.usemoon.MoonSDK.Model.DogeCoinInput
      • com.usemoon.MoonSDK.Model.DogeCoinTransactionInput
      • com.usemoon.MoonSDK.Model.DogeCoinTransactionOutput
      • ENSApi
      • com.usemoon.MoonSDK.Model.EnsResolveAPIResponse
      • com.usemoon.MoonSDK.Model.EnsResolveInput
      • com.usemoon.MoonSDK.Model.EnsResolveResponse
      • com.usemoon.MoonSDK.Model.ENSReverseResolveResponse
      • EosApi
      • com.usemoon.MoonSDK.Model.EosAPIResponse
      • com.usemoon.MoonSDK.Model.EosTransactionOutput
      • com.usemoon.MoonSDK.Model.EosTransactionInput
      • com.usemoon.MoonSDK.Model.EosTransactionOutput
      • Erc20Api
      • com.usemoon.MoonSDK.Model.Erc20Response
      • Erc721Api
      • com.usemoon.MoonSDK.Model.Erc721Request
      • com.usemoon.MoonSDK.Model.Erc721Response
      • com.usemoon.MoonSDK.Model.Erc1155Response
      • com.usemoon.MoonSDK.Model.Erc1155Request
      • ERC1155Api
      • com.usemoon.MoonSDK.Model.FiatCurrency
      • com.usemoon.MoonSDK.Model.GetSupportedOnRampsResponse
      • com.usemoon.MoonSDK.Model.GetSupportedOnRampsResponseMessageInner
      • com.usemoon.MoonSDK.Model.GetSupportedOnRampsResponseMessageInnerIcons
      • com.usemoon.MoonSDK.Model.GetSwapDto
      • com.usemoon.MoonSDK.Model.GetSupportedOnRampsResponseMessageInnerIconsPng
      • com.usemoon.MoonSDK.Model.IERC20Approval
      • com.usemoon.MoonSDK.Model.IERC20Transfer
      • com.usemoon.MoonSDK.Model.INFTApproval
      • com.usemoon.MoonSDK.Model.INativeBalance
      • com.usemoon.MoonSDK.Model.INFTApprovalERC721
      • com.usemoon.MoonSDK.Model.INFTTransfer
      • com.usemoon.MoonSDK.Model.INFTApprovalERC1155
      • com.usemoon.MoonSDK.Model.InputBody
      • com.usemoon.MoonSDK.Model.InternalTransaction
      • com.usemoon.MoonSDK.Model.IWebhook
      • com.usemoon.MoonSDK.Model.IOldNFTApproval
      • LitecoinApi
      • com.usemoon.MoonSDK.Model.LitecoinAPIResponse
      • com.usemoon.MoonSDK.Model.LitecoinTransactionInput
      • com.usemoon.MoonSDK.Model.LitecoinTransactionOutput
      • com.usemoon.MoonSDK.Model.Message
      • com.usemoon.MoonSDK.Model.Log
      • com.usemoon.MoonSDK.Model.NonceAPIResponse
      • com.usemoon.MoonSDK.Model.NonceResponse
      • OneinchApi
      • OnramperApi
      • PaymentApi
      • com.usemoon.MoonSDK.Model.PaymentIntentResponse
      • com.usemoon.MoonSDK.Model.PaymentType
      • com.usemoon.MoonSDK.Model.PingResponse
      • com.usemoon.MoonSDK.Model.Quote
      • RippleApi
      • com.usemoon.MoonSDK.Model.RippleAPIResponse
      • com.usemoon.MoonSDK.Model.RippleInput
      • com.usemoon.MoonSDK.Model.RippleTransactionInput
      • com.usemoon.MoonSDK.Model.RippleTransactionOutput
      • com.usemoon.MoonSDK.Model.SellQuote
      • com.usemoon.MoonSDK.Model.SignMessage
      • com.usemoon.MoonSDK.Model.SignMessageAPIResponse
      • com.usemoon.MoonSDK.Model.SignTypedData
      • SolanaApi
      • com.usemoon.MoonSDK.Model.SolanaTransactionInput
      • com.usemoon.MoonSDK.Model.SolanaAPIResponse
      • com.usemoon.MoonSDK.Model.SupportedAssetResponse
      • com.usemoon.MoonSDK.Model.SolanaTransactionOutput
      • com.usemoon.MoonSDK.Model.SupportedAssetResponseAssetsInner
      • com.usemoon.MoonSDK.Model.SupportedCurrenciesResponse
      • com.usemoon.MoonSDK.Model.SupportedDefaultResponse
      • com.usemoon.MoonSDK.Model.SupportedDefaultResponseDefaultsId
      • com.usemoon.MoonSDK.Model.SupportedDefaultResponseDefaults
      • com.usemoon.MoonSDK.Model.SupportedPaymentTypesCurrencyResponse
      • com.usemoon.MoonSDK.Model.SupportedPaymentTypesMessage
      • com.usemoon.MoonSDK.Model.TokenSwapParams
      • com.usemoon.MoonSDK.Model.Transaction
      • com.usemoon.MoonSDK.Model.TransactionAPIResponse
      • com.usemoon.MoonSDK.Model.TransactionData
      • com.usemoon.MoonSDK.Model.TransactionInput
      • com.usemoon.MoonSDK.Model.TransactionInputMetaData
      • com.usemoon.MoonSDK.Model.TransactionInputSupportedParams
      • com.usemoon.MoonSDK.Model.TransactionInputSupportedParamsPartnerDataRedirectUrl
      • com.usemoon.MoonSDK.Model.TransactionInputSupportedParamsPartnerData
      • com.usemoon.MoonSDK.Model.TransactionInputSupportedParamsTheme
      • com.usemoon.MoonSDK.Model.TransactionInputSupportedParamsPartnerDataRedirectUrl
      • com.usemoon.MoonSDK.Model.TransactionInputWallet
      • com.usemoon.MoonSDK.Model.TransactionRequest
      • com.usemoon.MoonSDK.Model.TransactionRequest
      • com.usemoon.MoonSDK.Model.TransactionResponseInfo
      • com.usemoon.MoonSDK.Model.TransactionResponse
      • com.usemoon.MoonSDK.Model.TriggerOutput
      • com.usemoon.MoonSDK.Model.TransactionResponseTx
      • TronApi
      • com.usemoon.MoonSDK.Model.TronAPIResponse
      • com.usemoon.MoonSDK.Model.TronInput
      • com.usemoon.MoonSDK.Model.TronTransactionInput
      • com.usemoon.MoonSDK.Model.TronTransactionOutput
      • com.usemoon.MoonSDK.Model.Tx
      • UniSwapApi
      • com.usemoon.MoonSDK.Model.UniswapInput
      • YearnApi
  • Security
  • API Reference
    • About
    • API reference
      • Accounts
        • Nonce
        • Balance
        • Suggest gas
        • Estimate
        • Transfer eth
        • Sign message
        • Sign transaction
        • Export
        • Sign typed data
        • Deploy
        • Broadcast tx
        • Encode data
      • Bitcoin
        • Sign tx
        • Src20 inscription
        • Brc20 tx
        • Generate unsigned psbt
        • Export
        • Delete
      • Cosmos
        • Export
        • Sign transfer
        • Sign message
        • Sign ibc transfer
      • Dogecoin
        • Sign tx
        • Export
        • Delete
        • Memo sign tx
      • Eos
        • Sign tx
        • Export
        • Delete
      • Litecoin
        • Sign tx
        • Export
        • Delete
        • Memo sign tx
      • Ripple
        • Sign tx
        • Export
        • Delete
      • Solana
        • Sign tx
        • Multi sign tx
        • Transfer
        • Transfer tokens
        • Export
        • Delete
      • Tron
        • Sign tx
        • Export
        • Delete
      • Allora
        • Inference
        • Log return to percentage
        • Implied future price
      • Bitcoincash
        • Accounts
          • Export
          • Delete
          • Sign tx
          • Memo sign tx
          • Sign btc tx
          • Generate unsigned psbt
          • Sign psbt with key path and script path
      • Data
        • Analysis
        • Balance
        • History
        • Token metadata
        • Nfts
        • Portfolio
          • Status
        • Query
        • Debank
          • Tokens
          • Complex protocols
          • All tokens
          • Total balance
      • Cookiefun
        • Kols
          • Network
          • Community
        • Predictive
        • Tweets
          • Trending
        • Narratives
          • Trending
        • Tokens
          • Analytics
          • Trending
      • Ens
        • Resolve
        • Reverse
      • Erc1155
        • Balance of
        • Balance of batch
        • Set approval for all
        • Is approved for all
        • Safe transfer from
        • Safe batch transfer from
      • Erc20
        • Decimals
        • Symbol
        • Name
        • TotalSupply
        • BalanceOf
        • Allowance
        • Approve
        • Transfer
        • TransferFrom
      • Erc4626
        • Asset
        • TotalAssets
        • ConvertToShares
        • ConvertToAssets
        • MaxDeposit
        • Deposit
        • Withdraw
        • MaxMint
        • MaxWithdraw
        • MaxRedeem
        • PreviewDeposit
        • PreviewMint
        • PreviewWithdraw
        • PreviewRedeem
        • Mint
        • Redeem
        • TotalSupply
        • BalanceOf
        • Allowance
        • Approve
        • Transfer
        • TransferFrom
      • Erc721
        • BalanceOf
        • OwnerOf
        • Name
        • Symbol
        • TokenURI
        • GetApproved
        • IsApprovedForAll
        • Approve
        • SetApprovalForAll
        • TransferFrom
        • SafeTransferFrom
        • SafeTransferFromWithData
      • Financial datasets
        • Company facts
        • Income statements
        • Balance sheets
        • Cash flow statements
        • Segmented revenues
        • All financials
        • Available tickers
        • Insider transactions
        • Options chain
        • Prices
        • Search financials
        • Price snapshot
        • Search line items
      • Jupiter
        • ProgramIdToLabel
        • IndexedRouteMap
        • Tokens
        • Quote
        • Swap
        • SwapInstructions
        • CreateLimitOrder
        • CancelLimitOrders
        • OpenOrders
        • OrderHistory
      • Lending pool
        • Flash loan premium
        • Revision
        • Max reserves
        • Max stable rate borrow size percent
        • Borrow
        • Deposit
        • Flash loan
        • Repay
        • Swap borrow rate mode
        • Set user use reserve as collateral
        • Liquidation call
        • Reserve data
        • User account data
        • Reserves list
        • Addresses provider
        • Paused
      • Leverager
        • Addresses provider
        • Default admin role
        • Lending pool
        • Min hf
        • Paused
        • Weth
        • Role admin
        • Has role
        • Supports interface
        • Deleverage erc20
        • Deleverage native
        • Execute operation
        • Grant role
        • Leverage erc20
        • Leverage native
        • Pause
        • Renounce role
        • Revoke role
        • Unpause
      • Lifi
        • Quote
        • Status
        • Chains
        • Tools
        • Tokens
        • Token
        • Connections
        • AllPossibleConnections
      • Makefuntoken
        • CLFactory
        • MaxTick
        • MinTick
        • MakeToken
        • SetTickLimits
        • SetSupplyLimits
      • Multicall
        • Create job
        • Execute job
        • Job result
        • Schedule job
        • Unschedule job
        • Scheduled jobs
        • Jobs
        • Job
        • Flows
        • User defined functions
        • Notifications
          • Mark as read
      • Odos
        • Swap
        • Get quote
        • Get zap quote
        • Zap
        • Assemble transaction
        • Supported chains
        • Contract info
        • Router address
        • Executor address
        • Liquidity sources
        • Supported tokens
        • Current block
      • Onramper
        • Currencies
        • Payment types
          • Fiat
        • Defaults
        • Assets
        • Onramps
        • Quotes
          • Buy
          • Sell
        • Fund
          • ${accountName}
      • Opensea
        • CreateOffer
        • CreateCollectionOffer
        • Collection
        • Nft
        • WrapEth
        • UnwrapWeth
      • Polymarket
        • CreateOrder
        • CreateMarketBuyOrder
        • PostOrder
        • CancelOrder
        • CancelOrders
        • CancelMarketOrders
        • UpdateBalanceAllowance
        • DropNotifications
        • Markets
        • ApproveForPolymarket
        • Market
        • OrderBook
        • OpenOrders
        • Order
        • Trades
        • Notifications
        • BalanceAllowance
        • PricesHistory
        • MarketTradeEvents
      • Thorswap
        • Quote
        • Swap
        • GasPrice
        • SupportedChains
        • SupportedProviders
      • TradingBot
        • Configs
        • Start
        • Stop
        • Activate
        • Deactivate
        • Trigger
        • TweetReplyTest
        • Restart
        • Status
        • LastRunResults
        • Personality
        • Twitter
          • CreateTweet
          • FollowingTimeline
          • Conversation
          • Tweet
            • History
      • Lynex
        • Data
          • Assets
          • Pools
            • Type
            • Top apr
          • Tvl
          • Vote distribution
        • Nft
          • BalanceOf
          • OwnerOf
          • TokenURI
          • LockDetails
          • CreateLock
          • IncreaseLockAmount
          • IncreaseUnlockTime
          • TotalSupply
          • TokenOfOwnerByIndex
          • TokenByIndex
          • Delegate
          • Merge
          • Split
          • Claim
          • UnlockPermanent
          • Name
          • Symbol
          • GetApproved
          • IsApprovedForAll
          • BalanceOfNFT
          • BalanceOfNFTAt
          • TotalNftsMinted
          • Delegates
          • GetVotes
          • GetPastVotes
          • VestedPayout
          • VestedPayoutAtTime
          • VestingPayout
          • VestingPeriod
          • Approve
          • SetApprovalForAll
          • TransferFrom
          • SafeTransferFrom
          • Burn
          • CreateDelegatedLockFor
          • CreateLockFor
          • Checkpoint
          • CheckpointDelegatee
          • SetClaimApproval
          • SetClaimApprovalForAll
          • DelegateBySig
          • GlobalCheckpoint
        • Router
          • Factory
          • WETH
          • GetAmountOut
          • GetAmountsOut
          • AddLiquidity
          • AddLiquidityETH
          • SwapExactTokensForTokens
          • SwapExactETHForTokens
          • SwapExactTokensForETH
        • Voter
          • TotalWeight
          • Weights
          • IsGauge
          • IsWhitelisted
          • LastVoted
          • PoolVoteLength
          • Vote
          • Reset
          • Poke
          • CreateGauge
          • KillGauge
          • ReviveGauge
          • NotifyRewardAmount
          • Distribute
          • ClaimBribes
          • ClaimFees
          • ClaimRewards
          • Whitelist
          • VoteWithOptimalDistribution
      • Ramses
        • Data
          • Pools
            • Type
            • Top apr
          • Tokens
          • Info
          • Tvl
          • Vote distribution
        • Nft
          • BalanceOf
          • OwnerOf
          • Approve
          • CreateLock
          • IncreaseAmount
          • IncreaseUnlockTime
          • Withdraw
          • TokenURI
          • TotalSupply
          • Delegate
          • TransferFrom
          • Merge
          • Split
          • BalanceOfNFT
          • Locked
          • GetVotes
          • GetPastVotes
          • Delegates
          • Abstain
          • Attach
          • Detach
        • Router
          • UNSAFE swapExactTokensForTokens
          • AddLiquidity
          • AddLiquidityETH
          • RemoveLiquidity
          • RemoveLiquidityETH
          • SwapExactTokensForTokens
          • SwapExactETHForTokens
          • SwapExactTokensForETH
          • Factory
          • GetAmountOut
          • GetAmountsOut
          • GetReserves
          • IsPair
          • PairFor
          • QuoteAddLiquidity
          • QuoteRemoveLiquidity
          • SortTokens
          • Weth
        • Voter
          • TotalWeight
          • Weights
          • IsGauge
          • IsWhitelisted
          • LastVoted
          • Vote
          • Reset
          • Poke
          • AttachTokenToGauge
          • DetachTokenFromGauge
          • CreateGauge
          • KillGauge
          • ReviveGauge
          • NotifyRewardAmount
          • Distribute
          • ClaimBribes
          • ClaimFees
          • ClaimRewards
          • Whitelist
          • VoteWithOptimalDistribution
      • Thena
        • Data
          • Fusions
            • Type
            • Top apr
          • Tvl
          • Vote distribution
          • Tokens
            • Top
          • Pairs
            • Top
        • Nft
          • BalanceOf
          • OwnerOf
          • TokenURI
          • GetApproved
          • IsApprovedForAll
          • BalanceOfNFT
          • TotalSupply
          • Locked
          • LockedEnd
          • CreateLock
          • CreateLockFor
          • IncreaseLockAmount
          • IncreaseUnlockTime
          • Withdraw
          • Approve
          • SetApprovalForAll
          • TransferFrom
          • SafeTransferFrom
          • Merge
          • Split
          • Voting
          • Abstain
          • Attach
          • Detach
          • DepositFor
          • Checkpoint
          • Delegate
          • DelegateBySig
          • GetLastUserSlope
          • UserPointHistory
          • UserPointHistoryTS
          • BalanceOfAtNFT
          • TotalSupplyAt
          • TotalSupplyAtT
          • GetPastVotes
          • GetPastTotalSupply
          • GetVotes
          • Delegates
        • Voter
          • TotalWeight
          • Weights
          • IsGauge
          • Vote
          • Reset
          • Poke
          • CreateGauge
          • VoteWithOptimalDistribution
          • IsWhitelisted
          • LastVoted
          • PoolVoteLength
          • AttachTokenToGauge
          • DetachTokenFromGauge
          • KillGauge
          • ReviveGauge
          • NotifyRewardAmount
          • Distribute
          • ClaimBribes
          • ClaimFees
          • ClaimRewards
          • Whitelist
      • Aave
        • V3
          • Pool
            • GetReserveData
            • GetUserAccountData
            • Supply
            • Withdraw
            • Borrow
            • Repay
            • SetUserUseReserveAsCollateral
            • LiquidationCall
          • PoolAddressProvider
            • GetACLAdmin
            • GetACLManager
            • GetAddress
            • GetMarketId
            • GetPool
            • GetPoolConfigurator
            • GetPriceOracle
            • SetACLAdmin
            • SetACLManager
            • SetAddress
            • SetMarketId
            • SetPoolConfiguratorImpl
            • SetPoolImpl
          • PoolAddressProviderRegistry
            • GetAddressesProvider
            • GetATokenTotalSupply
            • GetAllATokens
            • GetAllReservesTokens
            • GetDebtCeiling
          • Rewards
            • RewardsByAsset
            • UserRewards
            • RewardsData
            • ClaimRewards
            • ClaimRewardsOnBehalf
            • ClaimRewardsToSelf
            • ClaimAllRewards
            • ClaimAllRewardsOnBehalf
            • ClaimAllRewardsToSelf
          • Incentives
            • FullReservesIncentiveData
            • ReservesIncentivesData
            • UserReservesIncentivesData
          • Pool data
            • Eth currency unit
            • Reserves data
            • Reserves list
            • User reserves data
            • Market reference currency price in usd proxy aggregator
            • Network base token price in usd proxy aggregator
          • Wallet balance
            • Balance of
            • Batch balance of
            • User wallet balances
      • Uniswap
        • V2
          • Router
            • WETH
            • AddLiquidity
            • AddLiquidityETH
            • GetAmountIn
            • GetAmountOut
            • GetAmountsIn
            • GetAmountsOut
            • Quote
            • RemoveLiquidity
            • RemoveLiquidityETH
            • RemoveLiquidityETHSupportingFeeOnTransferTokens
            • RemoveLiquidityETHWithPermit
            • RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens
            • RemoveLiquidityWithPermit
            • SwapETHForExactTokens
            • SwapExactETHForTokens
            • SwapExactETHForTokensSupportingFeeOnTransferTokens
            • SwapExactTokensForETH
            • SwapExactTokensForETHSupportingFeeOnTransferTokens
            • SwapExactTokensForTokens
            • SwapExactTokensForTokensSupportingFeeOnTransferTokens
            • SwapTokensForExactETH
            • SwapTokensForExactTokens
        • V3
          • Nft
            • Mint
            • IncreaseLiquidity
            • DecreaseLiquidity
            • Collect
            • Burn
            • CreateAndInitializePoolIfNecessary
            • Approve
            • SetApprovalForAll
            • TransferFrom
            • Permit
            • Multicall
            • SweepToken
            • UnwrapWETH9
            • RefundETH
            • Positions
            • TokenOfOwnerByIndex
            • BalanceOf
            • DOMAIN SEPARATOR
            • PERMIT TYPEHASH
            • WETH9
            • Factory
            • Name
            • Symbol
            • TokenURI
            • BaseURI
            • OwnerOf
            • GetApproved
            • IsApprovedForAll
            • TotalSupply
            • TokenByIndex
            • SupportsInterface
          • Router
            • ExactInput
            • ExactInputSingle
            • ExactOutput
            • ExactOutputSingle
            • Multicall
            • RefundETH
            • SelfPermit
            • SelfPermitAllowed
            • SelfPermitAllowedIfNecessary
            • SelfPermitIfNecessary
            • SweepToken
            • SweepTokenWithFee
            • UnwrapWETH9
            • UnwrapWETH9WithFee
            • WETH9
            • Factory
    • Specification
Powered by GitBook
On this page
Edit on GitHub
  1. API Reference
  2. API reference
  3. Uniswap
  4. V2
  5. Router

SwapTokensForExactTokens

PreviousSwapTokensForExactETHNextV3
post
Authorizations
Path parameters
accountstringRequired
Header parameters
AuthorizationstringRequired
Body

Represents the input body for a UniswapV2 transaction.

tostringOptional

The address of the token to swap.

datastringOptional

The address of the token to swap.

valuestringOptional

The address of the token to swap.

gasLimitstringOptional

The address of the token to swap.

noncestringOptional

The address of the token to swap.

simulatebooleanOptional

The address of the token to swap.

gasstringOptional

The address of the token to swap.

gasPricestringOptional

The address of the token to swap.

maxFeePerGasstringOptional

The maximum fee per gas.

maxPriorityFeePerGasstringOptional

The maximum priority fee per gas.

chain_idstringOptional

The chain ID.

encodingstringOptional

The encoding type.

typenumber · doubleOptional

The type of transaction.

blobGasstringOptional

The gas for blob transactions.

blobGasFeeCapstringOptional

The gas fee cap for blob transactions.

blobHashesstring[]Optional

The hashes for blob transactions.

dryrunbooleanOptional

The address of the token to swap.

inputstringOptional

The input data.

EOAbooleanOptional

The address of the token to swap.

contract_addressstringOptional

The address of the token to swap.

token_idstringOptional

The token ID.

token_idsstringOptional

The token IDs.

approvedbooleanOptional

Whether the transaction is approved.

broadcastbooleanOptional

The address of the token to swap.

alwaysIncrementNoncebooleanOptional

The address of the token to swap.

assetstringOptional

The asset involved in the transaction.

amountstringOptional

The address of the token to swap.

interestRateModenumber · doubleOptional

The interest rate mode.

referralCodenumber · doubleOptional

The referral code.

onBehalfOfstringOptional

The address on behalf of which the transaction is made.

receiverAddressstringOptional

The receiver address.

assetsstring[]Optional

The assets involved in the transaction.

amountsstring[]Optional

The amounts involved in the transaction.

modesnumber · double[]Optional

The modes of the transaction.

paramsstringOptional

Additional parameters.

rateModenumber · doubleOptional

The rate mode.

useAsCollateralbooleanOptional

Whether to use as collateral.

collateralAssetstringOptional

The collateral asset.

debtAssetstringOptional

The debt asset.

userstringOptional

The user involved in the transaction.

debtToCoverstringOptional

The debt to cover.

receiveATokenbooleanOptional

Whether to receive a token.

slippageLimitPercentnumber · doubleOptional

The slippage limit percentage.

minHealthFactorany ofOptional

The minimum health factor.

stringOptional
or
number · doubleOptional
premiumsany ofOptional

The premiums.

string[]Optional
or
number · double[]Optional
initiatorstringOptional

The initiator of the transaction.

rolestringOptional

The role of the user.

accountstringOptional

The account involved in the transaction.

initialDepositany ofOptional

The initial deposit.

stringOptional
or
number · doubleOptional
borrowAmountany ofOptional

The borrow amount.

stringOptional
or
number · doubleOptional
amountInstringOptional

The address of the token to swap.

amountInMaxstringOptional

The address of the token to swap.

amountOutstringOptional

The address of the token to swap.

amountOutMinstringOptional

The address of the token to swap.

amountADesiredstringOptional

The address of the token to swap.

amountBDesiredstringOptional

The address of the token to swap.

amountAMinstringOptional

The address of the token to swap.

amountBMinstringOptional

The address of the token to swap.

amountETHMinstringOptional

The address of the token to swap.

amountTokenDesiredstringOptional

The address of the token to swap.

amountTokenMinstringOptional

The address of the token to swap.

liquiditystringOptional

The address of the token to swap.

pathstring[]Optional

The address of the token to swap.

deadlinestringOptional

The address of the token to swap.

approveMaxbooleanOptional

The address of the token to swap.

vnumber · doubleOptional

The address of the token to swap.

rstringOptional

The address of the token to swap.

sstringOptional

The address of the token to swap.

tokenAstringOptional

The address of the token to swap.

tokenBstringOptional

The address of the token to swap.

reserveAstringOptional

The address of the token to swap.

reserveBstringOptional

The address of the token to swap.

reservestringOptional

The address of the token to swap.

reserveETHstringOptional

The address of the token to swap.

tokenstringOptional

The address of the token to swap.

amountAstringOptional

The address of the token to swap.

reserveInstringOptional

The address of the token to swap.

reserveOutstringOptional

The address of the token to swap.

Responses
200
Ok
application/json
post
POST //uniswap/v2/router/{account}/swapTokensForExactTokens HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 1612

{
  "to": "text",
  "data": "text",
  "value": "text",
  "gasLimit": "text",
  "nonce": "text",
  "simulate": true,
  "gas": "text",
  "gasPrice": "text",
  "maxFeePerGas": "text",
  "maxPriorityFeePerGas": "text",
  "chain_id": "text",
  "encoding": "text",
  "type": 1,
  "accessList": [
    {
      "address": "text",
      "storageKeys": [
        "text"
      ]
    }
  ],
  "blobGas": "text",
  "blobGasFeeCap": "text",
  "blobHashes": [
    "text"
  ],
  "dryrun": true,
  "input": "text",
  "EOA": true,
  "contract_address": "text",
  "token_id": "text",
  "token_ids": "text",
  "approved": true,
  "broadcast": true,
  "alwaysIncrementNonce": true,
  "asset": "text",
  "amount": "text",
  "interestRateMode": 1,
  "referralCode": 1,
  "onBehalfOf": "text",
  "receiverAddress": "text",
  "assets": [
    "text"
  ],
  "amounts": [
    "text"
  ],
  "modes": [
    1
  ],
  "params": "text",
  "rateMode": 1,
  "useAsCollateral": true,
  "collateralAsset": "text",
  "debtAsset": "text",
  "user": "text",
  "debtToCover": "text",
  "receiveAToken": true,
  "inputTokens": [
    {
      "tokenAddress": "text",
      "amount": "text"
    }
  ],
  "outputTokens": [
    {
      "tokenAddress": "text",
      "proportion": 1
    }
  ],
  "slippageLimitPercent": 1,
  "minHealthFactor": "text",
  "premiums": [
    "text"
  ],
  "initiator": "text",
  "role": "text",
  "account": "text",
  "initialDeposit": "text",
  "borrowAmount": "text",
  "amountIn": "text",
  "amountInMax": "text",
  "amountOut": "text",
  "amountOutMin": "text",
  "amountADesired": "text",
  "amountBDesired": "text",
  "amountAMin": "text",
  "amountBMin": "text",
  "amountETHMin": "text",
  "amountTokenDesired": "text",
  "amountTokenMin": "text",
  "liquidity": "text",
  "path": [
    "text"
  ],
  "deadline": "text",
  "approveMax": true,
  "v": 1,
  "r": "text",
  "s": "text",
  "tokenA": "text",
  "tokenB": "text",
  "reserveA": "text",
  "reserveB": "text",
  "reserve": "text",
  "reserveETH": "text",
  "token": "text",
  "amountA": "text",
  "reserveIn": "text",
  "reserveOut": "text"
}
200

Ok

{
  "success": true,
  "message": "text",
  "data": {
    "simulation": {
      "changes": [
        {
          "assetType": "NATIVE",
          "changeType": "APPROVE",
          "from": "text",
          "to": "text",
          "rawAmount": "text",
          "amount": "text",
          "name": "text",
          "symbol": "text",
          "decimals": 1,
          "contractAddress": "text",
          "logo": "text",
          "tokenId": "text"
        }
      ],
      "gasUsed": "text",
      "error": {
        "message": "text"
      }
    },
    "broadcasted": {
      "success": true,
      "message": "text",
      "data": "text"
    },
    "message": "text",
    "success": true,
    "user_op": "text",
    "data": {
      "simulation": {
        "changes": [
          {
            "assetType": "NATIVE",
            "changeType": "APPROVE",
            "from": "text",
            "to": "text",
            "rawAmount": "text",
            "amount": "text",
            "name": "text",
            "symbol": "text",
            "decimals": 1,
            "contractAddress": "text",
            "logo": "text",
            "tokenId": "text"
          }
        ],
        "gasUsed": "text",
        "error": {
          "message": "text"
        }
      },
      "transaction_hash": "text",
      "signed_transaction": "text",
      "raw_transaction": "text",
      "data": "text",
      "transactions": [
        {
          "moon_scan_url": "text",
          "transaction_hash": "text",
          "signed_transaction": "text",
          "signed_message": "text",
          "raw_transaction": "text",
          "signature": "text",
          "transaction": {
            "type": 1,
            "chain_id": 1,
            "data": "text",
            "gas": "text",
            "gas_price": "text",
            "gas_tip_cap": "text",
            "gas_fee_cap": "text",
            "value": "text",
            "nonce": 1,
            "from": "text",
            "to": "text",
            "blob_gas": "text",
            "blob_gas_fee_cap": "text",
            "blob_hashes": [
              "text"
            ],
            "v": "text",
            "r": "text",
            "s": "text"
          },
          "userOps": [
            {
              "nonce": "text",
              "data": "text",
              "value": "text",
              "to": "text",
              "from": "text",
              "maxFeePerGas": "text",
              "maxPriorityFeePerGas": "text"
            }
          ],
          "userop_transaction": "text"
        }
      ],
      "moon_scan_url": "text",
      "signature": "text",
      "transaction": {
        "type": 1,
        "chain_id": 1,
        "data": "text",
        "gas": "text",
        "gas_price": "text",
        "gas_tip_cap": "text",
        "gas_fee_cap": "text",
        "value": "text",
        "nonce": 1,
        "from": "text",
        "to": "text",
        "blob_gas": "text",
        "blob_gas_fee_cap": "text",
        "blob_hashes": [
          "text"
        ],
        "v": "text",
        "r": "text",
        "s": "text"
      },
      "userOps": [
        {
          "nonce": "text",
          "data": "text",
          "value": "text",
          "to": "text",
          "from": "text",
          "maxFeePerGas": "text",
          "maxPriorityFeePerGas": "text"
        }
      ],
      "userop_transaction": "text",
      "user_op": "text",
      "success": true,
      "message": "text",
      "broadcasted": {
        "success": true,
        "message": "text",
        "data": "text"
      }
    },
    "params": [],
    "function": "text",
    "transaction": {
      "data": "text",
      "value": "text",
      "to": "text",
      "from": "text",
      "gasPrice": "text",
      "gasLimit": "text",
      "maxPriorityFeePerGas": "text",
      "maxFeePerGas": "text",
      "nonce": 1,
      "type": 1,
      "chainId": "text"
    }
  }
}