Skip to main content

index/variables/TRADING_TYPES.md

const TRADING_TYPES: object

Trading type constants for buy/sell operations

Type Declaration​

NameType
EXACT"exact"
NATIVE"native"

Example​

import { TRADING_TYPES } from '@gala-chain/launchpad-sdk';

await sdk.calculateBuyAmount({
tokenName: 'anime',
amount: '10',
type: TRADING_TYPES.NATIVE
});