{#each transactions as txn} {/each}
{$_("home.latest_txns.table.txn_id")} {$_("home.latest_txns.table.value")} {$_("home.latest_txns.table.size")} {$_("home.latest_txns.table.fee")}
{txn.hash} {(txn.output_total_value / Math.pow(10, 8)).toFixed(8)} BTC {Math.ceil( (txn.weight + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR, ).toLocaleString()} vB {#if txn.input_total_value > 0} {( (txn.input_total_value - txn.output_total_value) / ((txn.weight + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR) ) .toFixed(2) .toLocaleString()} {:else} 0 {/if} sat/vB