POST
/
v0
/
farm
/
RAY
/
stake
RAY Stake
curl --request POST \
  --url https://raydium.dial.to/api/v0/farm/RAY/stake \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "transaction",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"
}

Query Parameters

percentage
integer
default:10

The percentage of RAY to stake

Required range: 0 <= x <= 100
Example:

10

amount
number

The amount of RAY to stake. Human readable value, e.g. 0.1 RAY

Required range: x >= 0

Body

application/json

Response

200 - application/json

OK

The response is of type object.