---
title: "Post Stake Intent"
method: POST
path: "/v1/cosmos/{network}/stake-intents"
tags: ["Cosmos"]
---

# Post Stake Intent

`POST /v1/cosmos/{network}/stake-intents`

Blockdaemon reserves the right to free any allocated resources if the transaction is not confirmed in time.

## Request body

- NewStakeIntentCosmos — Individual cosmos stake
  - `amount` string, required — Denomination of the cryptocurrency Cosmos.
  - `delegator_address` string, bech32, required — Public Key of an asymmetric key-pair.
  - `public_key` CosmosPublicKey — Cosmos public key description
    - `value` string, base64, required — Public Key of an asymmetric key-pair.
    - `type` 'ed25519' | 'secp256k1', required — Cosmos public key types
  - `plan_id` string — This feature enables you to stake to validators from the specified plan(s). When no plan id is specified, validators across all plans that match the API route will be available for staking. If it is a shared plan, you can to stake to validators on a shared node from the specified plan.

## Response `200`

Created

- CosmosStakeIntentResponse
  - `stake_intent_id` string, base58, required — Unique idenifier for a group of stakes.
  - `customer_id` string, required — Unique identifier for a customer
  - `plan_id` string — This feature enables you to stake to validators from the specified plan(s). When no plan id is specified, validators across all plans that match the API route will be available for staking. If it is a shared plan, you can to stake to validators on a shared node from the specified plan.
  - `protocol` 'cosmos', required — Cosmos protocol
  - `network` 'mainnet' | 'testnet', required — Cosmos network
  - `cosmos` StakeIntentCosmos — Cosmos Stake Intent response
    - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
    - `delegator_address` string, bech32, required — Public Key of an asymmetric key-pair.
    - `validator_address` string, bech32, required — Public Key of an asymmetric key-pair.
    - `amount` string, required — Denomination of the cryptocurrency Cosmos.
    - `hex_transaction` ProcessedComosTransaction — Returns back the transactionHash and unsignedTxHex for signing purposes
      - `transaction_hash` string — The SHA-256 hash of the signable transaction in hexadecimal format.
      - `unsigned_transaction_hex` string — The original unsigned transaction encoded in hexadecimal format.

## Other responses

- `400` — Invalid request.
- `401` — Unauthorized
- `500` — Internal server error
- `503` — Insufficient validators available to process Stake Intent request

---

[API](https://skmtc.net/blockdaemon/apis/staking-api.md) · [All operations](https://skmtc.net/blockdaemon/apis/staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockdaemon/staking-api/versions/f94e296a08a3/schema)
