DeFi Kingdoms
Introduction
DeFi Kingdoms is a cross-chain, play-to-earn game built on a strong DeFi protocol with plans to become a fully-fledged MMORPG. The game features DEXs, liquidity pool opportunities, and a market of rare, utility-driven NFTs, which all together create a beautiful, immersive online world in the incredibly nostalgic form of fantasy pixel art. The DeFi Kingdoms Blockchain (DFK Chain) is an Avalanche subnet which handles gameplay transactions in Crystalvale and hosts the Crystalvale DEX.
Quick facts
Property | Value |
---|---|
DFK Mainnet chainId | 53935 |
Blockchain Explorers | https://subnets.avax.network/defi-kingdoms https://avascan.info/blockchain/dfk/home |
Block time | ~2 seconds |
Token | JEWEL |
Supported endpoints
Get token balances for address
Class A
Given
chain_id
and wallet address
, return current token balances along with their spot prices. This endpoint supports a variety of token standards like ERC20, ERC721 and ERC1155. As a special case, network native tokens like ETH on Ethereum are also returned even though it’s not a token contract.
GET
/v1/:chain_id/address/:address/balances_v2/
Get transactions for address
Class A
Given
chain_id
and wallet address
, return all transactions along with their decoded log events. This endpoint does a deep-crawl of the blockchain to retrieve all kinds of transactions that references the address
including indexed topics within the event logs.
GET
/v1/:chain_id/address/:address/transactions_v2/
Go to Covalent’s API Reference
Appendix
Key resources for DeFi Kingdoms:
Last modified: October 27, 2022: october-changelog-2022 (#243) (b6121bb)