Skip to main content
Coming soon – The Earn SDK is in development.

EarnSDK

Setup

Pools

Estimation

Deposits

Withdrawals

Types

  • EarnWithdrawalType: INSTANT | STANDARD — Most protocols: instant is 0% fee. Everstake (HYSP): STANDARD = 0% fee, ~3 days; INSTANT = 0.5% fee.
  • ChainType: BASE, ETHEREUM, ARBITRUM, BITCOIN, POLYGON, OPTIMISM, BSC, etc.
  • DepositEstimation: totalCostUsd?, bridgeFeeUsd?, gasEstimateUsd?
  • WithdrawEstimation: withdrawAmount?, receiveAmount?, feeUsd?