Developer tools
📄️ Install Moralis SDK
Quickly and easily integrate Moralis' products into your backend with the Moralis SDK.
📄️ Advanced SDK Setup
Use the advanced setup if you want more control over what modules to add to Moralis. In most cases, you won't need to do this (and can use the umbrella moralis package as described above, as this is easier to use).
📄️ Cross-Chain Requests
All our API methods are supported for cross-chain calls. You only need to specify the chain parameter. For example, this request will query block info on Polygon:
📄️ SDK Error Handling
Our SDK provides a comprehensive set of error codes to help you identify issues and rectify them. Errors are broadly categorized under four modules - Core, API, Auth, and Stream. Each of these modules has its unique error codes.
📄️ Moralis Data Types
Within the SDK, we have several data types to make your life easier when working with the SDK. These data types are useful for:
📄️ Query from EVM or Solana
It's possible to read responses from `EvmApi` and `SolApi` in three different ways: `.toJson()`, `.raw`, `.result`, or using `.format()` for default formatting type.
📄️ Security Guidelines
Use the following security guidelines when building your dapp to keep it secure.