A successful response.
denom defines the denomination to query for.
const response = await fetch('https://lunc.nownodes.io/terra/treasury/v1beta1/tax_caps', { method: 'GET', headers: {}, }); const data = await response.json();
{ "tax_caps": [ { "denom": "text", "tax_cap": "text" } ] }
const response = await fetch('https://lunc.nownodes.io/terra/treasury/v1beta1/tax_caps/{denom}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "tax_cap": "text" }