Closed keip closed 6 months ago
When i look up the request interface GetAddressTransactionsQuery there are these 2 values:
transactionTypes?: TransactionType[] transactionDirection?: 'incoming' | 'outgoing'
Then in the response interface AddressTransaction there is the transactionType with the type of transactionDirection:
transactionType
transactionDirection
transactionType: 'incoming' | 'outgoing' | 'zero-transfer'
Then in the response data it's called transactionSubtype which relates to the transactionTypes from GetAddressTransactionsQuery interface.
transactionSubtype
transactionTypes
GetAddressTransactionsQuery
Solution: Chamge AddressTrasaction interface to:
transactionType: TransactionType // instead of 'incoming' | 'outgoing' | 'zero-transfer' transactionDirection: 'incoming' | 'outgoing' // instead of transactionSubtype
Thank you again we will process and fix the issue.
Should be resolved for now with: https://github.com/tatumio/tatum-js/issues/1047#issuecomment-2046793949
When i look up the request interface GetAddressTransactionsQuery there are these 2 values:
Then in the response interface AddressTransaction there is the
transactionType
with the type oftransactionDirection
:Then in the response data it's called
transactionSubtype
which relates to thetransactionTypes
fromGetAddressTransactionsQuery
interface.Solution: Chamge AddressTrasaction interface to: