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

# getFeeQuotes

> Learn how to use the getFeeQuotes JSON-RPC method.

## Understanding `getFeeQuotes`

* `getFeeQuotes` returns an array of UserOperation objects and hashes derived from a standard transaction object. Each returned object corresponds to a specific gas Payment method. It takes:
  * Account config object:
    * `name` - string.
    * `version` - string.
    * `ownerAddress` - string.
    * `biconomyApiKey` - (optional), string. It should only be used if you'd like to use a Biconomy Paymaster.
  * An array of standard transaction objects.

***

## Query example

```json JSON theme={null}
{
  "jsonrpc": "2.0",
  "id": "f216c7ea-3986-4784-954f-e54320c75b40",
  "chainId": 80001,
  "method": "particle_aa_getFeeQuotes",
  "params": [
    // account config
    {
      "name": "BICONOMY",
      "version": "1.0.0",
      "ownerAddress": "0xA60123a1056e9D38B64c4993615F27cCe9A9E8D5",
      "biconomyApiKey": "LdF-gC43H.6f0ec763-fde5-4d5e-89f6-1b9ef12ba4a4" // optional
    },
    // txs
    [
      {
        "to": "0x329a7f8b91Ce7479035cb1B5D62AB41845830Ce8",
        "value": "0x1",
        "data": "0x"
      }
    ]
  ]
}
```


## OpenAPI

````yaml openapi-aa POST /#particle_aa_getFeeQuotes
openapi: 3.0.0
info:
  title: Particle Network Account Abstraction RPC
  version: 1.0.0
servers:
  - url: https://rpc.particle.network/evm-chain
security:
  - BasicAuth: []
paths:
  /#particle_aa_getFeeQuotes:
    post:
      summary: getFeeQuotes
      operationId: getFeeQuotes
      requestBody:
        description: Request to retrieve fee quotes for operations.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetFeeQuotesRequest'
      responses:
        '200':
          description: Successful response with fee quotes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFeeQuotesResponse'
components:
  schemas:
    GetFeeQuotesRequest:
      allOf:
        - $ref: '#/components/schemas/RPCRequest'
        - type: object
          properties:
            method:
              enum:
                - particle_aa_getFeeQuotes
            params:
              type: array
              description: Parameters for retrieving fee quotes.
              items:
                oneOf:
                  - type: string
                  - type: array
                    items:
                      type: object
                      properties:
                        to:
                          type: string
                          description: Recipient address.
                          example: 0xRecipientAddress
                        value:
                          type: string
                          description: Amount value.
                          example: '1000000000000000000'
                        data:
                          type: string
                          description: Transaction data.
                          example: 0xTransactionData
    GetFeeQuotesResponse:
      allOf:
        - $ref: '#/components/schemas/RPCResponse'
        - type: object
          properties:
            result:
              type: object
              properties:
                verifyingPaymasterGasless:
                  type: object
                  description: Gasless fee quote.
                verifyingPaymasterNative:
                  type: object
                  description: Native token fee quote.
                tokenPaymaster:
                  type: object
                  description: Token fee quote.
    RPCRequest:
      type: object
      required:
        - jsonrpc
        - id
        - method
        - params
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        method:
          type: string
          description: API method being called.
        params:
          type: array
          description: Parameters for the API method call.
    RPCResponse:
      type: object
      required:
        - jsonrpc
        - id
        - result
      properties:
        jsonrpc:
          type: string
          default: '2.0'
          description: Version of the JSON-RPC protocol, should be 2.0.
          example: '2.0'
        id:
          type: integer
          default: 1
          description: The request identifier.
          example: 1
        result:
          anyOf:
            - $ref: '#/components/schemas/AnyValue'
        chainId:
          type: integer
          description: The blockchain chain ID.
          example: 80001
    AnyValue:
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
        - type: object
        - type: array
          items: {}
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic

````