mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Update blocks.js
This commit is contained in:
parent
37f48c0c10
commit
44c3db8512
@ -240,6 +240,13 @@ function updateLatestBlockStats(block) {
|
|||||||
} else {
|
} else {
|
||||||
$("#latest-pool").text("Unknown");
|
$("#latest-pool").text("Unknown");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Average Fee Rate
|
||||||
|
if (block.extras && block.extras.avgFeeRate) {
|
||||||
|
$("#latest-fee-rate").text(block.extras.avgFeeRate + " sat/vB");
|
||||||
|
} else {
|
||||||
|
$("#latest-fee-rate").text("N/A");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function to display the blocks in the grid
|
// Function to display the blocks in the grid
|
||||||
|
Loading…
Reference in New Issue
Block a user