Provider Url for We3 API

Hello.

Where I can find provider Url in my CP - https://admin.moralis.io/?

Early it was something like this: https://*.usemoralis.com:2053/server.

Thanks.

That looks like a server url. When you self host a parse server you will have the url for the self hosted server.

This URL was before new docs and streams. Okay, I will ask another question: what provider URL for right now for Web3 API?

For example we have there https://v1docs.moralis.io/moralis-dapp/connect-the-sdk/connect-using-node

const serverUrl = "YOUR-SERVER-URL";

Thanks.

can you give a more exact example? where do you need a provider url for web3 api?

For example we have there https://v1docs.moralis.io/moralis-dapp/connect-the-sdk/connect-using-node

const serverUrl = "YOUR-SERVER-URL";

that is an example of how to connect to a parse server with javascript SDK, in the past you could use there the server url of your moralis server, now, if you self host with a parse server then you can use there the server url of your self hosted parse server

where do you need that now? in what situation?

In the old code which I suppose will have to be changed due to the fact that everything has changed on your side. Therefore I gradually collect the necessary information.

you will use the server url of your new self hosted parse server there instead of the server url of a moralis server, usually the server url ends with /server at the end

Sorry nothing donโ€™t understand.

are you planning on self hosting a server with parse server or you already did that?

in that case that self hosted server will have a server url, that provider url that you are looking for

if you are not planning on self hosting a server with parse server and you are using a different backend then that code doesnโ€™t apply in that particular case as it was specific to a parse server

I am planning rewrite code to a new. Or I can use old code? For example about it: https://v1docs.moralis.io/moralis-dapp/web3-api/token.

it depends on how you are using the code, you can call web3api functions from backend without a moralis server, only if you call them from front end you need a backend to make that web3api calls (that is because you should not hardcode the web3api key in front end) and that backend can be any backend, not necessarily a self hosted parse server or a moralis server

We use NodeJs. And for new one with streams we want to use PHP. But we need check it we can use PHP to get all functions worked.

yes, you can use PHP in the backend and call backend routes from front end
it will be easier to modify the front end code to call the PHP functions found in your backend, for calling web3api you only need the parameter and the function name to be sent to the PHP backend and in PHP you call directly the web3api function using REST http request with the web3api key