Skip to content

Commit 869e48c

Browse files
authored
Chain metadata fetching util int -> BigInteger (#132)
1 parent 0ba0ee9 commit 869e48c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Thirdweb/Thirdweb.Utils/Utils.Types.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using Newtonsoft.Json;
2+
using System.Numerics;
23

34
namespace Thirdweb;
45

@@ -31,10 +32,10 @@ public class ThirdwebChainData
3132
public string ShortName { get; set; }
3233

3334
[JsonProperty("chainId")]
34-
public int ChainId { get; set; }
35+
public BigInteger ChainId { get; set; }
3536

3637
[JsonProperty("networkId")]
37-
public int NetworkId { get; set; }
38+
public BigInteger NetworkId { get; set; }
3839

3940
[JsonProperty("slug")]
4041
public string Slug { get; set; }

0 commit comments

Comments
 (0)