Skip to content

moon-up/moon-sdk-swift

Repository files navigation

Swift5 API client for OpenAPIClient

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version:
  • Generator version: 7.4.0
  • Build package: org.openapitools.codegen.languages.Swift5ClientCodegen

Installation

Carthage

Run carthage update

CocoaPods

Run pod install

Documentation for API Endpoints

All URIs are relative to https://beta.usemoon.ai

Class Method HTTP request Description
AaveAPI borrow POST /aave/{name}/borrow
AaveAPI lend POST /aave/{name}/lend
AaveAPI repay POST /aave/{name}/repay
AaveAPI userReserveData POST /aave/{name}/user-reserve-data
AccountsAPI broadcastTx POST /accounts/{accountName}/broadcast-tx
AccountsAPI createAccount POST /accounts
AccountsAPI deleteAccount DELETE /accounts/{accountName}
AccountsAPI deployContract POST /accounts/{accountName}/deploy
AccountsAPI getAccount GET /accounts/{accountName}
AccountsAPI getBalance GET /accounts/{accountName}/balance
AccountsAPI getNonce GET /accounts/{accountName}/nonce
AccountsAPI listAccounts GET /accounts
AccountsAPI signMessage POST /accounts/{accountName}/sign-message
AccountsAPI signTransaction POST /accounts/{accountName}/sign-transaction
AccountsAPI signTypedData POST /accounts/{accountName}/sign-typed-data
AccountsAPI transferEth POST /accounts/{accountName}/transfer-eth
BitcoinAPI createBitcoinAccount POST /bitcoin
BitcoinAPI getBitcoinAccount GET /bitcoin/{accountName}
BitcoinAPI listBitcoinAccounts GET /bitcoin
BitcoinAPI signBitcoinTransaction POST /bitcoin/{accountName}/sign-tx
BitcoincashAPI createBitcoinCashAccount POST /bitcoincash
BitcoincashAPI getBitcoinCashAccount GET /bitcoincash/{accountName}
BitcoincashAPI listBitcoinCashAccounts GET /bitcoincash
BitcoincashAPI signBitcoinCashTransaction POST /bitcoincash/{accountName}/sign-tx
ConveyorFinanceAPI swap POST /conveyorfinance/{name}/swap
CosmosAPI createCosmosAccount POST /cosmos
CosmosAPI getCosmosAccount GET /cosmos/{accountName}
CosmosAPI listCosmosAccounts GET /cosmos
CosmosAPI signCosmosTransaction POST /cosmos/{accountName}/sign-tx
DefaultAPI getMessage GET /ping
DogeCoinAPI createDogeCoinAccount POST /dogecoin
DogeCoinAPI getDogeCoinAccount GET /dogecoin/{accountName}
DogeCoinAPI listDogeCoinAccounts GET /dogecoin
DogeCoinAPI signDogeCoinTransaction POST /dogecoin/{accountName}/sign-tx
ENSAPI resolve POST /ens/resolve
ERC1155API balanceOf POST /erc1155/{name}/balance-of
ERC1155API balanceOfBatch POST /erc1155/{name}/balance-of-batch
ERC1155API isApprovedForAll POST /erc1155/{name}/is-approved-for-all
ERC1155API safeBatchTransferFrom POST /erc1155/{name}/safe-batch-transfer-from
ERC1155API safeTransferFrom POST /erc1155/{name}/safe-transfer-from
ERC1155API setApprovalForAll POST /erc1155/{name}/set-approval-for-all
EosAPI createEosAccount POST /eos
EosAPI getEosAccount GET /eos/{accountName}
EosAPI listEosAccounts GET /eos
EosAPI signEosTransaction POST /eos/{accountName}/sign-tx
Erc20API allowanceErc20 POST /erc20/{name}/allowance
Erc20API approveErc20 POST /erc20/{name}/approve
Erc20API balanceOfErc20 POST /erc20/{name}/balance-of
Erc20API decimalsErc20 POST /erc20/{name}/decimals
Erc20API nameErc20 POST /erc20/{name}/name
Erc20API symbolErc20 POST /erc20/{name}/symbol
Erc20API totalSupplyErc20 POST /erc20/{name}/total-supply
Erc20API transferErc20 POST /erc20/{name}/transfer
Erc20API transferFromErc20 POST /erc20/{name}/transfer-from
Erc721API approve POST /erc721/{name}/approve
Erc721API balanceOf POST /erc721/{name}/balance-of
Erc721API getApproved POST /erc721/{name}/get-approved
Erc721API isApprovedForAll POST /erc721/{name}/is-approved-for-all
Erc721API name POST /erc721/{name}/name
Erc721API ownerOf POST /erc721/{name}/owner-of
Erc721API safeTransferFrom POST /erc721/{name}/safe-transfer-from
Erc721API setApprovalForAll POST /erc721/{name}/set-approval-for-all
Erc721API symbol POST /erc721/{name}/symbol
Erc721API tokenUri POST /erc721/{name}/token-uri
Erc721API transfer POST /erc721/{name}/transfer
Erc721API transferFrom POST /erc721/{name}/transfer-from
LitecoinAPI createLitecoinAccount POST /litecoin
LitecoinAPI getLitecoinAccount GET /litecoin/{accountName}
LitecoinAPI listLitecoinAccounts GET /litecoin
LitecoinAPI signLitecoinTransaction POST /litecoin/{accountName}/sign-tx
OneinchAPI approveCallData POST /oneinch/approve-call-data
OneinchAPI approveSpender POST /oneinch/approve-spender
OneinchAPI protocols POST /oneinch/protocols
OneinchAPI quote POST /oneinch/quote
OneinchAPI swap POST /oneinch/{accountName}/swap
OneinchAPI tokens POST /oneinch/tokens
OnramperAPI onRamperCheckout POST /onramper/fund/${accountName}
OnramperAPI onRamperGetQuotesBuy GET /onramper/quotes/buy
OnramperAPI onRamperGetQuotesSell GET /onramper/quotes/sell
OnramperAPI onRamperGetSupportedAssets GET /onramper/assets
OnramperAPI onRamperGetSupportedCurrencies GET /onramper/currencies
OnramperAPI onRamperGetSupportedDefaultsAll GET /onramper/defaults
OnramperAPI onRamperGetSupportedOnRampsAll GET /onramper/onramps
OnramperAPI onRamperGetSupportedPaymentTypes GET /onramper/payment-types
OnramperAPI onRamperGetSupportedPaymentTypesFiat GET /onramper/payment-types/fiat
RippleAPI createRippleAccount POST /ripple
RippleAPI getRippleAccount GET /ripple/{accountName}
RippleAPI listRippleAccounts GET /ripple
RippleAPI signRippleTransaction POST /ripple/{accountName}/sign-tx
SolanaAPI createSolanaAccount POST /solana
SolanaAPI getSolanaAccount GET /solana/{accountName}
SolanaAPI listSolanaAccounts GET /solana
SolanaAPI signSolanaTransaction POST /solana/{accountName}/sign-tx
TronAPI createTronAccount POST /tron
TronAPI getTronAccount GET /tron/{accountName}
TronAPI listTronAccounts GET /tron
TronAPI signTronTransaction POST /tron/{accountName}/sign-tx
UniSwapAPI addLiquidity POST /uniswap/{name}/add-liquidity
UniSwapAPI removeLiquidity POST /uniswap/{name}/remove-liquidity
UniSwapAPI swapExactETHForTokens POST /uniswap/{name}/swap-exact-eth-for-tokens
UniSwapAPI swapExactTokensForTokens POST /uniswap/{name}/swap-exact-tokens-for-tokens
YearnAPI addLiquidity POST /yearn/{name}/add-liquidity
YearnAPI addLiquidityWeth POST /yearn/{name}/add-liquidity-weth
YearnAPI removeLiquidity POST /yearn/{name}/remove-liquidity
YearnAPI removeLiquidityWeth POST /yearn/{name}/remove-liquidity-weth

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

OAuth2

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes:
  • authorization_code: grants authorization_code

ApiKeyAuth

  • Type: API key
  • API key parameter name: x-api-key
  • Location: HTTP header

Author

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages