Skip to content

Commit

Permalink
fixing ada connector endpoint (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
RachitGod authored Aug 20, 2021
1 parent 9721be2 commit e599b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blockchain/ada.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const adaGetTransaction = async (hash: string): Promise<AdaTransaction> =
*
* For more details, see <a href="https://tatum.io/apidoc#operation/AdaGetTxByAddress" target="_blank">Tatum API documentation</a>
*/
export const adaGetTransactionsByAccount = async (address: string, limit: number, offset: number): Promise<AdaTransaction[]> =>
get(`/v3/ada/account/${address}/transactions?limit=${limit}?offset=${offset}`)
export const adaGetTransactionsByAccount = async (address: string, pageSize = 50, offset = 0): Promise<AdaTransaction[]> =>
get(`/v3/ada/transaction/address/${address}?pageSize=${pageSize}&offset=${offset}`)

/**
* Returns UTXOs by address from Ada blockchain. <br>
Expand Down

0 comments on commit e599b79

Please sign in to comment.