Routes: {
    accountWallet(code) => `/account/wallets/${string}`;
    accountWalletAddresses(code) => `/account/wallets/${string}/addresses`;
    accountWalletDestinationInfo(code) => `/account/wallets/${string}/destination_info`;
    accountWalletTransaction(id) => `/account/wallets/transactions/${string}`;
    accountWalletTransactions() => "/account/wallets/transactions";
    accountWalletWithdrawal(code) => `/account/wallets/${string}/withdrawal`;
    accountWalletWithdrawalId(code, id) => `/account/wallets/${string}/withdrawal/${string}`;
    accountWallets() => "/account/wallets";
    currenciesCryptocurrencies() => "/currencies/cryptocurrencies";
    currenciesFiats() => "/currencies/fiats";
    currenciesRates() => "/currencies/rates";
    tips() => "/tips";
    user() => "/user";
    userConnections() => "/user/connections";
} = ...

Type declaration

  • accountWallet:function
    • Route for:

      • GET /account/wallets/{code} - Balance of chosen wallet

      Parameters

      • code: string

      Returns `/account/wallets/${string}`

  • accountWalletAddresses:function
    • Route for:

      • GET /account/wallets/{code}/addresses - Gets deposit address or addresses for selected currency

      Parameters

      • code: string

      Returns `/account/wallets/${string}/addresses`

  • accountWalletDestinationInfo:function
    • Route for:

      • GET /account/wallets/{code}/destination_info - Validates destination address and extra for selected currency

      Parameters

      • code: string

      Returns `/account/wallets/${string}/destination_info`

  • accountWalletTransaction:function
    • Route for:

      • GET /account/wallets/transactions/{id} - Get a single tip, deposit or withdrawal by ID

      Parameters

      • id: string

      Returns `/account/wallets/transactions/${string}`

  • accountWalletTransactions:function
    • Route for:

      • GET /account/wallets/transactions - List of user's tips, deposits and withdrawals

      Returns "/account/wallets/transactions"

  • accountWalletWithdrawal:function
    • Route for:

      • POST /account/wallets/{code}/withdrawal - Creates a withdrawal request

      Parameters

      • code: string

      Returns `/account/wallets/${string}/withdrawal`

  • accountWalletWithdrawalId:function
    • Route for:

      • PUT /account/wallets/{code}/withdrawal/{id} - Sends a withdrawal
      • DELETE /account/wallets/{code}/withdrawal/{id} - Cancel a withdrawal

      Parameters

      • code: string
      • id: string

      Returns `/account/wallets/${string}/withdrawal/${string}`

  • accountWallets:function
    • Route for:

      • GET /account/wallets - Returns all balances

      Returns "/account/wallets"

  • currenciesCryptocurrencies:function
    • Route for:

      • GET /currencies/cryptocurrencies - List of all supported cryptocurrencies

      Returns "/currencies/cryptocurrencies"

  • currenciesFiats:function
    • Route for:

      • GET /currencies/fiats - List of all supported fiat currencies

      Returns "/currencies/fiats"

  • currenciesRates:function
    • Route for:

      • GET /currencies/rates - Exchange rates for all supported currencies

      Returns "/currencies/rates"

  • tips:function
    • Route for:

      • POST /tips - Sends a tip

      Returns "/tips"

  • user:function
    • Route for:

      • GET /user - Gets info about the logged in user.

      Returns "/user"

  • userConnections:function
    • Route for:

      • GET /user/connections - Returns all platforms connected to this user.

      Returns "/user/connections"