arbdebug_timeoutQueueHistory

Request an update

Returns the size of the timeout queue at evenly spaced blocks between start and end, with at most the configured block range bound of samples.

Source: nitro v3.12.2 execution/gethexec/api.go:257

Generated from Nitro v3.12.2.

$NITRO_RPC_URL

$NITRO_RPC_URL is the RPC URL of your Nitro node.

Params

  1. [0] start BlockNumber requiredFirst block of the range.
  2. [1] end BlockNumber requiredLast block of the range.

Result

Prop

Type

{  "jsonrpc": "2.0",  "id": 1,  "result": {    "start": 0,    "end": 0,    "step": 0,    "count": [      0    ]  }}

Go definition

// nitro v3.12.2 execution/gethexec/api.go:257func (api *ArbDebugAPI) TimeoutQueueHistory(ctx context.Context, start, end rpc.BlockNumber) (TimeoutQueueHistory, error)// nitro v3.12.2 execution/gethexec/api.go:250type TimeoutQueueHistory struct {	Start uint64   `json:"start"`	End   uint64   `json:"end"`	Step  uint64   `json:"step"`	Count []uint64 `json:"count"`}
curl -X POST $NITRO_RPC_URL \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "arbdebug_timeoutQueueHistory",  "params": [    "latest",    "latest"  ]}'

How is this guide?