public async Task GetTransactionTest() { var args = new GetTransactionParams { TransactionId = "" }; var resp = await Api.GetTransaction(args, CancellationToken); TestPropetries(resp); }
public async Task GetTransactionTest() { var args = new GetTransactionParams { Id = "e98bafdecb902a2d3aa0d17575482c1551cda51d629b32079b80654aa0de0bb4", BlockNumHint = 7908800 }; var resp = await Api.GetTransactionAsync(args, CancellationToken).ConfigureAwait(false); TestPropetries(resp); }
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)); }
public async Task <OperationResult <GetTransactionResults> > GetTransaction(GetTransactionParams args, CancellationToken token) { var endpoint = $"{ChainUrl}/v1/history/get_transaction"; return(await CustomPostRequest <GetTransactionResults>(endpoint, args, token)); }