- description:Slot where batches are currently being forged.
- example:2334
transactionsPerBatch:
type:number
description:Average transactions per batch in the last 24 hours.
example:2002.7
batchFrequency:
type:number
description:Average elapsed time between batches in the last 24 hours, in seconds.
example:8.9
transactionsPerSecond:
type:number
description:Average transactions per second in the last 24 hours.
example:302.3
totalAccounts:
type:integer
description:Number of created accounts.
example:90473
totalBJJs:
type:integer
description:Number of different registered BJJs.
example:23067
avgTransactionFee:
type:number
description:Average fee percentage paid for L2 transactions in the last 24 hours.
example:1.54
nextForgers:
$ref:'#/components/schemas/NextForgers'
recommendedFee:
$ref:'#/components/schemas/RecommendedFee'
governance:
network:
type:object
type:object
description:Network setings that are updatable by the governance.
description:Gobal statistics of the network
properties:
properties:
rollup:
type:object
description:Rollup parameters.
properties:
forgeTimeout:
type:integer
description:Time delay between the beggining of a slot and the beggining of the period in which anyone can forge if the auction winner of the slot hasn't forged any batch yet. Time is measured in Ethereum blocks.
example:5
feeAddToken:
type:integer
description:fee to pay when registering tokens into the network.
example:5698
auction:
type:object
description:Auction parameters.
properties:
bootCoordinator:
allOf:
- $ref:'#/components/schemas/EthereumAddress'
- description:Ethereum address of the boot coordinator.
description:Number of blocks at the end of a slot in which any coordinator can forge if the winner has not forged one before.
example:3
closedAuctionSlots:
type:integer
description:Amount of slots between the current slot and the slot auction that is closed. Example if the value is 2, when slot 10 begins, the auction of the slot 12 gets closed.
example:2
openAuctionSlots:
type:integer
description:How many days in advance are auctions opened.
defaultSlotSetBid:
type:array
description:"Initial minimal bid for each auction. Expressed as an array of 6 values. To calculate which value corresponds to each slot: `initialMinimalBidding[slotNum%6]`."
items:
lastBlock:
allOf:
- $ref:'#/components/schemas/EthBlockNum'
- description:Last synchronized Etherum block.
- example:3457437
lastBatch:
$ref:'#/components/schemas/Batch'
currentSlot:
allOf:
- $ref:'#/components/schemas/SlotNum'
- description:Slot where batches are currently being forged.
- example:2334
nextForgers:
$ref:'#/components/schemas/NextForgers'
additionalProperties:false
require:
- lastBlock
- lastBatch
- currentSlot
- nextForgers
metrics:
type:object
description:Metrics of the network
properties:
transactionsPerBatch:
type:number
description:Average transactions per batch in the last 24 hours.
example:2002.7
batchFrequency:
type:number
description:Average elapsed time between batches in the last 24 hours, in seconds.
example:8.9
transactionsPerSecond:
type:number
description:Average transactions per second in the last 24 hours.
example:302.3
totalAccounts:
type:integer
description:Number of created accounts.
example:90473
totalBJJs:
type:integer
description:Number of different registered BJJs.
example:23067
avgTransactionFee:
type:number
description:Average fee percentage paid for L2 transactions in the last 24 hours.
example:1.54
additionalProperties:false
require:
- transactionsPerBatch
- batchFrequency
- transactionsPerSecond
- totalAccounts
- totalBJJs
- avgTransactionFee
rollup:
type:object
description:Rollup parameters
properties:
forgeL1L2BatchTimeout:
type:integer
description:Max ethereum blocks after the last L1-L2-batch, when exceeds the timeout only L1-L2-batch are allowed.
example:5
feeAddToken:
type:integer
description:Fee to pay when registering tokens into the network.
example:5698
withdrawalDelay:
type:integer
description:Withdraw delay in seconds
example:432000
buckets:
type:array
description:List of buckets state
items:
type:object
properties:
ceilUSD:
type:integer
type:integer
example:[32,0,68,21,55,99]
outbidding:
type:number
description:Minimum outbid over the previous one to consider it valid.
example:3.64
donationAddress:
allOf:
- $ref:'#/components/schemas/EthereumAddress'
- description:Ethereum address where the donations will go to.
description:Number of blocks after the beginning of a slot after which any coordinator can forge if the winner has not forged any batch in that slot.
example:3
closedAuctionSlots:
type:integer
description:Amount of slots between the current slot and the slot auction that is closed. Example if the value is 2, when slot 10 begins, the auction of the slot 12 gets closed.
example:2
openAuctionSlots:
type:integer
description:How many days in advance are auctions opened.
defaultSlotSetBid:
type:array
description:"Initial minimal bid for each auction. Expressed as an array of 6 values. To calculate which value corresponds to each slot: `initialMinimalBidding[slotNum%6]`."
items:
type:integer
example:[32,0,68,21,55,99]
outbidding:
type:number
description:Minimum outbid over the previous one to consider it valid.
example:3.64
donationAddress:
allOf:
- $ref:'#/components/schemas/EthereumAddress'
- description:Ethereum address where the donations will go to.