Skip to content

Commit

Permalink
fix: get only transaction of 'native' type
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkyselak committed Jan 4, 2024
1 parent 9038dd8 commit a6aff9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/getWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export async function getWalletData(
});
const transactions: ResponseDto<AddressTransaction[]> = await tatum.address.getTransactions({
address: address,
transactionTypes: ['native'],
});

return [balance.status, balance.data, transactions.data];
Expand Down

0 comments on commit a6aff9b

Please sign in to comment.