---
title: "POST /pocket.migration.Msg/ClaimMorseApplication"
method: POST
path: "/pocket.migration.Msg/ClaimMorseApplication"
tags: ["Msg"]
---

# POST /pocket.migration.Msg/ClaimMorseApplication

`POST /pocket.migration.Msg/ClaimMorseApplication`

## Request body

- PocketMigrationMsgClaimMorseApplication — - Execute a claim (one-time minting of tokens on Shannon) of total tokens owned by a Morse account - Mint claimed tokens to the given Shannon account - Stake that Shannon account as an application for the given service_config and same stake amount Next free index: 7
  - `morse_public_key` string, byte — The ed25519 public key of the morse account with morse_src_address.
  - `morse_signature` string, byte
  - `service_config` PocketSharedApplicationServiceConfig
    - `service_id` string
  - `shannon_dest_address` string — The bech32-encoded address of the Shannon account to which the claimed tokens will be minted and from which the application will be staked.
  - `shannon_signing_address` string — The bech32-encoded address of the Shannon account which is signing for this message. This account is liable for any fees incurred by violating the constraints of Morse account/actor claim message fee waiving; the tx contains ONE OR MORE Morse account/actor claim messages AND has EXACTLY ONE signer.

## Response `200`

A successful response.

- PocketMigrationMsgClaimMorseApplicationResponse — MsgClaimMorseApplicationResponse is returned from MsgClaimMorseApplication. - Indicates the morse_src_address of the claimed account - Reports the unstaked balance claimed, application stake, and commit height - Returns the staked application Next free index: 6
  - `application` PocketApplicationApplication
    - `address` string
    - `delegatee_gateway_addresses` string[] — TODO_MAINNET_MIGRATION(@bryanchriswhite): Rename `delegatee_gateway_addresses` to `gateway_addresses_delegated_to` for better clarity and consistency. - Update all related configs, comments, variables, and function names throughout the codebase to reflect this change. - This field is a non-nullable list of Bech32-encoded delegatee Gateway addresses.
    - `pending_transfer` PocketApplicationPendingApplicationTransfer — PendingTransfer is used to store the details of a pending transfer. It is only intended to be used inside of an Application object.
      - `destination_address` string
      - `session_end_height` string, uint64
    - `pending_undelegations` object — Mapping of session end heights to gateways being undelegated from - Key: Height of the last block of the session when the undelegation transaction was committed - Value: List of gateways being undelegated from at that session end height TODO_DOCUMENT(@red-0ne): Document the complete flow and rationale behind this mapping. - Ensure the documentation explains why tracking pending undelegations by session end height is necessary. - See: https://github.com/pokt-network/poktroll/issues/476#issuecomment-2052639906 for context and examples.
    - `service_configs` PocketSharedApplicationServiceConfig[]
      - `service_id` string
    - `stake` CosmosBaseV1beta1Coin — Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
      - `amount` string
      - `denom` string
    - `unstake_session_end_height` string, uint64
  - `claimedApplicationStake` CosmosBaseV1beta1Coin — Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
    - `amount` string
    - `denom` string
  - `claimed_balance` CosmosBaseV1beta1Coin — Coin defines a token with a denomination and an amount. NOTE: The amount field is an Int which implements the custom method signatures required by gogoproto.
    - `amount` string
    - `denom` string
  - `morse_src_address` string — The hex-encoded address of the Morse account whose balance will be claimed.
  - `session_end_height` string, int64 — The session end height (on Shannon) in which the claim was committed (i.e. claimed).

## 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.migration.Msg/ClaimMorseApplication/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.dev/pokt-network/apis/http-api-console/revisions/671fab54b729?raw)
