You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /:pubKey/balance/:time endpoint in bitcore-node only calls down to the Coins collection which isn't used by EVM chains, thus getting EVM balances by time has never been implemented and has always returned 0.
With adding Moralis provider support, we have a relatively easy source for getting these balances.
The text was updated successfully, but these errors were encountered:
kajoseph
changed the title
The wallet balance by time endpoint doesn't work for EVM chains
[BCN] The wallet balance by time endpoint doesn't work for EVM chains
Oct 4, 2024
The
/:pubKey/balance/:time
endpoint in bitcore-node only calls down to the Coins collection which isn't used by EVM chains, thus getting EVM balances by time has never been implemented and has always returned 0.With adding Moralis provider support, we have a relatively easy source for getting these balances.
TASK:
Implement Moralis' endpoints for both native & ERC20 time balances:
https://docs.moralis.com/web3-data-api/evm/reference/get-native-balance
https://docs.moralis.com/web3-data-api/evm/reference/wallet-api/get-token-balances-by-wallet
The text was updated successfully, but these errors were encountered: