proto/wallet/v1/internal_srv.proto
nfel 1d7e944469
v2: change param type of refund commission
Signed-off-by: nfel <nfilsaraee@gmail.com>
2025-08-13 12:37:42 +03:30

21 lines
613 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(RefundCommissionReq) returns (CommissionRes);
// Calculate stellar pub-priv key based on national id
rpc GetPublicKeyByNationalID(NationalIDReq) returns (PubKeyRes);
}