neutrond query feeburner params
{ "params": { "neutron_denom": "untrn", "reserve_address": "", // Deprecated in v0.4.4 "treasury_address": "neutron1..." } }
curl -X GET "http://localhost:1317/neutron/feeburner/params"
neutrond query feeburner total-burned-neutrons-amount
{ "total_burned_neutrons_amount": { "coin": { "denom": "untrn", "amount": "1532687456789" } } }
curl -X GET "http://localhost:1317/neutron/feeburner/total_burned_neutrons_amount"
MsgUpdateParams
{ "@type": "/neutron.feeburner.MsgUpdateParams", "authority": "neutron1...", // governance authority address "params": { "neutron_denom": "untrn", "treasury_address": "neutron1...", "reserve_address": "" } }
grpcurl -plaintext \ -d '{}' \ localhost:9090 \ neutron.feeburner.Query/Params
grpcurl -plaintext \ -d '{}' \ localhost:9090 \ neutron.feeburner.Query/TotalBurnedNeutronsAmount
// Query Fee Burner module parameters const queryClient = await cosmwasm.SigningCosmWasmClient.connect(rpcEndpoint); const params = await queryClient.queryContractSmart( "neutron/feeburner/params", {} ); console.log(params); // Query total burned NTRN amount const burnedAmount = await queryClient.queryContractSmart( "neutron/feeburner/total_burned_neutrons_amount", {} ); console.log(burnedAmount);
Annual Burn Rate = (Daily Burned Amount * 365) / Total Supply