POST
/
v2
/
farming
/
tx
/
payload
curl --request POST \
  --url https://api.getnimbus.io/v2/farming/tx/payload \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "STAKING",
  "chain": "SUI",
  "protocol": "alpha-fi",
  "poolId": "<string>",
  "sender": "<string>",
  "amount": "<string>",
  "isStakeAndDeposit": true,
  "isSinglePool": true,
  "tokenAddress": "<string>"
}'
{
  "data": "<string>"
}

Body

application/json

Response

200
application/json

Transaction payload generated successfully

The response is of type object.