Get logs by contract address
GET/logs/contracts/:contractAddress
For usage instructions, see Get all logs of a contract
Request
Path Parameters
contractAddress stringrequired
ContractAddress address. Example: 0x32950db2a7164ae833121501c797d79e7b79d74c
Query Parameters
limit integer
Paging limit
order string
Paging order, valid values: "asc", "desc". Default: "desc"
cursor string
Paging cursor
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
result
object
items
object[]
address string
topics string[]
data string
blockNumber integer
transactionHash string
transactionIndex integer
blockHash string
logIndex integer
removed boolean
paging
object
nextCursor string
{
"result": {
"items": [
{
"address": "string",
"topics": [
"string"
],
"data": "string",
"blockNumber": 0,
"transactionHash": "string",
"transactionIndex": 0,
"blockHash": "string",
"logIndex": 0,
"removed": true
}
],
"paging": {
"nextCursor": "string"
}
}
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...
Was this helpful?
Happy React is loading...