неизвестная ошибка аккаунта при вызове SendTransactionAsync()
Пытаюсь отправить BUSD-T с одного адреса на другой. При вызове Nethereum.Contracts.Function.SendTransactionAsync() я получаю ошибку «неизвестная учетная запись».
с адреса: 0xa0EDA267b3baE823f4F8C2aF0141401Eff0652FE
адрес контракта: 0x55d398326f99059ff775485246999027b3197955
контракт ABI: скопировано отсюда
BroadcastTransactionResult result = new BroadcastTransactionResult();
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Nethereum.Web3.Accounts.Account account = new Nethereum.Web3.Accounts.Account(key);
Nethereum.Contracts.Contract contract = bnbNode.GetContract(contractAbi, CONTRACT_ADDRESS);
Nethereum.Contracts.Function function = contract.GetFunction("transfer");
decimal value = amount * 1000000;
HexBigInteger estimatedGas = function.EstimateGasAsync(from, null, null, to, (long)value).Result;
BigInteger feeWeis = UnitConversion.Convert.ToWei(fee, UnitConversion.EthUnit.Ether);
BigInteger gasPriceWeis = feeWeis / estimatedGas.Value;
HexBigInteger gasPrice = new HexBigInteger(gasPriceWeis);
string response = "";
try
{
response = function.SendTransactionAsync(from, estimatedGas, gasPrice, null, to, (long)value).Result; //That is where exception happens
}
catch (Exception ex)
{
result.Success = false;
result.Message = ex.Message;
return result;
}