Created
November 9, 2018 02:44
-
-
Save donma/6eb995a9939a00e8b0553fcd7c0dce1d to your computer and use it in GitHub Desktop.
C# Etherscan Simple SDK get Block confirm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var brInfo= service.GetBlockrewardWalletInfo(Convert.ToInt32(info.result.blockNumber, 16).ToString(), TEST_WALLET_ADDRESS); | |
Console.WriteLine("\r\n Wallet Data : \r\n"); | |
Console.WriteLine("\r\n-----------------------------------------"); | |
foreach (var wt in brInfo.result) { | |
Console.WriteLine("Source :"+JsonConvert.SerializeObject(wt)); | |
Console.WriteLine(""); | |
Console.WriteLine("TimeStamp:"+ ConvertTimestampToDateTime(double.Parse(wt.timeStamp)).ToString("yyyy-MM-dd HH:mm:ss")); | |
Console.WriteLine("Confirmations:" + wt.confirmations); | |
Console.WriteLine(""); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment