Skip to main content
POST
Create a staking transaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

network
enum<string>
required

Story network:

  • `mainnet` — Story mainnet.
  • `Aeneid` — Aeneid testnet.
Available options:
mainnet,
aeneid

Body

application/json
amount
number<double>
required

Amount to stake in IP

Example:

"1024 (minimum)"

delegatorAddress
string
required

Delegator EVM Story account address

Example:

"0x40A27d5E24C44A5c4a9976b4a46a5FAE74a06e07"

stakingPeriod
enum<string>
required

Staking period. Flexible, SHORT - 90 days, MEDIUM - 360 days, LONG - 540 days

Available options:
FLEXIBLE,
SHORT,
MEDIUM,
LONG
Example:

"FLEXIBLE"

gas
object | null

Computational effort required to execute the transaction, measured in gas units.

Response

OK

Standard API success response envelope wrapping the result payload.

error
object | null
required

Error object. Always null on successful responses.

result
object
required

Response payload containing the requested data.