diff --git a/src/api/index.ts b/src/api/index.ts index ced559c..e8168b2 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -92,9 +92,9 @@ export const getEverpayBalances = async (apiHost: string, { } export const getEverpayTransactions = async (apiHost: string, params: GetEverpayTransactionsParams): Promise => { - const { account, page, tokenId, action, withoutAction } = params + const { account, page, symbol, action, withoutAction } = params const baseUrl = account !== undefined ? `${apiHost}/txs/${account}` : `${apiHost}/txs` - const queryString = qsStringify({ page, tokenId, action, withoutAction }, { skipNull: true }) + const queryString = qsStringify({ page, symbol, action, withoutAction }, { skipNull: true }) const result = await sendRequest({ ...rConfig, url: `${baseUrl}${queryString !== '' ? `?${queryString}` : ''}`,