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

# Estimate Transfer Fee

> Estimate the fee for a transfer without signing or broadcasting. Accepts
the same core parameters as the transfer endpoint. Fees are advisory and
subject to network conditions.

**EVM:** Returns `gasLimit`, `maxFeePerGas`, `maxPriorityFeePerGas`, and
`transactionType` alongside the `estimatedFee` in the native currency.

**Solana:** Returns only `estimatedFee` in SOL.

The response may include a `warning` field if estimation used fallback
heuristics (e.g. when the RPC node could not simulate the transaction).




## OpenAPI

````yaml /openapi.yaml post /v1/wallets/{walletId}/estimate-fee
openapi: 3.0.3
info:
  title: Para REST API
  version: '1.0'
  description: Server-to-server wallet creation and signing over HTTP
servers:
  - url: https://api.beta.getpara.com
    description: Beta
  - url: https://api.getpara.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/wallets/{walletId}/estimate-fee:
    post:
      tags:
        - Signing
      summary: Estimate Transfer Fee
      description: |
        Estimate the fee for a transfer without signing or broadcasting. Accepts
        the same core parameters as the transfer endpoint. Fees are advisory and
        subject to network conditions.

        **EVM:** Returns `gasLimit`, `maxFeePerGas`, `maxPriorityFeePerGas`, and
        `transactionType` alongside the `estimatedFee` in the native currency.

        **Solana:** Returns only `estimatedFee` in SOL.

        The response may include a `warning` field if estimation used fallback
        heuristics (e.g. when the RPC node could not simulate the transaction).
      operationId: estimateFee
      parameters:
        - $ref: '#/components/parameters/WalletId'
        - $ref: '#/components/parameters/RequestId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EstimateFeeRequest'
      responses:
        '200':
          description: Fee estimate
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EstimateFeeResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  parameters:
    WalletId:
      name: walletId
      in: path
      required: true
      description: Wallet ID
      schema:
        type: string
        example: 0a1b2c3d-4e5f-6789-abcd-ef0123456789
    RequestId:
      name: X-Request-Id
      in: header
      required: false
      description: UUID for request tracing. Para returns one if omitted.
      schema:
        type: string
        format: uuid
  schemas:
    EstimateFeeRequest:
      type: object
      required:
        - to
        - value
      properties:
        to:
          type: string
          description: Destination address
          example: 0x742d35Cc6634C0532925a3b844Bc9e7595f...
        value:
          type: string
          description: Transfer amount in smallest unit (wei for ETH, lamports for SOL)
          example: '1000000000000000'
        chainId:
          oneOf:
            - type: string
            - type: integer
          description: Chain ID. Required for EVM wallets, ignored for Solana.
          example: '1'
        tokenAddress:
          type: string
          description: >-
            Token contract address. EVM: ERC-20 contract. Solana: SPL mint
            address.
        network:
          type: string
          enum:
            - SOLANA
            - SOLANA_DEVNET
          description: >-
            Solana network. In production, defaults to SOLANA. In beta, only
            SOLANA_DEVNET is allowed (and is the default).
    EstimateFeeResponse:
      type: object
      required:
        - estimatedFee
        - transferAmount
        - currency
      properties:
        estimatedFee:
          type: string
          description: >-
            Estimated fee in standard units of the native currency (e.g. ETH,
            SOL)
          example: '0.000756'
        transferAmount:
          type: string
          description: Transfer amount in standard units of the native currency
          example: '0.001'
        currency:
          type: string
          description: Native currency symbol (e.g. ETH, SOL)
          example: ETH
        gasLimit:
          type: string
          description: Estimated gas limit. EVM only.
          example: '25200'
        maxFeePerGas:
          type: string
          description: EIP-1559 max fee per gas (in wei). EVM only.
          example: '30000000000'
        maxPriorityFeePerGas:
          type: string
          description: EIP-1559 max priority fee per gas (in wei). EVM only.
          example: '2000000000'
        gasPrice:
          type: string
          description: Legacy gas price (in wei). EVM legacy transactions only.
          example: '30000000000'
        warning:
          type: string
          description: Present if estimation used fallback heuristics
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Machine-readable error code for programmatic handling
          example: INVALID_REQUEST
        message:
          type: string
          description: Human-readable error message
        transactionId:
          type: string
          format: uuid
          description: >-
            Persisted transaction record id. Present only when a broadcast
            request failed after a history row was created.
        failureStage:
          type: string
          enum:
            - mpc_sign
            - signature_apply
            - signer_verify
            - broadcast
            - monitor_timeout
          description: >-
            Which stage of the broadcast lifecycle failed. Present on persisted
            broadcast failures.
        failureCode:
          type: string
          description: >-
            Machine-readable failure reason from the underlying broadcast helper
            (e.g. `INSUFFICIENT_NATIVE_BALANCE`, `EXECUTION_FAILED`). Present on
            broadcast-stage failures.
        signedTransaction:
          type: string
          description: >-
            Signed transaction bytes. Present on broadcast failures that happen
            after signing completed.
      additionalProperties: true
      description: >
        All error responses include `code` and `message` fields. Some errors
        include extra fields (e.g. `walletId` on 409 Conflict).

        Broadcast failures that occur after a persisted transaction row is
        created include `transactionId`,

        `failureStage`, and (on broadcast-stage failures) `failureCode`, and
        also set the `x-transaction-id`

        response header. If signing completed before the failure,
        `signedTransaction` is included so callers

        can inspect or retry the already-signed bytes.


        Common error codes: `INVALID_REQUEST`, `UNAUTHORIZED`, `FORBIDDEN`,
        `NOT_FOUND`, `CONFLICT`, `WALLET_ALREADY_EXISTS`,
        `WALLET_ALREADY_CLAIMED`, `RATE_LIMITED`, `INTERNAL_ERROR`.
  responses:
    BadRequest:
      description: Invalid request body
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: INVALID_REQUEST
            message: type must be one of EVM, SOLANA, COSMOS, STELLAR
    Unauthorized:
      description: API key not provided
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: UNAUTHORIZED
            message: secret api key not provided
    NotFound:
      description: Wallet not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: NOT_FOUND
            message: wallet not found
    TooManyRequests:
      description: Rate limit exceeded
      headers:
        Retry-After:
          schema:
            type: integer
          description: Seconds until the rate limit window resets
          example: 60
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: RATE_LIMITED
            message: Rate limit exceeded, try again shortly.
    ServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: INTERNAL_ERROR
            message: Internal Server Error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your partner secret key (server-side only)
      x-default: sk_your_secret_key_here

````