wormhole/proto/agent/v1/service.proto

32 lines
464 B
Protocol Buffer

syntax = "proto3";
package agent.v1;
// TODO: documentation
option go_package = "proto/agent/v1;agentv1";
service Agent {
rpc SubmitVAA (SubmitVAARequest) returns (SubmitVAAResponse);
rpc GetBalance (GetBalanceRequest) returns (GetBalanceResponse);
}
message Empty {
}
message SubmitVAARequest {
bytes vaa = 1;
}
message SubmitVAAResponse {
string signature = 1;
}
message GetBalanceRequest{
}
message GetBalanceResponse{
uint64 balance = 1;
}