We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b0aa23 commit a82a7b1Copy full SHA for a82a7b1
Assets/Thirdweb/Scripts/ERC20.cs
@@ -81,7 +81,7 @@ public async Task<CurrencyValue> TotalSupply()
81
/// <summary>
82
/// Set how much allowance the given address is allowed to spend on behalf of the connected wallet
83
/// </summary>
84
- public async Task<TransactionResult> SetAllowance(string spender, bool amount)
+ public async Task<TransactionResult> SetAllowance(string spender, string amount)
85
{
86
return await Bridge.InvokeRoute<TransactionResult>(getRoute("setAllowance"), Utils.ToJsonStringArray(spender, amount));
87
}
0 commit comments