> ## Documentation Index
> Fetch the complete documentation index at: https://jiffyscan.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Top Paymasters



## OpenAPI

````yaml get /getTopPaymasters
openapi: 3.0.3
info:
  title: jiffyscan APIs
  version: '1.0'
  description: Gives a breif overview of all the jiffyscan APIs
  contact:
    email: aditya@jiffyscan.xyz
    name: Aditya
    url: https://jiffyscan.xyz
servers:
  - url: https://api.jiffyscan.xyz/v0
security: []
tags:
  - name: Supported Networks
    description: APIs for fetching supported network information
  - name: User Operations
    description: API's which can be used to fetch user operations done by entities
  - name: Bundler
    description: API's which can be used to fetch bundler related information
  - name: Account
    description: API's which can be used to fetch account related information
  - name: Factory
    description: API's which can be used to fetch factory related information
  - name: Metrics
    description: API's which can be used to fetch over all metrics of the ecosystem
paths:
  /getTopPaymasters:
    get:
      tags:
        - Paymaster
      parameters:
        - name: skip
          in: query
          description: How many records to skip
          schema:
            type: string
          example: '0'
        - name: network
          description: Which network to query ?
          in: query
          schema:
            type: string
          example: optimism-goerli
        - name: first
          in: query
          description: How many records to return
          schema:
            type: string
          example: '1'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                title: UserOps
                description: An array of user operations that the address was involved in
                items:
                  $ref: '#/components/schemas/Paymaster'
                example:
                  paymasters:
                    - userOpsLength: '46'
                      address: '0x7e3393eba62da6f555a5341e079e0f6585ce8c56'
                      gasSponsored: '42272701556800000'
                    - userOpsLength: '3'
                      address: '0x769f68e4ba8f53f3092eef34a42a811ab6365b05'
                      gasSponsored: '2350155791500000'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Invalid API Key
        '502':
          description: Bad Gateway
        default:
          description: Success
      security:
        - BasicAuth: []
components:
  schemas:
    Paymaster:
      type: object
      example:
        userOpsLength: '1'
        address: '0xe0c02ff978c82d19e1b9ea17cdfc0812b6245e67'
        id: '0xe0c02ff978c82d19e1b9ea17cdfc0812b6245e67'
        userOps:
          - id: >-
              0x1cf00690781143041cbbcdf57c9e196eae668aa8626838c8bad48901e5c66b58-1
            sender: '0x4b2abbab298ba663639f353d4e6633580274f9f9'
            target: '0x7ddefa2f027691116d0a7aa6418246622d70b12a'
            actualGasCost: '2843761105900000'
            success: true
            revertReason: null
            blockTime: '1681214802'
            paymaster: '0xe0c02ff978c82d19e1b9ea17cdfc0812b6245e67'
            network: optimism-goerli
            userOpHash: '0x1cf00690781143041cbbcdf57c9e196eae668aa8626838c8bad48901e5c66b58'
            input: >-
              0x1fad948c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000093f139eb8ba180d1fbdd0f45c74f7ae5405662aa000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000004b2abbab298ba663639f353d4e6633580274f9f900000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000140500000000000000000000000000000000000000000000000000000000000017318000000000000000000000000000000000000000000000000000000009a14c774000000000000000000000000000000000000000000000000000000000010c8e0000000000000000000000000000000000000000000000000000000000010c8e0000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000003e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164f34308ef0000000000000000000000007ddefa2f027691116d0a7aa6418246622d70b12a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e0c02ff978c82d19e1b9ea17cdfc0812b6245e670000000000000000000000007ddefa2f027691116d0a7aa6418246622d70b12a000000000000000000000000000000000000000000000000000a7818fd4656200000000000000000000000000000000000000000000000000000000000000044a9059cbb0000000000000000000000004b2abbab298ba663639f353d4e6633580274f9f9000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000090e0c02ff978c82d19e1b9ea17cdfc0812b6245e677ddefa2f027691116d0a7aa6418246622d70b12a01000064354e780000000000000000000000000000000000000000000000000000000000000000806a6e8d86414eea697053197754ce50051384cc91807a7157f29a85453740b65ebbadc798b15536e81f6b2f5cd0033e3962bccebac891db85bf3aa7debe2f4c1c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000416ce94354de2c7371c5590a41a39cfaf5256541dd8e49884db39f58315bd5b23d6676664f8ca231ecc22872a484d47368b3b4ccb3389650baf754d1d26f692ad61b00000000000000000000000000000000000000000000000000000000000000
            nonce: '5'
            value: '0'
            callData: >-
              0xa9059cbb0000000000000000000000004b2abbab298ba663639f353d4e6633580274f9f9000000000000000000000000000000000000000000000000002386f26fc10000
        totalDeposits: '247156238894100000'
      properties:
        address:
          type: string
          description: The address of the paymaster
        network:
          type: string
          description: The network where this paymaster was deployed
        totalDeposits:
          type: string
          description: The total amount of deposits in this paymaster
        gasSponsored:
          type: string
          description: The total amount of gas sponsored by this paymaster
        userOpsLength:
          type: string
          description: The total amount of user operations sponsored by this paymaster
        userOps:
          type: array
          description: User Ops sponsored by this paymaster
          items:
            $ref: '#/components/schemas/UserOp'
    UserOp:
      type: object
      example:
        verificationGasLimit: '100000'
        userOpHash: '0x1855a982c9a3e1bf45fb07c6fd16cfc5e5063b064a0e10f4a17e569a48d69655'
        transactionHash: '0x72c89fe01ce7c8b106549eba64380ac54ec3239dffdb4d91fb36d9bb3fc90690'
        target: '0xea763fe334a53444671bad44fe0e033ccae4187a'
        accountTarget:
          factory: null
        success: true
        signature: >-
          0x495ac3568e3e7426380a01ee5c99f814c3d448e57f192308e31e7cafa84ff607117ee27feaa4f313a1896fa07dcc5e27b71690f17522effd6eb1bbfe978724181b
        sender: '0x935fdb2cf5e3afec201ae6793912c85ddc9c67d1'
        accountSender:
          factory: '0x54ec360704b2e9e4e6499a732b78094d6d78e37b'
        revertReason: null
        preVerificationGas: '48832'
        paymasterAndData: >-
          0xdff7fa1077bce740a6a212b3995990682c0ba66d00000000000000000000000000000000000000000000000000000000645439b80000000000000000000000000000000000000000000000000000000000000000105c448713ca78d1ab4c9e81a8ba342383b1efd92cc44dc90e621f485440eb531795cd43c151471a78ff5ecc40ea08e052b84a5f86f0ec744c302edb6143cf741b
        paymaster: '0xdff7fa1077bce740a6a212b3995990682c0ba66d'
        nonce: '1'
        network: optimism-goerli
        maxPriorityFeePerGas: '1500000000'
        maxFeePerGas: '1500000100'
        input: >-
          0x1fad948c00000000000000000000000000000000000000000000000000000000000000400000000000000000000000004337003fcd2f56de3977ccb806383e9161628d0e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000935fdb2cf5e3afec201ae6793912c85ddc9c67d1000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000001f78c00000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000bec00000000000000000000000000000000000000000000000000000000059682f640000000000000000000000000000000000000000000000000000000059682f00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000244b61d27f6000000000000000000000000ea763fe334a53444671bad44fe0e033ccae4187a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001a484bb1e42000000000000000000000000935fdb2cf5e3afec201ae6793912c85ddc9c67d10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000080ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095dff7fa1077bce740a6a212b3995990682c0ba66d00000000000000000000000000000000000000000000000000000000645439b80000000000000000000000000000000000000000000000000000000000000000105c448713ca78d1ab4c9e81a8ba342383b1efd92cc44dc90e621f485440eb531795cd43c151471a78ff5ecc40ea08e052b84a5f86f0ec744c302edb6143cf741b00000000000000000000000000000000000000000000000000000000000000000000000000000000000041495ac3568e3e7426380a01ee5c99f814c3d448e57f192308e31e7cafa84ff607117ee27feaa4f313a1896fa07dcc5e27b71690f17522effd6eb1bbfe978724181b00000000000000000000000000000000000000000000000000000000000000
        gasPrice: '1000000050'
        id: 0x1855a982c9a3e1bf45fb07c6fd16cfc5e5063b064a0e10f4a17e569a48d69655-1
        gasLimit: '398058'
        factory: 0x
        callGasLimit: '128908'
        callData: >-
          0x84bb1e42000000000000000000000000935fdb2cf5e3afec201ae6793912c85ddc9c67d10000000000000000000000000000000000000000000000000000000000000001000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000080ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
        blockTime: '1683240806'
        blockNumber: '8906369'
        beneficiary: '0x4337003fcd2f56de3977ccb806383e9161628d0e'
        baseFeePerGas: '50'
        actualGasUsed: '198575'
        actualGasCost: '297862509928750'
        value: '0'
      properties:
        userOpHash:
          type: string
          description: Hash of the user operation.
        transactionHash:
          type: string
          description: Hash of the transaction that contains the user operation.
        sender:
          type: string
          description: Address of the user that sent the operation.
        target:
          type: string
          description: The target of the user operation
          nullable: true
        accountSender:
          type: object
          description: Object containing meta data of the sender's account
          properties:
            factory:
              type: string
              description: The factory of the senders account
              nullable: true
          nullable: true
        accountTarget:
          type: object
          description: Object containing meta data of the target's account
          properties:
            factory:
              type: string
              description: The factory of the targets account if present
              nullable: true
          nullable: true
        paymaster:
          type: string
          description: The paymaster of the user operation
        nonce:
          type: string
          description: Nonce of the user operation
        actualGasCost:
          type: string
          description: Actual gas cost of the user operation
          nullable: true
        actualGasUsed:
          type: string
          description: Actual gas used of the user operation
          nullable: true
        success:
          type: boolean
          description: Whether the user operation was successful
        revertReason:
          type: string
          description: Hexadecimal reason as to why the user operation reverted
        blockTime:
          type: string
          description: Timestamp of the block in which the user operation was mined
        blockNumber:
          type: string
          description: Block number of the block in which the user operation was mined
        network:
          type: string
          description: Network on which the user operation was mined
        input:
          type: string
          description: Input for the transaction that contains the user operation
        callData:
          type: string
          description: callData in Hex that was sent to the target of the user operation
        beneficiary:
          type: string
          description: Address of the beneficiary of the user operation
          nullable: true
        factory:
          type: string
          description: Factory of the user operation
          nullable: true
        value:
          type: string
          description: Value sent to the target of the user op
          nullable: true
        verificationGasLimit:
          type: string
          description: Gas limit used for the verification of the user operation
          nullable: true
        preVerificationGas:
          type: string
          description: Gas used for the pre-verification of the user operation
          nullable: true
        maxFeePerGas:
          type: string
          description: Max fee per gas of the user operation
          nullable: true
        maxPriorityFeePerGas:
          type: string
          description: Max priority fee per gas of the user operation
          nullable: true
        paymasterAndData:
          type: string
          description: Paymaster and data of the user operation
          nullable: true
        signature:
          type: string
          description: Signature of the user operation
          nullable: true
        id:
          type: string
          description: Internal ID of the user operation, can be ignored.
  securitySchemes:
    BasicAuth:
      type: apiKey
      name: x-api-key
      in: header
      x-amazon-apigateway-authtype: custom
      x-amazon-apigateway-authorizer:
        type: request
        authorizerUri: >-
          arn:aws:apigateway:us-east-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-2:283541367427:function:test-jiffyscan-BasicAuthFunction-mMOdBhL8g93M/invocations
        authorizerResultTtlInSeconds: 300
        identitySource: method.request.header.x-api-key

````