cURL
curl --request POST \ --url https://raydium.dial.to/api/v0/farm/RAY/unstake \ --header 'Content-Type: application/json' \ --data '{ "type": "transaction", "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176" }'
{ "type": "transaction", "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB" }
Generate a transaction for unstaking RAY.
The percentage of RAY to unstake
0 <= x <= 100
10
The amount of RAY to unstake. Human readable value, e.g. 0.1 RAY
x >= 0
OK
The response is of type object.
object
Was this page helpful?