engine_getPayloadBodiesByRangeV1
Given a range of block numbers returns bodies of the corresponding execution payloads
Params
(2)1. Starting block number (required)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
2. Number of blocks to return (required)
string
Match pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
Result
(Execution payload bodies)array of:
transactions
array[string]withdrawals
array[Withdrawal object V1] or null
index
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
validatorIndex
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
address
stringMatch pattern:
^0x[0-9,a-f,A-F]{40}$
amount
stringMatch pattern:
^0x([1-9a-f]+[0-9a-f]{0,15})|0$
Errors
Code | Message |
---|---|
-38004 | Too large request |