Tx is the standard type used for broadcasting transactions.
tx_bytes is the raw transaction.
A successful response.
gas_info is the information about gas used in the simulation.
result is the result of the simulation.
const response = await fetch('https://akt.nownodes.io/cosmos/tx/v1beta1/simulate', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "gas_info": { "gas_wanted": "text", "gas_used": "text" }, "result": { "data": "Ynl0ZXM=", "log": "text", "events": [ { "type": "text", "attributes": [ { "key": "Ynl0ZXM=", "value": "Ynl0ZXM=", "index": false } ] } ] } }