Created
February 10, 2025 06:21
-
-
Save donma/36ea34109b93f8ce264af3c0e36f8b12 to your computer and use it in GitHub Desktop.
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
| public class BlockNumResponse | |
| { | |
| public string blockID { get; set; } | |
| public BlockHeader block_header { get; set; } | |
| public List<Transaction> transactions { get; set; } | |
| public class BlockHeader | |
| { | |
| public RawData raw_data { get; set; } | |
| public string witness_signature { get; set; } | |
| } | |
| public class Transaction | |
| { | |
| public List<Ret> ret { get; set; } | |
| public List<string> signature { get; set; } | |
| public string txID { get; set; } | |
| public class Ret | |
| { | |
| public string contractRet { get; set; } | |
| } | |
| public RawData raw_data { get; set; } | |
| public string raw_data_hex { get; set; } | |
| } | |
| public class RawData | |
| { | |
| public int number { get; set; } | |
| public string txTrieRoot { get; set; } | |
| public string witness_address { get; set; } | |
| public string parentHash { get; set; } | |
| public int version { get; set; } | |
| public long timestamp { get; set; } | |
| public List<Contract> contract { get; set; } | |
| public string ref_block_bytes { get; set; } | |
| public string ref_block_hash { get; set; } | |
| public object expiration { get; set; } | |
| public int? fee_limit { get; set; } | |
| public class Contract | |
| { | |
| public Parameter parameter { get; set; } | |
| public string type { get; set; } | |
| public int Permission_id { get; set; } | |
| public class Parameter | |
| { | |
| public Value value { get; set; } | |
| public string type_url { get; set; } | |
| public class Value | |
| { | |
| public object balance { get; set; } | |
| public string resource { get; set; } | |
| public string receiver_address { get; set; } | |
| public string owner_address { get; set; } | |
| public string data { get; set; } | |
| public string contract_address { get; set; } | |
| public long? amount { get; set; } | |
| public string to_address { get; set; } | |
| public string asset_name { get; set; } | |
| public int? call_value { get; set; } | |
| } | |
| } | |
| } | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment