@@ -1905,7 +1905,7 @@ public static async Task<ThirdwebTransactionReceipt> TokenERC20_MintWithSignatur
1905
1905
1906
1906
var payableAmount = isNativeToken ? mintRequest . Quantity * mintRequest . Price : BigInteger . Zero ;
1907
1907
1908
- return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature ) ;
1908
+ return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature . HexToBytes ( ) ) ;
1909
1909
}
1910
1910
1911
1911
/// <summary>
@@ -2105,7 +2105,7 @@ public static async Task<ThirdwebTransactionReceipt> TokenERC721_MintWithSignatu
2105
2105
2106
2106
var payableAmount = isNativeToken ? mintRequest . Price : BigInteger . Zero ;
2107
2107
2108
- return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature ) ;
2108
+ return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature . HexToBytes ( ) ) ;
2109
2109
}
2110
2110
2111
2111
/// <summary>
@@ -2359,7 +2359,7 @@ public static async Task<ThirdwebTransactionReceipt> TokenERC1155_MintWithSignat
2359
2359
2360
2360
var payableAmount = isNativeToken ? mintRequest . Quantity * mintRequest . PricePerToken : BigInteger . Zero ;
2361
2361
2362
- return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature ) ;
2362
+ return await ThirdwebContract . Write ( wallet , contract , "mintWithSignature" , payableAmount , mintRequest , signature . HexToBytes ( ) ) ;
2363
2363
}
2364
2364
2365
2365
/// <summary>
0 commit comments