etherspot / etherspot-prime-sdk

Etherspot Prime - Account Abstraction SDK
https://etherspot.fyi
MIT License
120 stars 22 forks source link

getAccountBalances throwing error #41

Closed the-first-elder closed 11 months ago

the-first-elder commented 11 months ago

Hi,

i have been trying to get all account balances and it keeps throwing me an error

error: failed to execute "open" on xmlhttprequest : invalid URL.

i use node v.20 and next 13.5.4..

how do i fix this?

kaushalrajbacancy commented 11 months ago

@shazzar-ox Can you please specify the chainId which you are using to initialize the primeSDK?

the-first-elder commented 11 months ago

Sepolia: 11155111

kaushalrajbacancy commented 11 months ago

@shazzar-ox Can you please try some other chains? Like, goerli: 5, mumbai: 80001.

the-first-elder commented 11 months ago

I’m getting invalid project key. Do you mind letting me know what the project key is meant to be.

kaushalrajbacancy commented 11 months ago

I’m getting invalid project key. Do you mind letting me know what the project key is meant to be.

You require a valid project key to access the data wrapper endpoints.

the-first-elder commented 11 months ago

How do I get it please. Or where do I get one

arddluma commented 11 months ago

How do I get it please. Or where do I get one

hey, Please create a ticket in our Discord https://discord.etherspot.io

the-first-elder commented 11 months ago

Gotten. Thank you