protoConfigStatic static method

ProtoMessageConfig protoConfigStatic()

Implementation

static ProtoMessageConfig protoConfigStatic() {
  return ProtoMessageConfig(
    syntax: ProtoSyntax.v3,
    options: [
      ProtoOptionHttp(
        name: "google.api.http.get",
        method: RequestMethod.get,
        path: "/stratos/pot/v1/rewards/wallet/{wallet_address}/epoch/{epoch}",
      ),
    ],
    fields: [
      ProtoFieldConfig.string(1),
      ProtoFieldConfig.int64(2),
      ProtoFieldConfig.message(3),
    ],
  );
}