Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Get project settings

GEThttps://api.moralis-streams.com/settings

Get the settings for the current project based on the project api-key.

Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = Moralis.Streams.readSettings({
"network": "mainnet"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"region": ""
}