Skip to main content
GET
/
history
Get history
curl --request GET \
  --url https://api.moralis-streams.com/history \
  --header 'x-api-key: <api-key>'
{
  "result": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "date": "2023-11-07T05:31:56Z",
      "tinyPayload": {
        "chainId": "<string>",
        "confirmed": true,
        "block": "<string>",
        "records": 123,
        "retries": 123
      },
      "errorMessage": "<string>",
      "webhookUrl": "<string>",
      "streamId": "<string>",
      "payload": {
        "block": {
          "number": "<string>",
          "hash": "<string>",
          "timestamp": "<string>"
        },
        "chainId": "<string>",
        "logs": [
          {
            "logIndex": "<string>",
            "transactionHash": "<string>",
            "address": "<string>",
            "data": "<string>",
            "topic0": "<string>",
            "topic1": "<string>",
            "topic2": "<string>",
            "topic3": "<string>",
            "triggers": [
              {
                "value": "<unknown>",
                "name": "<string>"
              }
            ],
            "triggered_by": [
              "<string>"
            ]
          }
        ],
        "txs": [
          {
            "hash": "<string>",
            "gas": "<string>",
            "gasPrice": "<string>",
            "nonce": "<string>",
            "input": "<string>",
            "transactionIndex": "<string>",
            "fromAddress": "<string>",
            "toAddress": "<string>",
            "value": "<string>",
            "type": "<string>",
            "v": "<string>",
            "r": "<string>",
            "s": "<string>",
            "receiptCumulativeGasUsed": "<string>",
            "receiptGasUsed": "<string>",
            "receiptContractAddress": "<string>",
            "receiptRoot": "<string>",
            "receiptStatus": "<string>",
            "triggers": [
              {
                "value": "<unknown>",
                "name": "<string>"
              }
            ],
            "triggered_by": [
              "<string>"
            ]
          }
        ],
        "txsInternal": [
          {
            "from": "<string>",
            "to": "<string>",
            "value": "<string>",
            "transactionHash": "<string>",
            "gas": "<string>",
            "triggered_by": [
              "<string>"
            ]
          }
        ],
        "abi": [
          {}
        ],
        "retries": 123,
        "confirmed": true,
        "tag": "<string>",
        "streamId": "<string>"
      },
      "tag": "<string>"
    }
  ],
  "total": 123,
  "cursor": "<string>"
}

Authorizations

x-api-key
string
header
required

Query Parameters

limit
number<double>
required
cursor
string
transactionHash
string
excludePayload
boolean
streamId
string
chainId
string[]
blockNumber
number<double>[]
fromTimestamp
number<double>
toTimestamp
number<double>

Response

200 - application/json

Ok

result
object[]
required
total
number<double>
required
cursor
string