index/variables/TRADING_TYPES.md
constTRADING_TYPES:object
Trading type constants for buy/sell operations
Type Declaration
| Name | Type |
|---|---|
EXACT | "exact" |
NATIVE | "native" |
Example
import { TRADING_TYPES } from '@gala-chain/launchpad-sdk';
await sdk.calculateBuyAmount({
tokenName: 'anime',
amount: '10',
type: TRADING_TYPES.NATIVE
});