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

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

`POST /pocket.shared.Msg/UpdateParams`

## Request body

- PocketSharedMsgUpdateParams — MsgUpdateParams is the Msg/UpdateParams request type.
  - `authority` string — authority is the address that controls the module (defaults to x/gov unless overwritten).
  - `params` PocketSharedParams — Params defines the parameters for the module.
    - `application_unbonding_period_sessions` string, uint64 — application_unbonding_period_sessions is the number of sessions that an application must wait after unstaking before their staked assets are moved to their account balance. Onchain business logic requires, and ensures, that the corresponding block count of the application unbonding period will exceed the end of its corresponding proof window close height.
    - `claim_window_close_offset_blocks` string, uint64 — claim_window_close_offset_blocks is the number of blocks after the claim window open height, at which the claim window closes.
    - `claim_window_open_offset_blocks` string, uint64 — claim_window_open_offset_blocks is the number of blocks after the session grace period height, at which the claim window opens.
    - `compute_units_to_tokens_multiplier` string, uint64 — The amount of upokt that a compute unit should translate to when settling a session. DEV_NOTE: This used to be under x/tokenomics but has been moved here to avoid cyclic dependencies.
    - `gateway_unbonding_period_sessions` string, uint64 — gateway_unbonding_period_sessions is the number of sessions that a gateway must wait after unstaking before their staked assets are moved to its account balance.
    - `grace_period_end_offset_blocks` string, uint64 — grace_period_end_offset_blocks is the number of blocks, after the session end height, during which the supplier can still service payable relays. Suppliers will need to recreate a claim for the previous session (if already created) to get paid for the additional relays.
    - `num_blocks_per_session` string, uint64 — num_blocks_per_session is the number of blocks between the session start & end heights.
    - `proof_window_close_offset_blocks` string, uint64 — proof_window_close_offset_blocks is the number of blocks after the proof window open height, at which the proof window closes.
    - `proof_window_open_offset_blocks` string, uint64 — proof_window_open_offset_blocks is the number of blocks after the claim window close height, at which the proof window opens.
    - `supplier_unbonding_period_sessions` string, uint64 — supplier_unbonding_period_sessions is the number of sessions that a supplier must wait after unstaking before their staked assets are moved to their account balance. Onchain business logic requires, and ensures, that the corresponding block count of the unbonding period will exceed the end of any active claim & proof lifecycles.

## Response `200`

A successful response.

- PocketSharedMsgUpdateParamsResponse — MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-03-27** `4f349536c8f3` — 1 info
  - endpoint added
- **2023-11-01** `3f51f9b9a127` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/pocket.shared.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/4f349536c8f3/schema)
