amount | string | Amount to spend or buy |
expectedAmount | string | Expected amount (required for trading operations) |
maxAcceptableReverseBondingCurveFee? | string | Optional base reverse bonding curve fee from calculateBuyAmount (GALA) - use result.reverseBondingCurveFee |
maxAcceptableReverseBondingCurveFeeSlippageFactor? | number | Optional slippage tolerance factor for reverse bonding curve fee (decimal, e.g., 0.01 for 1%) - applied to maxAcceptableReverseBondingCurveFee |
privateKey? | string | Optional private key override for this operation (format: '0x' + 64 hex characters) |
slippageToleranceFactor? | number | Optional slippage tolerance factor for expected amount (decimal, e.g., 0.05 for 5%) |
tokenName | string | Token name |
type | "native" | "exact" | Buy type |