---
title: "Get history"
method: GET
path: "/history"
tags: ["History"]
---

# Get history

`GET /history`

Get all history

## Query parameters

- `limit` number, double, required
- `cursor` string
- `transactionHash` string
- `excludePayload` boolean
- `streamId` string
- `chainId` string[]
- `blockNumber` number[]
- `fromTimestamp` number, double
- `toTimestamp` number, double

## Response `200`

Ok

- HistoryResponse
  - `result` HistoryModel[], required
    - `id` string, uuid, required — Stringified UUIDv4. See [RFC 4112](https://tools.ietf.org/html/rfc4122)
    - `date` string, date-time, required
    - `payload` IWebhookUnParsed
      - `block` Block, required
        - `number` string, required
        - `hash` string, required
        - `timestamp` string, required
      - `chainId` string, required
      - `logs` Log[], required
        - `triggers` TriggerOutput[]
          - `value` unknown, required
          - `name` string, required
        - `logIndex` string, required
        - `transactionHash` string, required
        - `address` string, required
        - `data` string, required
        - `topic0` string, nullable, required
        - `topic1` string, nullable, required
        - `topic2` string, nullable, required
        - `topic3` string, nullable, required
        - `triggered_by` string[], nullable
      - `txs` Transaction[], required
        - `triggers` TriggerOutput[]
          - `value` unknown, required
          - `name` string, required
        - `hash` string, required
        - `gas` string, nullable, required
        - `gasPrice` string, nullable, required
        - `nonce` string, nullable, required
        - `input` string, nullable, required
        - `transactionIndex` string, required
        - `fromAddress` string, required
        - `toAddress` string, nullable, required
        - `value` string, nullable, required
        - `type` string, nullable, required
        - `v` string, nullable, required
        - `r` string, nullable, required
        - `s` string, nullable, required
        - `receiptCumulativeGasUsed` string, nullable, required
        - `receiptGasUsed` string, nullable, required
        - `receiptContractAddress` string, nullable, required
        - `receiptRoot` string, nullable, required
        - `receiptStatus` string, nullable, required
        - `triggered_by` string[], nullable
        - `transactionFee` string, nullable
      - `txsInternal` InternalTransaction[], required
        - `from` string, nullable, required
        - `to` string, nullable, required
        - `value` string, nullable, required
        - `transactionHash` string, required
        - `gas` string, nullable, required
        - `triggered_by` string[], nullable
      - `abi` AbiItem[], required
        - `anonymous` boolean
        - `constant` boolean
        - `inputs` AbiInput[]
          - `name` string, required
          - `type` string, required
          - `indexed` boolean
          - `components` AbiInput[]
          - `internalType` string
        - `name` string
        - `outputs` AbiOutput[]
          - `name` string, required
          - `type` string, required
          - `components` AbiOutput[]
          - `internalType` string
        - `payable` boolean
        - `stateMutability` string
        - `type` string, required
        - `gas` number, double
      - `retries` number, double, required
      - `confirmed` boolean, required
      - `tag` string, required
      - `streamId` string, required
    - `tinyPayload` ITinyPayload, required
      - `chainId` string, required
      - `confirmed` boolean, required
      - `block` string, required
      - `records` number, double, required
      - `retries` number, double, required
    - `errorMessage` string, required
    - `webhookUrl` string, required
    - `streamId` string, required
    - `tag` string
  - `cursor` string
  - `total` number, double, required

---

[API](https://skmtc.net/moralis/apis/auth-api.md) · [All operations](https://skmtc.net/moralis/apis/auth-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moralis/auth-api/versions/f54aabf6dd91/schema)
