印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

67 lines
1.4 KiB

syntax = "proto3";
package pb;
option go_package = "../../pb";
message BlockPayQueryOrderReq{
string OrderID = 1; // 游戏订单
string TxID = 2; // 交易号
}
message CommonMsg{
}
message CommonResp{
int64 Code = 1; // 0查询成功 其余为失败
string Msg = 2; // 消息
}
message BlockPayQueryLocalAddrResp{
repeated OneBlockAddr Addrs = 1;
}
message OneBlockAddr {
string Addrres = 1; // 地址
string TRX = 2;
string USDT = 3;
}
message BlockPayAddLocalAddrReq{
string Address = 1; // 新增的地址
string Private = 2; // 秘钥
}
message BlockPayTransferReq{
string FromAddr = 1; // 付款地址
string ToAddr = 2; // 收款地址
int64 Type = 3; // 类型 1TRX 2USDT
int64 Amount = 4; // 额度
}
message BlockPayTransferResp{
int64 Code = 1; // 0查询成功 其余为失败
string Msg = 2; // 消息
string TxID = 3; // 交易号
}
message BlockPayGetFeeResp{
int64 Code = 1; // 0查询成功 其余为失败
string Msg = 2; // 消息
int64 Fee = 3; // 费用
}
// 扫描玩家钱包余额并转回主钱包
message BlockPayScanPlayerWalletReq{
int64 Down = 1; // 扫描u下限
int64 Up = 2; // 扫描u上限
}
message BlockPayScanPlayerWalletResp{
int64 Code = 1; // 0查询成功 其余为失败
string Msg = 2; // 消息
int64 Success = 3; // 成功转出数目
int64 Fail = 4; // 失败转出数目
}