using System.Threading.Tasks; using Nethereum.Hex.HexTypes; using Nethereum.JsonRpc.Client; using Nethereum.RPC.Eth; namespace Nethereum.RPC.Personal { public interface IPersonalUnlockAccount { RpcRequest BuildRequest(string address, string passPhrase, int? durationInSeconds, object id = null); #if !DOTNET35 Task SendRequestAsync(EthCoinBase coinbaseRequest, string passPhrase, object id = null); #endif Task SendRequestAsync(string address, string passPhrase, HexBigInteger durationInSeconds, object id = null); Task SendRequestAsync(string address, string passPhrase, ulong? durationInSeconds, object id = null); } }