proto/wallet/v1/internal_srv.proto
2025-08-10 13:19:40 +03:30

21 lines
607 B
Protocol Buffer

syntax = "proto3";
package wallet.v1;
import "base/v1/msg.proto";
import "wallet/v1/msg.proto";
service InternalWalletSrv {
rpc InternalWalletSrvHealth(base.v1.Empty) returns (base.v1.StatusRes);
// Lock And Release Assets
rpc LockAsset(LockAssetReq) returns (base.v1.StatusRes);
rpc ReleaseAsset(LockAssetReq) returns (base.v1.StatusRes);
rpc CollectCommission(CommissionReq) returns (CommissionRes);
rpc RefundCommission(CommissionReq) returns (CommissionRes);
// Calculate stellar pub-priv key based on national id
rpc GetPublicKeyByNationalID(NationalIDReq) returns (PubKeyRes);
}