UNPKG

@etherspot/prime-sdk

Version:

Etherspot Prime (Account Abstraction) SDK

30 lines (29 loc) 1.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.API_ENDPOINTS = exports.BACKEND_API_ENDPOINT = exports.MethodTypes = exports.сacheSettings = void 0; exports.сacheSettings = { TokenList: { timeToLive: 1 * 60 * 60 * 12, }, }; exports.MethodTypes = { GET: 'GET', POST: 'POST', }; exports.BACKEND_API_ENDPOINT = 'https://rpc.etherspot.io/data-api'; exports.API_ENDPOINTS = { GET_ACCOUNT_BALANCES: 'account/balances', GET_ACCOUNT_NFTS: 'account/nfts', GET_TRANSACTION: 'transactions/transactionByHash', GET_TRANSACTIONS: 'transactions', GET_ADVANCE_ROUTES_LIFI: 'exchange/getAdvanceRoutesLiFi', GET_STEP_TRANSACTIONS: 'exchange/getStepTransactions', GET_EXCHANGE_OFFERS: 'exchange/offers', GET_CONNEXT_SUPPORTED_ASSETS: 'exchange/connext/supportedAssets', GET_CONNEXT_QUOTE_TRANSACTIONS: 'exchange/connext/quoteTransactions', GET_CONNEXT_TRANSACTION_STATUS: 'exchange/connext/transactionStatus', GET_EXCHANGE_SUPPORTED_ASSETS: 'assets/exchangeSupportedAssets', GET_TOKEN_LISTS: 'assets/tokenLists', GET_TOKEN_LIST_TOKENS: 'assets/tokenListTokens', EXCHANGE_RATES: 'rates/exchangeRates' };