Can't get anything at the address but it has txns on goerliscan

So, we have the following data:
address: 0xe4ee147bd87cbfc7c559bf4eb9ec771cf429cb48
chain: goerli
triggeredBlock: 9413747

https://goerli.etherscan.io/address/0xe4ee147bd87cbfc7c559bf4eb9ec771cf429cb48

This address has Token Transfer on this block
https://goerli.etherscan.io/tx/0x7c75f6baa0ec1dbbdca1f685eb6f10934373666d88ced759aec7464b3e72a152

But the following methods give me empty arrays…

Moralis.EvmApi.transaction.getWalletTransactions
Moralis.EvmApi.token.getWalletTokenTransfers
Moralis.EvmApi.nft.getWalletNFTTransfers

Could you tell me what’s going on?

1 Like

Hi @badass-ivan

Have you passed the chain param value as goerli chain when calling the functions?

I was able to get the data from the API when tested.

Yes

Ahh, I see you are including block number 9413747 in all the requests but as per the wallet transactions the last transaction was on 9091344 block.

If you are not sure about the block you can remove it. Please try the requests without the block number param value.

Dude, I’ve attached the links…
The last transaction was a token transfer 3 days ago
https://goerli.etherscan.io/tx/0x7c75f6baa0ec1dbbdca1f685eb6f10934373666d88ced759aec7464b3e72a152

Ahh I see, Sorry I missed that. It looks like you are looking to find the mint events of the contract. Apparently, it seems like we don’t show the mint transactions in the token transfers list, however, you can also get the token balance with Moralis.EvmApi.token.getWalletTokenBalances endpoint.

We have a different endpoint that can be used to get the all the token Mints of a contract that happened on a particular wallet.

Okay, thanks
Will try it