@hiero-ledger/sdk
    Preparing search index...

    Class FeeEstimateQuery

    Request object for users, SDKs, and tools to query expected fees without submitting transactions to the network.

    Communicates with the mirror node REST API (POST /api/v1/network/fees), not the consensus node gRPC API, through the client's shared HTTP transport. Per HIP-1261 this class is modeled after MirrorNodeContractQuery (a plain class) rather than the gRPC Query base, since the gRPC features (node selection, query payment, transaction-id signing) do not apply. Retry, backoff and timeouts follow the client's MirrorNodeHttpRetryPolicy (see Client.setMirrorNodeHttpConfig).

    Per HIP-1261, transactions are automatically frozen if not already frozen when execute() is called.

    Index

    Constructors

    Accessors

    Methods

    • Parameters

      • client: Client<Channel, MirrorChannel>

      Returns void

    • Parameters

      • client: Client<Channel, MirrorChannel>
      • OptionalrequestTimeout: number

        total timeout for the whole operation in milliseconds, every chunk and every retry included; defaults to the retry policy's totalDeadline, which in turn defaults to client.requestTimeout

      Returns Promise<FeeEstimateResponse>

    • Set the high-volume throttle utilization in basis points (0–10000, where 10000 = 100%). A value of 0 (the default) disables high-volume pricing simulation. Maps to the high_volume_throttle query parameter on the mirror node REST API.

      Parameters

      • throttle: number

      Returns FeeEstimateQuery