public override async Task <BlockChainAddressInformation> GetAddress(string address)
        {
            var addressModel = await RESTClient.GetAsync <Address>($"{AddressQueryStringBase}{address}");

            var retVal = new BlockChainAddressInformation(address, addressModel.balance, addressModel.transactions.Count);

            return(retVal);
        }
Ejemplo n.º 2
0
        public override async Task <BlockChainAddressInformation> GetAddress(string address)
        {
            var addressModel = await RESTClient.GetAsync <Address>($"/ext/getaddress/{address}");

            var retVal = new BlockChainAddressInformation(address, addressModel.balance, addressModel.received == 0);

            return(retVal);
        }
        public override async Task <BlockChainAddressInformation> GetAddress(string address)
        {
            var addressModel = await GetInsightAddress(address);

            var retVal = new BlockChainAddressInformation(address, addressModel.balance, addressModel.transactions.Count);

            return(retVal);
        }