Use Moralis Web3 API

Hello.

How I can use Moralis Web3 API? For what I need API key? Where I need to put it?
I saw a page https://docs.moralis.io/moralis-server/web3-sdk/intro and others. And how I can use Web3 API?

For example, I want to use ​*/{address}​/function* from the page https://admin.moralis.io/web3Api.

Thanks.

you can test it directly in that web3api interface that you pasted, you will see there when you try a function how it you could make same request with curl, and you will also see in that example how the api key is sent in that request

but if you use the sdk, then you don’t need the api key to use web3api, only if you want to make the requests directly without using server, how that curl example does

1 Like

No I see thanks. But where can I find match between endpoints on the documentation page and in the SDK?

For example for the same endpoint like ​*/{address}​/function* which in SDK?

Thanks.

you will have to read the description, or to know what it does so what you can map it to the SDK, in this particular case it seems to be runContractFunction in the sdk

or you can look in the sdk source code that is on GitHub

1 Like

Not quite comfortable and understandable. It would be much clearer and more convenient - if there was a link to the SDK.

https://docs.google.com/forms/d/e/1FAIpQLSfSa_JBZ1RIAE4_Kks1zqzZjeOJIXBHLfMCy7zqvQs8Hemoaw/viewform - Do you need people who will make your documentation more readable and understandable?

Please send the link.

Thanks.

1 Like

Ok. Now I see.

Thanks.