---
title: "UpdateParams defines a (governance) operation for updating the module parameters. The authority defaults to the x/gov module account."
method: POST
path: "/poktroll.proof.Msg/UpdateParams"
tags: ["Msg"]
---

# UpdateParams defines a (governance) operation for updating the module parameters. The authority defaults to the x/gov module account.

`POST /poktroll.proof.Msg/UpdateParams`

## Request body

- object — MsgUpdateParams is the Msg/UpdateParams request type to update all params at once.
  - `authority` string — authority is the address that controls the module (defaults to x/gov unless overwritten).
  - `params` object — Params defines the parameters for the module.
    - `min_relay_difficulty_bits` string, uint64 — min_relay_difficulty_bits is the minimum difficulty in bits for a relay to be included in a Merkle proof.
    - `proof_request_probability` number, float — proof_request_probability is the probability of a session requiring a proof if it's cost (i.e. compute unit consumption) is below the ProofRequirementThreshold.
    - `proof_requirement_threshold` string, uint64 — proof_requirement_threshold is the session cost (i.e. compute unit consumption) threshold which asserts that a session MUST have a corresponding proof when its cost is equal to or above the threshold. This is in contrast to the this requirement being determined probabilistically via ProofRequestProbability. TODO_MAINNET: Consider renaming this to `proof_requirement_threshold_compute_units`.
    - `proof_missing_penalty` object — proof_missing_penalty is the number of tokens (uPOKT) which should be slashed from a supplier when a proof is required (either via proof_requirement_threshold or proof_missing_penalty) but is not provided.
      - `denom` string
      - `amount` string

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2024-02-23** `54713b4a9d25` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/poktroll.proof.Msg/UpdateParams/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/ca7e84576c8e/schema)
