l2_getEnqueuedTxs

Return the enqueued transactions.

Parameters

  • queueStart: uint64|QUANTITY - the start index of required enqueued transaction.

  • queueNum: uint64|QUANTITY - the number of required enqueued transaction.

Returns

Array - Array of object with the following fields:

  • queueIndex: QUANTITY - the index of transaction queue

  • from: Address - transaction sender

  • to: Address - the to address of transaction

  • timestamp: QUANTITY - the timestamp of this enqueued tx

  • rlpTx: byte array - the RLP encoded transaction

Example

Request

{
    "jsonrpc": "2.0",
    "method": "l2_getEnqueuedTxs",
    "id": 0,
    "params": [
        "0x21",
        "0x2"
    ]
}

Result

Last updated