public NeoApiBlockService(IClient client) : base(client) { GetBestBlockHash = new NeoGetBestBlockHash(client); GetBlock = new NeoGetBlock(client); GetBlockSerialized = new NeoGetBlockSerialized(client); GetBlockCount = new NeoGetBlockCount(client); GetBlockHash = new NeoGetBlockHash(client); GetBlockSysFee = new NeoGetBlockSysFee(client); GetBlockHeader = new NeoGetBlockHeader(client); }
public override async Task <DTOs.BlockHeader> ExecuteAsync(IClient client) { var block = new NeoGetBlockHeader(client); return(await block.SendRequestAsync("c175e66e8619cbfede76f1939e63c0aa5e5e7eb0bbecb2127d9d074d9281214d")); }