proto/base/v1/msg.proto
nfel 87198ce3f9
v2: wallet locked,available,total balance
Signed-off-by: nfel <nfilsaraee@gmail.com>
2025-01-20 13:17:58 +03:30

26 lines
441 B
Protocol Buffer

syntax = "proto3";
package base.v1;
message Empty {}
message StatusRes {
bool success = 1;
}
message IdRes {
int64 id = 1;
}
message IdReq {
int64 id = 1;
}
message Pagination {
uint32 page = 1; // in query param it will be p
uint32 page_size = 2; // in query param it will be pz
optional uint32 total_count = 3; // reponse
}
message Filter {
string query = 1; // q
string sort = 2; // s
optional Pagination page = 3;
}