mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
feat: add PubKey fast reflection
This commit is contained in:
@@ -13,11 +13,6 @@ service Query {
|
||||
option (google.api.http).get = "/vault/v1/params";
|
||||
}
|
||||
|
||||
// BuildTx builds an unsigned transaction message for the given PKL.
|
||||
rpc BuildTx(BuildTxRequest) returns (BuildTxResponse) {
|
||||
option (google.api.http).post = "/vault/v1/buildtx";
|
||||
}
|
||||
|
||||
// Schema queries the DID document by its id. And returns the required PKL
|
||||
// information
|
||||
rpc Schema(QuerySchemaRequest) returns (QuerySchemaResponse) {
|
||||
@@ -39,16 +34,6 @@ message QueryParamsResponse {
|
||||
// params defines the parameters of the module.
|
||||
Params params = 1;
|
||||
}
|
||||
|
||||
// QueryIPFSRequest is the request type for the Query/IPFS RPC method.
|
||||
message QueryIPFSRequest {}
|
||||
|
||||
// QueryIPFSResponse is the response type for the Query/IPFS RPC method.
|
||||
message QueryIPFSResponse {
|
||||
// IPFS is the IPFS client status.
|
||||
bool ipfs = 1;
|
||||
}
|
||||
|
||||
// QuerySchemaRequest is the request type for the Query/Schema RPC method.
|
||||
message QuerySchemaRequest {}
|
||||
|
||||
@@ -59,23 +44,7 @@ message QuerySchemaResponse {
|
||||
}
|
||||
|
||||
// SyncRequest is the request type for the Sync RPC method.
|
||||
message SyncRequest {
|
||||
string did = 1;
|
||||
}
|
||||
message SyncRequest { string did = 1; }
|
||||
|
||||
// SyncResponse is the response type for the Sync RPC method.
|
||||
message SyncResponse {
|
||||
bool success = 1;
|
||||
}
|
||||
|
||||
// BuildTxRequest is the request type for the BuildTx RPC method.
|
||||
message BuildTxRequest {
|
||||
string did = 1;
|
||||
string pkl = 2;
|
||||
}
|
||||
|
||||
// BuildTxResponse is the response type for the BuildTx RPC method.
|
||||
message BuildTxResponse {
|
||||
bool success = 1;
|
||||
string tx = 2;
|
||||
}
|
||||
message SyncResponse { bool success = 1; }
|
||||
|
||||
Reference in New Issue
Block a user