Generated Unity APIs for zkEVM
In this section you’ll find information on setting up the zkEVM API and some of the common use cases.
What is the zkEVM API?
The Immutable Unity zkEVM API package offers developers a robust interface to integrate blockchain functionality into Unity games. With REST API endpoints, you can easily list NFTs, display active marketplace orders, and enhance your game's features.
For detailed information, visit Immutable zkEVM APIs.
Generated API Clients
This package includes generated API clients, created directly from the Immutable zkEVM OpenAPI specification. Using openapi-generator
, we produce C# clients tailored for Unity (using the UnityWebRequest
library) that offer a ready-to-use interface for accessing zkEVM APIs in your Unity games.
These generated clients ensure up-to-date methods and endpoints are available for blockchain interactions, streamlining integration and reducing manual coding.
Why use the zkEVM API?
The zkEVM API package allows developers to query the Immutable zkEVM blockchain through our API enpoints without needing to interact with the blockchain directly or write your own API interfaces from scratch.
What's in the “zkEVM API” section?
This section covers the setting up the zkEVM API and some of the common use cases.
Audience: Game DevelopersUse Case | Description |
---|---|
Player Inventory | This use case example shows how to fetch and display player inventories. |
Marketplace | This use case example shows how to display NFT stacks in your in-game marketplace. |
How do I use the “zkEVM API” section?
If this is your first time using the zkEVM API package, we recommend starting with the Setup instructions. This will walk you through the process of setting up the zkEVM API package in your game. Otherwise simply click on the page for the use case you're interested in to get started.