예제 #1
0
        public async Task GetTransactionTest()
        {
            var args = new GetTransactionParams
            {
                TransactionId = ""
            };
            var resp = await Api.GetTransaction(args, CancellationToken);

            TestPropetries(resp);
        }
예제 #2
0
        public async Task GetTransactionTest()
        {
            var args = new GetTransactionParams
            {
                Id           = "e98bafdecb902a2d3aa0d17575482c1551cda51d629b32079b80654aa0de0bb4",
                BlockNumHint = 7908800
            };
            var resp = await Api.GetTransactionAsync(args, CancellationToken).ConfigureAwait(false);

            TestPropetries(resp);
        }
예제 #3
0
        public async Task <OperationResult <GetTransactionResult> > GetTransactionAsync(GetTransactionParams args, CancellationToken token)
        {
            var endpoint = $"{ChainUrl}/v1/history/get_transaction";

            return(await CustomPutRequestAsync <GetTransactionResult>(endpoint, args, token).ConfigureAwait(false));
        }
예제 #4
0
        public async Task <OperationResult <GetTransactionResults> > GetTransaction(GetTransactionParams args, CancellationToken token)
        {
            var endpoint = $"{ChainUrl}/v1/history/get_transaction";

            return(await CustomPostRequest <GetTransactionResults>(endpoint, args, token));
        }