GET
/
v2
/
farming
/
tx
/
prepare
curl --request GET \
  --url https://api.getnimbus.io/v2/farming/tx/prepare
{
  "data": [
    {
      "field": "type",
      "type": "string"
    }
  ]
}

Query Parameters

chain
enum<string>
required

The blockchain network

Available options:
SUI
protocol
enum<string>
required

The protocol name

Available options:
alpha-fi,
navi,
scallop,
suilend,
native-staking
type
enum<string>
required

The type of DEFI actions (type chosen properly with protocol provided)

Available options:
LENDING,
BORROW,
REPAY,
ADD_LP,
REMOVE_LP,
STAKING,
UNSTAKING,
LENDING_WITHDRAW

Response

200
application/json
Transaction fields prepared successfully
data
object[]