Home
Kraken
Spot Rest Earn Strategy Structure
Spot Rest Earn Strategy Structure
EarnStrategy schema from Kraken Spot REST API
Type: object
Properties: 12
Cryptocurrency Exchange Trading Market Data Spot Trading Futures Derivatives Staking Earn NFT WebSocket FIX Custody OTC Prime Brokerage Embed OAuth Public APIs
EarnStrategy is a JSON Structure definition published by Kraken, describing 12 properties. It conforms to the https://json-structure.org/json-structure/v0/schema meta-schema.
Properties
id
asset
lock_type
apr_estimate
user_min_allocation
user_cap
allocation_fee
deallocation_fee
auto_compound
yield_source
can_allocate
can_deallocate
Meta-schema: https://json-structure.org/json-structure/v0/schema
JSON Structure
{
"$schema": "https://json-structure.org/json-structure/v0/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-structure/spot-rest-earn-strategy-structure.json",
"name": "EarnStrategy",
"type": "object",
"description": "EarnStrategy schema from Kraken Spot REST API",
"properties": {
"id": {
"type": "string",
"examples": [
"OQCLML-BW3P3-BUCMWZ"
]
},
"asset": {
"type": "string",
"examples": [
"XBT"
]
},
"lock_type": {
"type": "object",
"name": "Inline",
"properties": {
"type": {
"type": "string",
"examples": [
"buy"
]
},
"bonding_period": {
"type": "int64",
"examples": [
1
]
},
"unbonding_period": {
"type": "int64",
"examples": [
1
]
},
"payout_frequency": {
"type": "int64",
"examples": [
1
]
}
},
"examples": [
{}
]
},
"apr_estimate": {
"type": "object",
"name": "Inline",
"properties": {
"low": {
"type": "string",
"examples": [
"string"
]
},
"high": {
"type": "string",
"examples": [
"string"
]
}
},
"examples": [
{}
]
},
"user_min_allocation": {
"type": "string",
"examples": [
"string"
]
},
"user_cap": {
"type": "string",
"examples": [
"string"
]
},
"allocation_fee": {
"type": "string",
"examples": [
"string"
]
},
"deallocation_fee": {
"type": "string",
"examples": [
"string"
]
},
"auto_compound": {
"type": "object",
"name": "Inline",
"properties": {
"type": {
"type": "string",
"examples": [
"buy"
]
},
"default": {
"type": "boolean",
"examples": [
true
]
}
},
"examples": [
{}
]
},
"yield_source": {
"type": "object",
"name": "Inline",
"properties": {
"type": {
"type": "string",
"examples": [
"buy"
]
}
},
"examples": [
{}
]
},
"can_allocate": {
"type": "boolean",
"examples": [
true
]
},
"can_deallocate": {
"type": "boolean",
"examples": [
true
]
}
}
}