From 46dc2f5699b5af02672c24cc9003974ae0e723c4 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Fri, 21 Feb 2025 05:52:02 +0700 Subject: [PATCH] Chain metadata fetching util int -> BigInteger --- Thirdweb/Thirdweb.Utils/Utils.Types.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Thirdweb/Thirdweb.Utils/Utils.Types.cs b/Thirdweb/Thirdweb.Utils/Utils.Types.cs index 0360b97c..6933018e 100644 --- a/Thirdweb/Thirdweb.Utils/Utils.Types.cs +++ b/Thirdweb/Thirdweb.Utils/Utils.Types.cs @@ -1,4 +1,5 @@ using Newtonsoft.Json; +using System.Numerics; namespace Thirdweb; @@ -31,10 +32,10 @@ public class ThirdwebChainData public string ShortName { get; set; } [JsonProperty("chainId")] - public int ChainId { get; set; } + public BigInteger ChainId { get; set; } [JsonProperty("networkId")] - public int NetworkId { get; set; } + public BigInteger NetworkId { get; set; } [JsonProperty("slug")] public string Slug { get; set; }