예제 #1
0
 public uint256 GetBlockHash(uint256 trxHash)
 {
     return(repository.GetAsync <uint256.MutableUint256>(trxHash.ToString()).Result?.Value);
 }
예제 #2
0
 public Task <Transaction> GetAsync(uint256 txId)
 {
     return(_Repository.GetAsync <Transaction>(GetId(txId)));
 }
예제 #3
0
 public Task <Block> GetBlockAsync(uint256 blockId)
 {
     return(repository.GetAsync <Block>(blockId.ToString()));
 }