---
title: "GET /getTopFactories"
method: GET
path: "/getTopFactories"
tags: ["Factory"]
---

# GET /getTopFactories

`GET /getTopFactories`

Returns the top factories in a chain

## Query parameters

- `skip` string
- `network` string
- `first` string

## Response `200`

Success

- Factory[] — An array of factories
  - `id` string — Internal ID of the factory, can be ignored.
  - `address` string — Address of the factory
  - `network` string — Network on which the factory is deployed
  - `accountsLength` string — Number of accounts created by the factory
  - `accounts` Account[] — Accounts created by the factory
    - `address` string — Address of the user
    - `network` string — Network on which the user is deployed
    - `blockTime` string — Block time of the user
    - `blockNumber` string — Block number of the user
    - `factory` string — Factory address of the user
    - `userOpHash` string — User operation hash where the user was deployed
    - `totalDeposits` string — Total deposits of the user in the entry point
    - `userOpsCount` string — Number of user operations by the user
    - `userOps` UserOp[] — User Ops submitted by the user
      - `userOpHash` string — Hash of the user operation.
      - `transactionHash` string — Hash of the transaction that contains the user operation.
      - `sender` string — Address of the user that sent the operation.
      - `target` string, nullable — The target of the user operation
      - `accountSender` object, nullable — Object containing meta data of the sender's account
        - `factory` string, nullable — The factory of the senders account
      - `accountTarget` object, nullable — Object containing meta data of the target's account
        - `factory` string, nullable — The factory of the targets account if present
      - `paymaster` string — The paymaster of the user operation
      - `nonce` string — Nonce of the user operation
      - `actualGasCost` string, nullable — Actual gas cost of the user operation
      - `actualGasUsed` string, nullable — Actual gas used of the user operation
      - `success` boolean — Whether the user operation was successful
      - `revertReason` string — Hexadecimal reason as to why the user operation reverted
      - `blockTime` string — Timestamp of the block in which the user operation was mined
      - `blockNumber` string — Block number of the block in which the user operation was mined
      - `network` string — Network on which the user operation was mined
      - `input` string — Input for the transaction that contains the user operation
      - `callData` string — callData in Hex that was sent to the target of the user operation
      - `beneficiary` string, nullable — Address of the beneficiary of the user operation
      - `factory` string, nullable — Factory of the user operation
      - `value` string, nullable — Value sent to the target of the user op
      - `verificationGasLimit` string, nullable — Gas limit used for the verification of the user operation
      - `preVerificationGas` string, nullable — Gas used for the pre-verification of the user operation
      - `maxFeePerGas` string, nullable — Max fee per gas of the user operation
      - `maxPriorityFeePerGas` string, nullable — Max priority fee per gas of the user operation
      - `paymasterAndData` string, nullable — Paymaster and data of the user operation
      - `signature` string, nullable — Signature of the user operation
      - `id` string — Internal ID of the user operation, can be ignored.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Invalid API Key
- `502` — Bad Gateway
- `default` — Success

---

[API](https://skmtc.net/jiffyscan/apis/jiffyscan-apis.md) · [All operations](https://skmtc.net/jiffyscan/apis/jiffyscan-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jiffyscan/jiffyscan-apis/revisions/6f6deddabdc5/schema)
