Since: cosmos-sdk 0.46
A successful response.
const response = await fetch('https://thor.nownodes.io/cosmos/auth/v1beta1/bech32', { method: 'GET', headers: {}, }); const data = await response.json();
{ "bech32_prefix": "text" }
const response = await fetch('https://thor.nownodes.io/cosmos/auth/v1beta1/bech32/{address_bytes}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "address_string": "text" }
const response = await fetch('https://thor.nownodes.io/cosmos/auth/v1beta1/bech32/{address_string}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "address_bytes": "Ynl0ZXM=" }