spacemeshos / api

Protobuf implementation of the Spacemesh API
MIT License
15 stars 9 forks source link

v2alpha1: Add TransactionService #329

Closed kacpersaw closed 6 months ago

kacpersaw commented 7 months ago
service TransactionService {
  rpc List(TransactionRequest) returns (TransactionList);
  rpc ParseTransaction(ParseTransactionRequest) returns (ParseTransactionResponse);
  rpc SubmitTransaction(SubmitTransactionRequest) returns (SubmitTransactionResponse);
  rpc EstimateGas(EstimateGasRequest) returns (EstimateGasResponse);
}
service TransactionStreamService {
  rpc Stream(TransactionStreamRequest) returns (stream Transaction);
}