.NET/Unity - Insight Indexer and Engine Wallet Integration

What's Changed
Insight Indexer .NET Integration
Insight is an extremely useful and performant tool to query blockchain data and can decorate it quite nicely too.
Did you know that vitalik, on Ethereum, Polygon and Arbitrum alone owns 7811 ERC20s, 34,362 ERC721s and 2,818 ERC1155s?
Let's go through some examples!
Instantiation
Simple Args
Fetching all tokens owned by a given address
Fetching a specific type of token owned by a given address
Fetching Events
Note: most of these parameters are optional (and some are not showcased here)
Engine Blockchain API .NET Integration
Engine is one of thirdweb's most important products. We've created an EngineWallet
class that can be used as an IThirdwebWallet
and as such benefits from being compatible with the entire SDK!
Usage:
Integrated with last December's EIP-7702 release!
Additional Changes
- Arbitrum, Arbitrum Nova and Arbitrum Sepolia gas price related methods now get shortcut early and return maxFeePerGas = maxPriorityFeePerGas = current gas price.
Utils.GetChainMetadata
chain id related variables updated fromint
toBigInteger
.