logindex namespace
logIndex_blockNumbers
Retrieves log index block number for the given filter.
- Parameters
- Request
- Response
filter: objectaddress: array of objectvalue: string (address)
fromBlock: string (block number or hash or either ofearliest,finalized,latest,pending, orsafe)toBlock: string (block number or hash or either ofearliest,finalized,latest,pending, orsafe)topics: array of array of string (hash)useIndex: boolean
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "logIndex_blockNumbers",
"params": [filter]
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result: array of string (hex integer)
logIndex_status
Retrieves log index status.
- Request
- Response
curl localhost:8545 \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc": "2.0",
"id": 0,
"method": "logIndex_status",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 0,
"result": result
}
result: object
current: objectfromBlock: string (hex integer)toBlock: string (hex integer)
dbSize: stringisRunning: booleanlastError: stringlastUpdate: objecthasValue: booleanvalue: objectdate: objectdate: objectday: string (hex integer)dayOfWeek: integerdayOfYear: string (hex integer)hour: string (hex integer)kind: integermicrosecond: string (hex integer)millisecond: string (hex integer)minute: string (hex integer)month: string (hex integer)nanosecond: string (hex integer)second: string (hex integer)ticks: string (hex integer)timeOfDay: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
year: string (hex integer)
dateTime: objectdate: objectday: string (hex integer)dayOfWeek: integerdayOfYear: string (hex integer)hour: string (hex integer)kind: integermicrosecond: string (hex integer)millisecond: string (hex integer)minute: string (hex integer)month: string (hex integer)nanosecond: string (hex integer)second: string (hex integer)ticks: string (hex integer)timeOfDay: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
year: string (hex integer)
day: string (hex integer)dayOfWeek: integerdayOfYear: string (hex integer)hour: string (hex integer)localDateTime: objectdate: objectday: string (hex integer)dayOfWeek: integerdayOfYear: string (hex integer)hour: string (hex integer)kind: integermicrosecond: string (hex integer)millisecond: string (hex integer)minute: string (hex integer)month: string (hex integer)nanosecond: string (hex integer)second: string (hex integer)ticks: string (hex integer)timeOfDay: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
year: string (hex integer)
microsecond: string (hex integer)millisecond: string (hex integer)minute: string (hex integer)month: string (hex integer)nanosecond: string (hex integer)offset: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
second: string (hex integer)ticks: string (hex integer)timeOfDay: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
totalOffsetMinutes: string (hex integer)utcDateTime: objectdate: objectday: string (hex integer)dayOfWeek: integerdayOfYear: string (hex integer)hour: string (hex integer)kind: integermicrosecond: string (hex integer)millisecond: string (hex integer)minute: string (hex integer)month: string (hex integer)nanosecond: string (hex integer)second: string (hex integer)ticks: string (hex integer)timeOfDay: objectdays: string (hex integer)hours: string (hex integer)microseconds: string (hex integer)milliseconds: string (hex integer)minutes: string (hex integer)nanoseconds: string (hex integer)seconds: string (hex integer)ticks: string (hex integer)totalDays: objecttotalHours: objecttotalMicroseconds: objecttotalMilliseconds: objecttotalMinutes: objecttotalNanoseconds: objecttotalSeconds: object
year: string (hex integer)
utcTicks: string (hex integer)year: string (hex integer)
target: objectfromBlock: string (hex integer)toBlock: string (hex integer)