I'm working with alchemy's SDK and it looks like the getAssetTransfers
API endpoint will return any value
transaction from an address.
However, it also looks like it can return a list of all transactions for an address even if no value is sent (like calling a function for example).
Can it do this?
Best Answer
Heya 👋🏼 Full disclosure: Alchemy Developer Advocate speaking :)
getAssetTransfers
gets all transaction types that you specify in your query, including "transactions even if no value is sent" as long as they fall under one of the supported transaction types.The transactions you're seeing are probably internal transactions, since in the tutorial you linked,
internal
is one of the transaction types you're asking for:Our docs show table with all of the transaction types that are supported:
Hope that helps!