All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bloxbean.cardano.client.backend.api.DefaultTransactionProcessor Maven / Gradle / Ivy

There is a newer version: 0.6.3
Show newest version
package com.bloxbean.cardano.client.backend.api;

import com.bloxbean.cardano.client.api.TransactionProcessor;
import com.bloxbean.cardano.client.api.exception.ApiException;
import com.bloxbean.cardano.client.api.model.Result;

public class DefaultTransactionProcessor implements TransactionProcessor {
    private TransactionService transactionService;

    public DefaultTransactionProcessor(TransactionService transactionService) {
        this.transactionService = transactionService;
    }

    @Override
    public Result submitTransaction(byte[] cborData) throws ApiException {
        return transactionService.submitTransaction(cborData);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy