> ## 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 Address Aggregate Data

> Returns an array of erc20 transfers that the address has made



## OpenAPI

````yaml get /getAddressAggregateData
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:
  /getAddressAggregateData:
    get:
      tags:
        - Account
      description: Returns an array of erc20 transfers that the address has made
      parameters:
        - name: address
          in: query
          required: true
          schema:
            type: string
        - name: network
          in: query
          schema:
            type: string
        - name: filter
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                title: Data
                description: An array of erc20 transfers that the address has made
                type: object
                properties:
                  userOps:
                    type: array
                    title: UserOps
                    description: >-
                      An array of user operations that the address was involved
                      in
                    items:
                      $ref: '#/components/schemas/UserOp'
                  transactions:
                    type: array
                    title: Transactions
                    description: >-
                      An array of internal + external transactions that the
                      address has made
                    items:
                      $ref: '#/components/schemas/Transaction'
                  erc20Transfers:
                    title: ERC20Transfers
                    description: An array of erc20 transfers that the address has made
                    type: array
                    items:
                      $ref: '#/components/schemas/ERC20Transfer'
                  erc721Transfers:
                    type: array
                    title: NFTTransfers
                    description: >-
                      An array of erc721+erc1155 transfers that the address has
                      made
                    items:
                      $ref: '#/components/schemas/NFTTransfer'
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '403':
          description: Invalid API Key
        '502':
          description: Bad Gateway
        default:
          description: Success
      security:
        - BasicAuth: []
components:
  schemas:
    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.
    Transaction:
      type: object
      description: Transaction Object, could be internal or external
      properties:
        block_signed_at:
          type: string
          description: Block signed at
        block_height:
          type: number
          description: Block height
        tx_hash:
          type: string
          description: Hash of the transaction
        tx_offset:
          type: number
          description: Offset of the transaction
        successful:
          type: boolean
          description: If the transaction was successful
        from_address:
          type: string
          description: Address of the sender
        from_address_label:
          type: string
          description: Label of the sender
        to_address:
          type: string
          description: Address of the receiver
        to_address_label:
          type: string
          description: Label of the receiver
        value:
          type: string
          description: Value of the transaction
        value_quote:
          type: number
          description: Quote value of the transaction
        pretty_value_quote:
          type: string
          description: Pretty quote value of the transaction
        gas_offered:
          type: number
          description: Gas offered
        gas_spent:
          type: number
          description: Gas spent
        gas_price:
          type: number
          description: Gas price
        fees_paid:
          type: string
          description: Fees paid
        gas_quote:
          type: number
          description: Gas quote
        pretty_gas_quote:
          type: string
          description: Pretty gas quote
        gas_quote_rate:
          type: number
          description: Gas quote rate
    ERC20Transfer:
      type: object
      description: ERC20 transfer
      required:
        - from
        - to
        - value
        - hash
      properties:
        from:
          type: string
          description: Address of the sender
        to:
          type: string
          description: Address of the receiver
        value:
          type: number
          description: Amount of tokens transferred
        hash:
          type: string
          description: Hash of the transaction
        blockNum:
          type: number
          description: Block number of the transaction in hex
        asset:
          type: string
          description: Symbol of the token
        catergory:
          type: string
          description: Category of the transaction erc20 vs erc721
    NFTTransfer:
      type: object
      description: ERC20 transfer
      required:
        - from
        - to
        - hash
        - tokenId
      properties:
        from:
          type: string
          description: Address of the sender
        to:
          type: string
          description: Address of the receiver
        value:
          type: number
          description: Amount of tokens transferred (erc20)
        tokenId:
          type: string
          description: Token id of the nft
        hash:
          type: string
          description: Hash of the transaction
        blockNum:
          type: number
          description: Block number of the transaction in hex
        asset:
          type: string
          description: Symbol of the token/nft
        catergory:
          type: string
          description: Category of the transaction erc20 vs erc721
        erc721TokenId:
          type: string
          description: Token id of the nft
        erc721Metadata:
          type: string
          description: metadata of the nft
        rawContract:
          type: object
          description: raw contract data
          properties:
            address:
              type: string
              description: Address of the contract
  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

````