Comment on page
ChainSafe Gaming SDK
The Chain Gaming SDK is a software development kit that enables game developers to integrate blockchain technology into their games. It allows for creating, managing, and trading in-game assets on the blockchain, providing players with full ownership and control over their virtual items.
Connect to Caldera Chains by providing the Caldera Chain RPC. All ChainSafe Gaming methods have an optional field to add an RPC URL. This returns the native token's balance for the chain.
string chain = "caldera";
string network = "testnet";
string account = "token_account_here";
string rpc = "RPC URL"; //Insert RPC URL here
string balance = await EVM.BalanceOf(chain, network, account, rpc);