How do I use it
Server API

Server API

The maelstrom server exposes a gRPC API for clients to interact with

service Blob {
    rpc Info(InfoRequest) returns (InfoResponse) {
        option (google.api.http) = { get: "/v1/info" };
    }
    rpc Submit(SubmitRequest) returns (SubmitResponse) {
        option (google.api.http) = { post: "/v1/submit", body: "*" };
    }
    rpc Status(StatusRequest) returns (StatusResponse) {
        option (google.api.http) = { get: "/v1/status/{id}" };
    }
    rpc Balance(BalanceRequest) returns (BalanceResponse) {
        option (google.api.http) = { get: "/v1/balance/{address}" };
    }
    rpc Cancel(CancelRequest) returns (CancelResponse) {
        option (google.api.http) = { post: "/v1/cancel", body: "*" };
    }
    rpc Withdraw(WithdrawRequest) returns (WithdrawResponse) {
        option (google.api.http) = { post: "/v1/withdraw", body: "*" };
    }
    rpc PendingWithdrawal(PendingWithdrawalRequest) returns (PendingWithdrawalResponse) {
        option (google.api.http) = { get: "/v1/pending_withdrawal/{address}" };
    }
}