Returns information needed to construct a new transaction including current epoch number.
epoch
Returns information needed to construct transaction.
const response = await fetch('https://xrd-gateway.nownodes.io/transaction/construction', { method: 'POST', headers: { "api-key": "text" }, }); const data = await response.json();
{ "ledger_state": { "network": "mainnet", "state_version": 0, "proposer_round_timestamp": "text", "epoch": 0, "round": 0 } }