Skip to main content
Version: 4.0

Client

Queries

In this section we describe the queries required on grpc server.

// Query defines the gRPC querier service.
service Query {
// Parameters queries the parameters of the module.
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/neutron/feeburner/params";
}

// TotalBurnedNeutronsAmount queries total amount of burned neutron fees.
rpc TotalBurnedNeutronsAmount(QueryTotalBurnedNeutronsAmountRequest)
returns (QueryTotalBurnedNeutronsAmountResponse) {
option (google.api.http).get =
"/neutron/feeburner/total_burned_neutrons_amount";
}
}

total-burned-neutrons-amount

Returns sdk.Coin with all-time amount of burned Neutron tokens.

neutrond query feeburner total-burned-neutrons-amount
Example
Returns amount of burned Neutrons:
neutrond query feeburner total-burned-neutrons-amount

Output:

total_burned_neutrons_amount:
coin:
amount: "551"
denom: untrn