Skip to content

Commit

Permalink
Chain metadata fetching util int -> BigInteger (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper authored Feb 20, 2025
1 parent 0ba0ee9 commit 869e48c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Thirdweb/Thirdweb.Utils/Utils.Types.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Newtonsoft.Json;
using System.Numerics;

namespace Thirdweb;

Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 869e48c

Please sign in to comment.