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.