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); }
public override async Task <string> ExecuteAsync(IClient client) { var blockHash = new NeoGetBlockHash(client); return(await blockHash.SendRequestAsync(10000)); }