Skip to main content

Get API version

GEThttps://deep-index.moralis.io/api/v2/web3/version

Get the current version of the Moralis Web3 API.

Responses
API KEY
import Moralis from 'moralis';

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

const response = await Moralis.EvmApi.utils.web3ApiVersion({});

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