haedal-hasui

Installation
SKILL.md

Haedal haSUI

Haedal Protocol is a DeFi ecosystem on the SUI blockchain. haSUI is its liquid staking token (LST): stake native SUI to receive haSUI, earn staking rewards, and optionally choose validators. This skill calls the Haedal Skills API to perform stake, withdraw, instant withdraw, and claim operations via curl — no custom scripts required.

Call the haSUI HTTP APIs directly with curl.

All numeric parameters are human‑readable amounts: pass amount and other quantity fields as human‑readable values, without multiplying by decimals. For example, to stake 20 tokens, simply send "amount":"20".

Validator when staking

Only the stake method requires a validator (validator node node_id):

  • Passing 0x0 means "use the default validator".
  • If the user does not provide a validator: show a reference list of validators and let the user choose. The user can respond with index 1–5 or the validator name. Map this to the corresponding node_id in the table and include it in the request.
  • The reference list is defined in references/validators.md (mapping between name and node_id, indexed 1–5).

Typical flow: the user says "stake hasui" without specifying a validator → present 5 reference validators (index + name) → the user replies with "1" or "Ankr", etc. → use the corresponding node_id to call stake.

Claiming rewards and NFTObj

Related skills
Installs
8
First Seen
Mar 13, 2026