예제 #1
0
        /// <inheritdoc />
        public async Task <BroadcastedTransactionWithManyOutputs> TryGetBroadcastedTransactionWithManyOutputsAsync(Guid operationId, BlockchainAsset asset)
        {
            ValidateOperationIdIsNotEmpty(operationId);
            ValidateAssetIsNotNull(asset);

            var apiResponse = await _runner.RunWithRetriesAsync(() => _api.GetBroadcastedTransactionWithManyOutputsAsync(operationId));

            return(apiResponse == null
                ? null
                : new BroadcastedTransactionWithManyOutputs(apiResponse, asset.Accuracy, operationId));
        }