---
title: "Set distribution of your reward amongst pool members"
method: POST
path: "/set-coinbase"
tags: ["POST"]
---

# Set distribution of your reward amongst pool members

`POST /set-coinbase`

# Notes
* Can only be updated once every `block.config.opow.coinbase_update_period` blocks

* Header `X-Api-Key` is required. Use `/request-api-key` endpoint. 
  
  * If `<api_key>` is invalid, a `401` error will be returned
  
* `<coinbase>` is a map of `<player_id>` to `float`, where the floats must sum to at most `1.0`

## Headers

- `X-Api-Key` string

## Request body

- SetCoinbaseRequest
  - `coinbase` number, double

## Response `200`

Success

- SetCoinbaseResponse
  - `ok` boolean

## Changes

- **2025-02-13** `f379c149170e` — 1 breaking
  - the `coinbase` request property type changed from `object` to `number`, and format from no format to `double`
- **2025-01-16** `5bd339a9f52f` — 1 info
  - endpoint added
- **2024-05-31** `5523952546dd` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/changes/set-coinbase/post.md)

---

[API](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api.md) · [All operations](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tig-foundation/the-innovation-game-api/revisions/2af9c398c1d4/schema)
