Chain Data
Get logs
Retrieve logs for the given transaction(s). Corresponds to the <a href="/chifra/chaindata/#chifra-logs">chifra logs</a> command line.
get/logs
Query parameters
transactionsstring[] required
a space-separated list of one or more transaction identifiers
emitterstring[]
filter logs to show only those logs emitted by the given address(es)
topicstring[]
filter logs to show only those with this topic(s)
articulateboolean
articulate the retrieved data if ABIs can be found
chainstring
the chain to use
noHeaderboolean
suppress the header in the output
cacheboolean
force the results of the query into the cache
decacheboolean
removes related items from the cache
fmtstring
export format, one of [ txt | csv | json ]
Response
returns the requested data
Example response
{
"address": "0x5564886ca2c518d1964e5fcea4f423b41db9f561",
"blockHash": "0x3a1fba5abd9d41457944e91ed097e039b7b12d3d7ba324a3f422db2277a48e28",
"blockNumber": 52029,
"date": "2015-08-08 06:22:55 UTC",
"logIndex": 0,
"timestamp": 1439014975,
"topics": [
"0xa6697e974e6a320f454390be03f74955e8978f1a6971ea6730542e37b66179bc",
"0x4d794669727374436f696e000000000000000000000000000000000000000000"
],
"transactionHash": "0x218b632d932371478d1ae5a01620ebab1a2030f9dad6f8fba4a044ea6335a57e",
"transactionIndex": 0
}