diff --git a/api/api.proto b/api/api.proto index b98060c7364..07c0c7e32d5 100644 --- a/api/api.proto +++ b/api/api.proto @@ -105,6 +105,27 @@ service Wallet { }; } + rpc FreezeBalance (FreezeBalanceContract) returns (Transaction) { + option (google.api.http) = { + post: "/wallet/freezebalance" + body: "*" + }; + } + + rpc UnfreezeBalance (EmptyMessage) returns (Transaction) { + option (google.api.http) = { + post: "/wallet/unfreezebalance" + body: "*" + }; + } + + rpc WithdrawBalance (EmptyMessage) returns (Transaction) { + option (google.api.http) = { + post: "/wallet/withdrawbalance" + body: "*" + }; + } + rpc ListNodes (EmptyMessage) returns (NodeList) { option (google.api.http) = { post: "/wallet/listnodes" @@ -147,24 +168,6 @@ service Wallet { body: "*" }; } - rpc FreezeBalance (FreezeBalanceContract) returns (Transaction) { - option (google.api.http) = { - post: "/wallet/freezebalance" - body: "*" - }; - } - rpc UnfreezeBalance (EmptyMessage) returns (Transaction) { - option (google.api.http) = { - post: "/wallet/unfreezebalance" - body: "*" - }; - } - rpc WithdrawBalance (EmptyMessage) returns (Transaction) { - option (google.api.http) = { - post: "/withdrawbalance" - body: "*" - }; - } };